Changeset 567
- Timestamp:
- 03/05/12 18:37:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_vargas.ksh
r537 r567 206 206 207 207 # keep standard input to keep it for postpone if ulam don't answer 208 cat >/tmp/tmp_IGCM_sys_RshPost_$$ 208 cat >/tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} 209 209 210 210 ## Add submission for old postponed files only if command is a Qsub 211 211 ## 212 212 ISITQSUB=0 213 grep Qsub /tmp/tmp_IGCM_sys_RshPost_$$ >/dev/null 2>&1 && ISITQSUB=1213 grep Qsub /tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} >/dev/null 2>&1 && ISITQSUB=1 214 214 if ( [ ${ISITQSUB} -gt 0 ] ) ; then 215 215 if [ -d ${SUBMIT_DIR}/POSTPONE ] ; then … … 230 230 RETURN=0 231 231 # rsh ulam command 232 rsh ulam exec /bin/ksh </tmp/tmp_IGCM_sys_RshPost_$$ 232 rsh ulam exec /bin/ksh </tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} 233 233 RETURN=$? 234 234 235 235 # keep standard input for postpone if ulam don't answer 236 236 if ( [ ${RETURN} -gt 0 ] ) ; then 237 IGCM_debug_Print 2 "Postpone tmp_IGCM_sys_RshPost_$$ "237 IGCM_debug_Print 2 "Postpone tmp_IGCM_sys_RshPost_$$_${LOGIN}" 238 238 [ -d ${SUBMIT_DIR}/POSTPONE ] || mkdir ${SUBMIT_DIR}/POSTPONE 239 mv /tmp/tmp_IGCM_sys_RshPost_$$ ${SUBMIT_DIR}/POSTPONE 239 mv /tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} ${SUBMIT_DIR}/POSTPONE 240 else 241 \rm /tmp/tmp_IGCM_sys_RshPost_$$_${LOGIN} 240 242 fi 241 243 IGCM_debug_PopStack "IGCM_sys_RshPost"
Note: See TracChangeset
for help on using the changeset viewer.