Changeset 1508
- Timestamp:
- 12/09/19 15:49:14 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_jeanzay.ksh
r1507 r1508 194 194 if [ X${config_UserChoices_DataProject} = X ] || [ X${config_UserChoices_DataProject} = DEFAULT ]; then 195 195 # The variable DataProject is not set in in section UserChoices in config.card or it is set to DEFAULT 196 # Default option: Change IDRPROJ according to the project used for submission 197 198 # jg following line does not work in a submitted job: 199 eval $(idrenv -d ${PROJECT}) 196 # Default option: Set DataProject according to the project used for submission 197 DataProject=${PROJECT} 200 198 else 201 199 # Use the project set by the variable DataProject in section UserChoices in config.card 202 eval $(idrenv -d ${config_UserChoices_DataProject})203 IGCM_debug_Print 1 "Change DataProject red in config.card : ${config_UserChoices_DataProject}"204 fi 205 IGCM_debug_Print 1 "Data project for output to be used: ${ IDRPROJ}"200 IGCM_debug_Print 1 "Use DataProject as set in config.card : ${config_UserChoices_DataProject}" 201 DataProject=${config_UserChoices_DataProject} 202 fi 203 IGCM_debug_Print 1 "Data project for output to be used: ${DataProject}" 206 204 207 205 #==================================================== 208 206 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 209 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:= ${SCRATCH}/RUN_DIR/${SLURM_JOBID}_${$}}207 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/gpfsscratch/rech/${DataProject}/${LOGIN}/RUN_DIR/${SLURM_JOBID}_${$}} 210 208 211 209 if [ ! X${config_UserChoices_ARCHIVE} = X ]; then … … 216 214 #==================================================== 217 215 #- ARCHIVE (dedicated to large files) 218 ARCHIVE= ${STORE}216 ARCHIVE=/gpfsstore/rech/${DataProject}/${LOGIN} 219 217 fi 220 218 … … 226 224 #==================================================== 227 225 #- STORAGE (dedicated to small/medium files) 228 STORAGE= ${WORK}226 STORAGE=/gpfswork/rech/${DataProject}/${LOGIN} 229 227 fi 230 228 … … 232 230 #==================================================== 233 231 #- R_OUT 234 R_OUT= ${SCRATCH}/IGCM_OUT232 R_OUT=/gpfsscratch/rech/${DataProject}/${LOGIN}/IGCM_OUT 235 233 236 234 #==================================================== 237 235 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 238 R_FIG= ${SCRATCH}/IGCM_OUT236 R_FIG=/gpfsscratch/rech/${DataProject}/${LOGIN}/IGCM_OUT 239 237 240 238 IGCM_debug_Print 1 "SpaceName=TEST ==> OVERRULE destination path directories" … … 256 254 #==================================================== 257 255 #- R_BUF (ONLY FOR double copy an scratch) 258 R_BUF= ${SCRATCH}/IGCM_OUT256 R_BUF=/gpfsscratch/rech/${DataProject}/${LOGIN}/IGCM_OUT 259 257 260 258 IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" … … 1435 1433 IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 1436 1434 IGCM_debug_Exit "This will stop the job" 1435 elif ( [ X${RUN_DIR_PATH} = X${HOME} ] || [ X${RUN_DIR_PATH} = X/gpfswork/rech/${DataProject}/${LOGIN} ] || [ X${RUN_DIR_PATH} = X/gpfsscratch/rech/${DataProject}/${LOGIN} ] || [ X${RUN_DIR_PATH} = X/gpfsstore/rech/${DataProject}/${LOGIN} ] ) ; then 1436 IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 1437 IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 1438 IGCM_debug_Exit "This will stop the job" 1437 1439 fi 1438 1440 IGCM_debug_PopStack "IGCM_sys_check_path"
Note: See TracChangeset
for help on using the changeset viewer.