Changeset 251 for palm/trunk/SCRIPTS/subjob
- Timestamp:
- Mar 3, 2009 2:31:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/subjob
r221 r251 95 95 # 23/09/08 - Gerald- paesano admitted 96 96 # 02/10/08 - Siggi - PBS adjustments for lcxt4 97 # 02/03/09 - Siggi - Adjustments for new NEC-SX9 at RIAM 97 98 98 99 … … 170 171 (fimm.bccs.uib.no) local_addres=172.20.4.2; local_host=lcfimm;; 171 172 (gallego) local_addres=130.75.105.10; local_host=lcmuk;; 172 (gate|n-sx) local_addres=133.5.178.11; local_host=neck;;173 173 (gfdl5) local_addres=165.132.26.58; local_host=ibmy;; 174 174 (gfdl3.yonsei.ac.kr) local_addres=165.132.26.56; local_host=decalpha;; … … 191 191 (scirocco) local_addres=172.20.25.41; local_host=lcmuk;; 192 192 (sun1|sun2) local_addres=130.75.6.1; local_host=unics;; 193 (sx-fep) local_addres=172.16.1.131; local_host=necriam;; 193 194 (r1*) local_addres=130.75.4.102; local_host=lcsgih;; 194 195 (r2*) local_addres=130.73.232.102; local_host=lcsgib;; … … 249 250 printf "\n -h execution host, available hosts: $remote_host" 250 251 printf "\n ibm, ibmb, ibmh, ibms, ibmy, lcmuk," 251 printf "\n lctit, nech, nec k, unics"252 printf "\n lctit, nech, necriam, unics" 252 253 printf "\n -m memory demand per process in MByte ---" 253 254 printf "\n -n jobname <jobdatei>" … … 312 313 else 313 314 case $remote_host in 314 (ibm) queue=p690_standard; remote_addres=134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;315 (ibmb) queue=cpar; remote_addres=130.73.230.10; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;316 (ibmh) queue=cpar; remote_addres=130.75.4.10; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;317 (ibms) queue=p_normal; remote_addres=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;318 (ibmy) queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;319 (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;320 (lcsgib) queue=smallq; remote_addres=130.73.232.102; submcom=/opt/moab/bin/msub;;321 (lcsgih) queue=smallq; remote_addres=130.75.4.103; submcom=/opt/moab/bin/msub;;322 (lctit) queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;;323 (lcxt4) remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;;324 (nech) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=136.172.44.147; submcom="/usr/local/bin/qsub";;325 (nec k) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=133.5.178.11; submcom="/usr/bin/nqsII/qsub";;326 (vpp) qsubmem=m; qsubtime=t; queue=vpp; remote_addres=130.75.4.130;;327 (unics) qsubmem=d; qsubtime=t; queue=unics; remote_addres=130.75.6.1;;328 (*) printf "\n +++ hostname \"$remote_host\" not allowed";329 locat=parameter; exit;;315 (ibm) queue=p690_standard; remote_addres=134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 316 (ibmb) queue=cpar; remote_addres=130.73.230.10; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 317 (ibmh) queue=cpar; remote_addres=130.75.4.10; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 318 (ibms) queue=p_normal; remote_addres=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 319 (ibmy) queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 320 (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;; 321 (lcsgib) queue=smallq; remote_addres=130.73.232.102; submcom=/opt/moab/bin/msub;; 322 (lcsgih) queue=smallq; remote_addres=130.75.4.103; submcom=/opt/moab/bin/msub;; 323 (lctit) queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;; 324 (lcxt4) remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;; 325 (nech) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=136.172.44.147; submcom="/usr/local/bin/qsub";; 326 (necriam) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=172.16.1.131; submcom="/usr/bin/nqsII/qsub";; 327 (vpp) qsubmem=m; qsubtime=t; queue=vpp; remote_addres=130.75.4.130;; 328 (unics) qsubmem=d; qsubtime=t; queue=unics; remote_addres=130.75.6.1;; 329 (*) printf "\n +++ hostname \"$remote_host\" not allowed"; 330 locat=parameter; exit;; 330 331 esac 331 332 fi … … 370 371 (*) error=true;; 371 372 esac;; 373 (necriam) case $ndq in 374 (SS|P6|X) error=false;; 375 (*) error=true;; 376 esac;; 372 377 (t3eh) case $ndq in 373 378 (para_t3e|em|k|l|lm|comp_t3e|c|p|ht) error=false;; … … 454 459 done 455 460 456 if [[ $remote_host = nech || $remote_host = nec k]]461 if [[ $remote_host = nech || $remote_host = necriam ]] 457 462 then 458 463 if (( tasks_per_node != 0 )) … … 803 808 fi 804 809 805 elif [[ $remote_host = nec k]]810 elif [[ $remote_host = necriam ]] 806 811 then 807 812 … … 810 815 cat > $job_to_send << %%END%% 811 816 #!/bin/ksh 812 #PBS -l cpunum_prc=$tasks_per_node,cputim_job=$cputime813 #PBS -l ${qsubmem}=${Memory}gb814 817 #PBS -b $nodes 815 818 #PBS -o $remote_dayfile 816 819 #PBS -N palm 817 820 #PBS -j o 818 #PBS - T mpisx821 #PBS -v MPIPROGINV=YES 819 822 820 823 %%END%% … … 825 828 #!/bin/ksh 826 829 #PBS -q ${queue} 827 #PBS -l cpunum_prc=$tasks_per_node,cputim_job=$cputime828 #PBS -l ${qsubmem}=${Memory}gb829 830 #PBS -o $remote_dayfile 830 831 #PBS -N palm 831 832 #PBS -j o 832 #PBS - T mpisx833 #PBS -v MPIPROGINV=YES 833 834 834 835 %%END%% … … 837 838 cat > $job_to_send << %%END%% 838 839 #!/bin/ksh 839 #PBS -l ${qsubmem}=${Memory}gb,${qsubtime}=$cputime840 840 #PBS -o $remote_dayfile 841 841 #PBS -j o … … 897 897 then 898 898 return_queue=sla3 899 elif [[ $remote_host = nec k]]900 then 901 return_queue=S 899 elif [[ $remote_host = necriam ]] 900 then 901 return_queue=SS 902 902 else 903 903 return_queue=unknown … … 939 939 echo "%%END%%" >> $job_to_send 940 940 941 elif [[ $remote_host = nec k]]941 elif [[ $remote_host = necriam ]] 942 942 then 943 943 echo "cat > scpjob.$kennung << %%END%%" >> $job_to_send 944 944 echo "#PBS -q $return_queue" >> $job_to_send 945 echo "#PBS -l ${qsubmem}=1GB,${qsubtime}=100" >> $job_to_send946 945 echo "#PBS -o last_job_transfer_protocol" >> $job_to_send 947 946 echo "#PBS -j o" >> $job_to_send
Note: See TracChangeset
for help on using the changeset viewer.