Changeset 20 for tags


Ignore:
Timestamp:
09/29/08 16:22:11 (16 years ago)
Author:
mmaipsl
Message:

ACaub : correct a bug in TMPDIR creation. Add time command to get informations on srun execution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/libIGCM_v1_1/libIGCM_sys/libIGCM_sys_platine.ksh

    r17 r20  
    135135if [ $LSB_QUEUE == post ] ; then 
    136136    typeset -r RUN_DIR_PATH=${SCRATCHDIR}/tmp$$ 
     137    if [ ! -d ${RUN_DIR_PATH} ]; then  
     138        \mkdir -p ${RUN_DIR_PATH} 
     139        if [ $? -gt 0 ] ; then 
     140            echo "Error in creation of "${RUN_DIR_PATH} 
     141        fi 
     142    fi 
    137143fi 
    138144 
    139145#==================================================== 
    140146#- HOST_MPIRUN_COMMAND 
    141 typeset -r HOST_MPIRUN_COMMAND=${HOST_MPIRUN_COMMAND:="srun"} 
     147typeset -r HOST_MPIRUN_COMMAND=${HOST_MPIRUN_COMMAND:="time srun"} 
    142148 
    143149#D-#================================================== 
Note: See TracChangeset for help on using the changeset viewer.