Changeset 1513 for trunk/libIGCM
- Timestamp:
- 01/14/20 18:53:44 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_jeanzay.ksh
r1511 r1513 205 205 #==================================================== 206 206 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 207 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/gpfsscratch/rech/${DataProject}/${LOGIN}/RUN_DIR/${SLURM_JOBID}_${$}} 207 #- DataProject = for is the dataproject for Training account at Idris 208 #- they are not store in rech but in another partition 209 if [ X${DataProject} = Xfor ]; then 210 typeset -r RUN_DIR_PATH=$SCRATCH/RUN_DIR/${SLURM_JOBID}_${$} 211 else 212 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/gpfsscratch/rech/${DataProject}/${LOGIN}/RUN_DIR/${SLURM_JOBID}_${$}} 213 fi 208 214 209 215 if [ ! X${config_UserChoices_ARCHIVE} = X ]; then … … 212 218 ARCHIVE=${config_UserChoices_ARCHIVE} 213 219 else 214 #==================================================== 215 #- ARCHIVE (dedicated to large files) 216 ARCHIVE=/gpfsstore/rech/${DataProject}/${LOGIN} 220 if [ X${DataProject} = Xfor ]; then 221 ARCHIVE=$STORE 222 else 223 #==================================================== 224 #- ARCHIVE (dedicated to large files) 225 ARCHIVE=/gpfsstore/rech/${DataProject}/${LOGIN} 226 fi 217 227 fi 218 228 … … 224 234 #==================================================== 225 235 #- STORAGE (dedicated to small/medium files) 226 STORAGE=/gpfswork/rech/${DataProject}/${LOGIN} 236 if [ X${DataProject} = Xfor ]; then 237 STORAGE=$WORK 238 else 239 STORAGE=/gpfswork/rech/${DataProject}/${LOGIN} 240 fi 227 241 fi 228 242 … … 230 244 #==================================================== 231 245 #- R_OUT 232 R_OUT=${R_OUT:=/gpfsscratch/rech/${DataProject}/${LOGIN}}/IGCM_OUT 233 246 if [ X${DataProject} = Xfor ]; then 247 R_OUT=$SCRATCH/IGCM_OUT 248 else 249 R_OUT=/gpfsscratch/rech/${DataProject}/${LOGIN}/IGCM_OUT 250 fi 234 251 #==================================================== 235 252 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) … … 254 271 #==================================================== 255 272 #- R_BUF (ONLY FOR double copy an scratch) 256 R_BUF=${R_BUF:=/gpfsscratch/rech/${DataProject}/${LOGIN}}/IGCM_OUT 273 274 if [ X${DataProject} = Xfor ]; then 275 R_BUF=$SCRATCH/IGCM_OUT 276 else 277 R_BUF=/gpfsscratch/rech/${DataProject}/${LOGIN}/IGCM_OUT 278 fi 257 279 258 280 IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}"
Note: See TracChangeset
for help on using the changeset viewer.