- Timestamp:
- 04/25/23 14:26:44 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM_CESMEP/libIGCM_sys/libIGCM_sys_obelix.ksh
r1487 r1585 38 38 #==================================================== 39 39 # Turn in dry run mode ? (sys_Put_Rest, sys_Put_Out, sys_Get) 40 typeset -r DRYRUN=${DRYRUN:=0} 40 if ([ X${DRYRUN} != X ] && [ ${DRYRUN} = 4 ]) ; then 41 typeset -r DRYRUN=0 42 typeset -r DRYRUN_DEBUG=4 43 else 44 typeset -r DRYRUN=${DRYRUN:=0} 45 typeset -r DRYRUN_DEBUG=0 46 fi 41 47 42 48 # YOU MUST COMPILE YOUR EXE FILES FOR DRYRUN MODE ! … … 54 60 # | 3 | yes | no | no | no | 55 61 # ------------------------------------------------------------------------------------- 62 # | 4 | yes | yes | creation of RUN_DIR and Job_debug | 63 # ------------------------------------------------------------------------------------- 64 56 65 57 66 #===================================================== … … 140 149 #==================================================== 141 150 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 142 if [ X${PBS_JOBID} != X] ; then143 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/scratch/$PBS_O_LOGNAME.$PBS_JOBID}151 if [ ${DRYRUN_DEBUG} = 4 ] ; then 152 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/home/scratch01/$LOGIN/RUN_DIR} 144 153 else 145 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/tmp/tmp$$} 154 if [ X${PBS_JOBID} != X ] ; then 155 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/scratch/$PBS_O_LOGNAME.$PBS_JOBID} 156 else 157 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/tmp/tmp$$} 158 fi 146 159 fi 147 160
Note: See TracChangeset
for help on using the changeset viewer.