-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rt.sh crashes with 'Permission denied' error while creating run directory on Gaea #2198
Comments
Hi @DusanJovic-NOAA, users outside of the epic group on Gaea will need to update the paths referring to /gpfs/f5/epic/ in order to run WM RTs. A permissions update to the directories unfortunately likely wouldn't work as I've noticed something on Gaea's back-end has regularly been resetting directories to their more restricted defaults after the C5/F5 transition. |
might need to add one more global variable to set a f5 scratch project specific path name: default epic. |
Maybe something like this: diff --git a/tests/rt.sh b/tests/rt.sh
index fd6464c6..823bca5a 100755
--- a/tests/rt.sh
+++ b/tests/rt.sh
@@ -674,8 +674,9 @@ elif [[ $MACHINE_ID = gaea ]]; then
QUEUE=normal
COMPILE_QUEUE=normal
PARTITION=c5
- STMP=/gpfs/f5/epic/scratch
- PTMP=/gpfs/f5/epic/scratch
+ dprefix=${dprefix:-/gpfs/f5/$ACCNR/scratch/$USER}
+ STMP=${STMP:-$dprefix/RT_BASELINE}
+ PTMP=${PTMP:-$dprefix/RT_RUNDIRS}
SCHEDULER=slurm
Similar to how it's done on Jet. |
I do something very similar. but I define |
Description
When I run regression test on Gaea rt.sh crashes with 'Permission denied' error while creating run directory. Script tried to create directory under /gpfs/f5/epic/scratch, and I do not have permission to write to that directory.
To Reproduce:
Additional context
Output
The text was updated successfully, but these errors were encountered: