Changeset 1609 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Jul 3, 2015 3:37:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r1605 r1609 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # Modified the random number of the temporary working directory to match the 25 # queuing system number on HLRN-III (lccray*). 25 26 # 26 27 # Former revisions: … … 600 601 # VALUE OF do_remote IS IMPORTANT FOR THE FILE CONNECTIONS. 601 602 # IN CASE OF EXECUTION ON A REMOTE-MACHINE, A BATCH-JOB HAS 602 # TO BE SUBMITTED (I.E. do_ba cth=true)603 # TO BE SUBMITTED (I.E. do_batch=true) 603 604 if [[ -n $host && "$host" != $localhost ]] 604 605 then … … 1832 1833 1833 1834 # DETERMINE THE NAME OF MRUN'S TEMPORARY WORKING DIRECTORY 1834 kennung=$RANDOM 1835 1836 # ON HLRN-III, USE THE QUEUING NAME. OTHERWISE USE USERNAME AND RANDOM NUMBER 1837 if [[ $do_batch = false && $(echo $host | cut -c1-6) = lccray ]] 1838 then 1839 kennung=$(checkjob $PBS_JOBID | grep Reservation | cut -d" " -s -f2 | cut -d"." -s -f2 | sed "s/['\"]//g") 1840 else 1841 kennung=$RANDOM 1842 fi 1843 1835 1844 if [[ "$tmp_user_catalog" = "" ]] 1836 1845 then
Note: See TracChangeset
for help on using the changeset viewer.