Changeset 251
- Timestamp:
- Mar 3, 2009 2:31:06 AM (16 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r246 r251 170 170 # 25/02/09 - Siggi - cputime-option (-t) is allowed to be omitted for 171 171 # interactive runs 172 # 02/03/09 - Siggi - adjustments for new NEC-SX9 at RIAM (necriam) 172 173 173 174 … … 603 604 do_remote=true 604 605 case $host in 605 (ibm|ibmb|ibmh|ibms|ibmy|nech|nec k|lcsgib|lcsgih|lctit|unics|lcxt4) true;;606 (ibm|ibmb|ibmh|ibms|ibmy|nech|necriam|lcsgib|lcsgih|lctit|unics|lcxt4) true;; 606 607 (*) printf "\n" 607 608 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 778 779 do_remote=true 779 780 case $host in 780 (ibm|ibms|ibmy|lcsgib|lcsgih|lctit|nech|nec k|unics|lcxt4) true;;781 (ibm|ibms|ibmy|lcsgib|lcsgih|lctit|nech|necriam|unics|lcxt4) true;; 781 782 (*) printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" 782 783 printf "\n is not available" … … 924 925 mrun_numprocs=$numprocs 925 926 926 if [[ $localhost_realname = " gate" ]]927 then 928 interpret_config_gate.x927 if [[ $localhost_realname = "sx-fep" ]] 928 then 929 /home/COAR/NC/raasch/pub/interpret_config_necriam.x 929 930 else 930 931 interpret_config.x … … 1033 1034 do_remote=true 1034 1035 case $host in 1035 (ibm|ibmb|ibmh|ibms|ibmy|lcsgib|lcsgih|lctit|nech|nec k|unics|lcxt4) true;;1036 (ibm|ibmb|ibmh|ibms|ibmy|lcsgib|lcsgih|lctit|nech|necriam|unics|lcxt4) true;; 1036 1037 (*) printf "\n" 1037 1038 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 1062 1063 # DEFAULT-WERT SETZEN) UND OB SIE EIN GANZZAHLIGER TEILER DER 1063 1064 # GESAMTPROZESSORANZAHL IST 1064 if [[ $host = nech || $host = nec k|| $host = ibmh || $host = ibmb || $host = ibms ]]1065 if [[ $host = nech || $host = necriam || $host = ibmh || $host = ibmb || $host = ibms ]] 1065 1066 then 1066 1067 [[ "$tasks_per_node" = "" ]] && tasks_per_node=6 … … 1192 1193 (lctit) queue=sla3;; 1193 1194 (nech) queue=none;; 1194 (nec k) queue=P;;1195 (necriam) queue=SS;; 1195 1196 (unics) queue=unics;; 1196 1197 esac … … 1903 1904 1904 1905 1905 # COMPILER AUF NECKUEBERSCHREIBEN1906 [[ $localhost = nec k]] && compiler_name=mpif901906 # COMPILER AUF RIAMS NEC UEBERSCHREIBEN 1907 [[ $localhost = necriam ]] && compiler_name=mpif90 1907 1908 1908 1909 … … 2936 2937 fi 2937 2938 fi 2938 elif [[ $host = nech || $host = nec k]]2939 elif [[ $host = nech || $host = necriam ]] 2939 2940 then 2940 2941 (( ii = nodes )) -
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.