Changeset 181 for palm/trunk/SCRIPTS/subjob
- Timestamp:
- Jul 30, 2008 7:07:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/subjob
r179 r181 160 160 (breg*-en0|berni*-en0) local_addres=130.73.230.10; local_host=ibmb;; 161 161 (breva) local_addres=130.75.105.98; local_host=lcmuk;; 162 (b01*) local_addres=130.73.232.102; local_host=lcsgih;; 162 163 (compute-*.local) local_addres=172.20.4.2; local_host=lcfimm;; 163 164 (cs*) local_addres=136.172.44.131; local_host=nech;; … … 172 173 (hexagon.bccs.uib.no) local_addres=129.177.20.113; local_host=lcxt4;; 173 174 (hreg*-en0|hanni*-en0) local_addres=130.75.4.10; local_host=ibmh;; 174 (h01*) local_addres=1 0.152.0.7;local_host=lcsgih;;175 (h01*) local_addres=130.75.4.102; local_host=lcsgih;; 175 176 (irifi) local_addres=130.75.105.104; local_host=lcmuk;; 176 177 (levanto) local_addres=130.75.105.45; local_host=lcmuk;; … … 182 183 (quanero) local_addres=130.75.105.107; local_host=lcmuk;; 183 184 (scirocco) local_addres=172.20.25.41; local_host=lcmuk;; 184 (service100) local_addres=1 0.152.0.7;local_host=lcsgih;;185 (service100) local_addres=130.75.4.102; local_host=lcsgih;; 185 186 (sun1|sun2) local_addres=130.75.6.1; local_host=unics;; 186 (r1*) local_addres=10.152.0.7; local_host=lcsgih;; 187 (r1*) local_addres=130.75.4.102; local_host=lcsgih;; 188 (r2*) local_addres=130.73.232.102; local_host=lcsgih;; 187 189 (tgg*) local_addres=172.17.75.161; local_host=lctit;; 188 190 (vorias) local_addres=172.20.25.43; local_host=lcmuk;; … … 310 312 (ibmy) queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 311 313 (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;; 312 (lcsgih) remote_addres=10.152.0.7; submcom=/opt/moab/bin/msub;; 314 (lcsgib) remote_addres=130.73.232.102; submcom=/opt/torque/bin/qsub;; 315 (lcsgih) remote_addres=130.75.4.102; submcom=/opt/torque/bin/qsub;; 313 316 (lctit) queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;; 314 317 (lcxt4) remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;; … … 666 669 fi 667 670 668 elif [[ $remote_host = lcsgih ]]671 elif [[ $remote_host = lcsgih || $remote_host = lcsgib ]] 669 672 then 670 673 … … 672 675 then 673 676 cat > $job_to_send << %%END%% 674 # PBS -S/bin/bash677 #!/bin/bash 675 678 #PBS -N $job_name 676 679 #PBS -l walltime=$timestring 677 #PBS -l nodes=$nodes:ppn=${tasks_per_node}:xe 678 #PBS -l naccesspolicy=singlejob 680 #PBS -l nodes=$nodes:ppn=${tasks_per_node} 681 #PBS -l feature=$sgi_feature 682 #PBS -l naccesspolicy=$node_usage 679 683 #PBS -o $remote_dayfile 680 684 #PBS -j oe … … 682 686 . /usr/share/modules/init/bash 683 687 module load mvapich/mvapich-0.9.9-intel 688 # module load mvapich2/1.2-intel 684 689 module load netcdf 685 export LD_LIBRARY_PATH=/sw/intel/fce/10.1.015/lib:/sw/dataformats/netcdf/3.6.2/lib:$LD_LIBRARY_PATH 686 687 echo ld_library_path=$LD_LIBRARY_PATH 690 export LD_LIBRARY_PATH=/sw/intel/cce/10.1.015/lib:/sw/intel/fce/10.1.015/lib:/sw/dataformats/netcdf/3.6.2/lib:\$LD_LIBRARY_PATH 691 echo ld_library_path=\$LD_LIBRARY_PATH 688 692 689 693 %%END%% … … 860 864 echo "trap '" >> $job_to_send 861 865 echo "set +vx" >> $job_to_send 862 if [[ $(echo $remote_host | cut -c1-3) = ibm || $(echo $remote_host | cut -c1- 3) = nec || $remote_host = lctit ]]866 if [[ $(echo $remote_host | cut -c1-3) = ibm || $(echo $remote_host | cut -c1-5) = lcsgi || $(echo $remote_host | cut -c1-3) = nec || $remote_host = lctit ]] 863 867 then 864 868 if [[ $remote_host = ibmb || $remote_host = ibmh ]] … … 926 930 echo "set -x" >> $job_to_send 927 931 echo "batch_scp -d -w 10 -u $local_user $local_addres $remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 932 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 933 echo "%%END%%" >> $job_to_send 934 935 elif [[ $(echo $remote_host | cut -c1-5) = lcsgi ]] 936 then 937 echo "cat > scpjob.$kennung << %%END%%" >> $job_to_send 938 echo "#!/bin/bash" >> $job_to_send 939 echo "#PBS -N job_protocol_transfer" >> $job_to_send 940 echo "#PBS -l walltime=00:02:00" >> $job_to_send 941 echo "#PBS -l nodes=1:ppn=1" >> $job_to_send 942 echo "#PBS -l feature=xe" >> $job_to_send 943 echo "#PBS -l naccesspolicy=shared" >> $job_to_send 944 echo "#PBS -o \$HOME/job_queue/last_job_transfer_protocol" >> $job_to_send 945 echo "#PBS -j oe" >> $job_to_send 946 echo " " >> $job_to_send 947 echo ". /usr/share/modules/init/bash" >> $job_to_send 948 echo "set -x" >> $job_to_send 949 echo "batch_scp -d -w 10 -u $local_user $local_addres ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 928 950 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 929 951 echo "%%END%%" >> $job_to_send … … 968 990 then 969 991 echo "llsubmit scpjob.$kennung" >> $job_to_send 992 elif [[ $(echo $remote_host | cut -c1-5) = lcsgi ]] 993 then 994 echo "chmod u+x scpjob.$kennung" >> $job_to_send 995 echo "msub scpjob.$kennung" >> $job_to_send 970 996 elif [[ $remote_host = lctit ]] 971 997 then
Note: See TracChangeset
for help on using the changeset viewer.