Changeset 1255 for palm/trunk/SCRIPTS/subjob
- Timestamp:
- Nov 7, 2013 2:43:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/subjob
r1235 r1255 23 23 # Current revisions: 24 24 # ------------------ 25 # 25 # further adjustments for lccrayb 26 26 # 27 27 # Former revisions: … … 142 142 (bicegate2) local_addres=130.73.232.103; local_host=lcsgib;; 143 143 (blizzard1) local_addres=136.172.40.15; local_host=ibmh;; 144 (blogin* )local_addres=130.73.233.1; local_host=lccrayb;;144 (blogin*|bxc*) local_addres=130.73.233.1; local_host=lccrayb;; 145 145 (breva) local_addres=130.75.105.98; local_host=lcmuk;; 146 146 (buran) local_addres=130.75.105.58; local_host=lcmuk;; … … 203 203 (*.cc.kyushu-u.ac.jp) local_addres=133.5.4.129; local_host=ibmku;; 204 204 (*) printf "\n +++ \"$local_host\" unknown"; 205 printf "\n please inform S. Raasch!";205 printf "\n please contact the PALM group at IMUK"; 206 206 locat=parameter; exit;; 207 207 esac … … 783 783 then 784 784 cat > $job_to_send << %%END%% 785 #!/bin/bash --login785 #!/bin/bash 786 786 #PBS -N $job_name 787 787 #PBS -l walltime=$timestring … … 793 793 794 794 $module_calls 795 export ATP_ENABLED=0796 export MPICH_GNI_BTE_MULTI_CHANNEL=disabled797 795 798 796 %%END%% … … 1341 1339 echo "trap '" >> $job_to_send 1342 1340 echo "set +vx" >> $job_to_send 1343 if [[ $(echo $remote_host | cut -c1-3) = ibm || $ (echo $remote_host | cut -c1-5) = lcsgi || $(echo $remote_host | cut -c1-3) = nec || $remote_host = lcflow || $remote_host = lckiaps || $remote_host = lckyu* ]]1341 if [[ $(echo $remote_host | cut -c1-3) = ibm || $remote_host = lccrayb || $(echo $remote_host | cut -c1-5) = lcsgi || $(echo $remote_host | cut -c1-3) = nec || $remote_host = lcflow || $remote_host = lckiaps || $remote_host = lckyu* ]] 1344 1342 then 1345 1343 if [[ $remote_host = ibmh ]] … … 1364 1362 then 1365 1363 return_queue=SP 1364 elif [[ $remote_host = lccrayb ]] 1365 then 1366 return_queue=dataq 1366 1367 elif [[ $remote_host = lckiaps ]] 1367 1368 then … … 1487 1488 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1488 1489 echo "%%END%%" >> $job_to_send 1490 1491 elif [[ $remote_host = lccrayb ]] 1492 then 1493 echo "cat > scpjob.$kennung << %%END%%" >> $job_to_send 1494 echo "#!/bin/bash" >> $job_to_send 1495 echo "#PBS -N job_protocol_transfer" >> $job_to_send 1496 echo "#PBS -l walltime=00:30:00" >> $job_to_send 1497 echo "#PBS -l mppwidth=1" >> $job_to_send 1498 echo "#PBS -l mppnppn=1" >> $job_to_send 1499 echo "#PBS -o \$HOME/job_queue/last_job_transfer_protocol" >> $job_to_send 1500 echo "#PBS -j oe" >> $job_to_send 1501 echo " " >> $job_to_send 1502 echo "set -x" >> $job_to_send 1503 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_addres ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 1504 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1505 echo "%%END%%" >> $job_to_send 1489 1506 1490 1507 elif [[ $remote_host = lcflow ]] … … 1541 1558 then 1542 1559 echo "llsubmit scpjob.$kennung" >> $job_to_send 1560 elif [[ $remote_host = lccrayb ]] 1561 then 1562 echo "qsub -q $return_queue scpjob.$kennung" >> $job_to_send 1543 1563 elif [[ $(echo $remote_host | cut -c1-5) = lcsgi ]] 1544 1564 then
Note: See TracChangeset
for help on using the changeset viewer.