- Timestamp:
- 03/05/12 18:33:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/libIGCM_v1_12/libIGCM_sys/libIGCM_sys_vargas.ksh
r479 r566 167 167 168 168 # keep standard input to keep it for postpone if ulam don't answer 169 cat >/tmp/tmp_IGCM_sys_RshPost_$$ 169 cat >/tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} 170 170 171 171 ## Add submission for old postponed files only if command is a Qsub 172 172 ## 173 173 ISITQSUB=0 174 grep Qsub /tmp/tmp_IGCM_sys_RshPost_$$ >/dev/null 2>&1 && ISITQSUB=1174 grep Qsub /tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} >/dev/null 2>&1 && ISITQSUB=1 175 175 if ( [ ${ISITQSUB} -gt 0 ] ) ; then 176 176 if [ -d ${SUBMIT_DIR}/POSTPONE ] ; then … … 191 191 RETURN=0 192 192 # rsh ulam command 193 rsh ulam exec /bin/ksh </tmp/tmp_IGCM_sys_RshPost_$$ 193 rsh ulam exec /bin/ksh </tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} 194 194 RETURN=$? 195 195 196 196 # keep standard input for postpone if ulam don't answer 197 197 if ( [ ${RETURN} -gt 0 ] ) ; then 198 IGCM_debug_Print 2 "Postpone tmp_IGCM_sys_RshPost_$$ "198 IGCM_debug_Print 2 "Postpone tmp_IGCM_sys_RshPost_$$_${LOGIN}" 199 199 [ -d ${SUBMIT_DIR}/POSTPONE ] || mkdir ${SUBMIT_DIR}/POSTPONE 200 mv /tmp/tmp_IGCM_sys_RshPost_$$ ${SUBMIT_DIR}/POSTPONE 200 mv /tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} ${SUBMIT_DIR}/POSTPONE 201 else 202 \rm /tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} 201 203 fi 202 204 IGCM_debug_PopStack "IGCM_sys_RshPost"
Note: See TracChangeset
for help on using the changeset viewer.