Changeset 1040 for palm/trunk
- Timestamp:
- Nov 6, 2012 2:14:27 AM (12 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mbuild
r1021 r1040 138 138 # 27/09/12 - Siggi - compiler options (F90FLAGS) added for namelist check 139 139 # 02/10/12 - Siggi - added lcsb 140 # 02/11/12 - Siggi - added lckiaps 140 141 141 142 … … 542 543 (lcsgih) remote_addres=130.75.4.101;; 543 544 (lck) remote_addres=165.132.26.61;; 545 (lckiaps) remote_addres=118.128.66.223;; 544 546 (lctit) remote_addres=10.1.6.170;; 545 547 (lcxe6) remote_addres=129.177.20.113;; … … 558 560 printf "\n +++ remote host \"$remote_host\" unknown"; 559 561 printf "\n please inform PALM group support!" 562 locat=remote_host; exit 560 563 fi;; 561 564 esac -
palm/trunk/SCRIPTS/mrun
r1039 r1040 271 271 # 31/10/12 - Siggi - -T option not obligatory for lcxt5m, 272 272 # tasks_per_node not checked for this machine 273 # 01/11/12 - Siggi - adjusted for lckiaps 273 274 274 275 … … 730 731 do_remote=true 731 732 case $host in 732 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lck ordi|lcsb) true;;733 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb) true;; 733 734 (*) printf "\n" 734 735 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 894 895 do_remote=true 895 896 case $host in 896 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lck ordi|lcsb) true;;897 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb) true;; 897 898 (*) printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" 898 899 printf "\n is not available" … … 1178 1179 do_remote=true 1179 1180 case $host in 1180 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lck ordi|lcsb) true;;1181 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb) true;; 1181 1182 (*) printf "\n" 1182 1183 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 1328 1329 (ibmkisti) queue=class.32plus;; 1329 1330 (ibmy) queue=parallel;; 1331 (lckiaps) queue=normal;; 1330 1332 (lckyoto) queue=ph;; 1331 1333 (lcsgib) queue=testq;; … … 2076 2078 lopts="$lopts $netcdf_lib $dvr_lib" 2077 2079 ROPTS="$ropts" 2078 if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lckyoto || $host = lcsgih || $host = lcsgib || $host = lctit || $host = lcfimm || $host = lcxe6 || $host = lcxt5m || $host = lck || $host = lck ordi || $host = lcsb ) && -n $numprocs ]]2080 if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lckyoto || $host = lcsgih || $host = lcsgib || $host = lctit || $host = lcfimm || $host = lcxe6 || $host = lcxt5m || $host = lck || $host = lckiaps || $host = lckordi || $host = lcsb ) && -n $numprocs ]] 2079 2081 then 2080 2082 XOPT="-X $numprocs" … … 3802 3804 then 3803 3805 mpirun_rsh -hostfile $PBS_NODEFILE -np `cat $PBS_NODEFILE | wc -l` a.out < runfile_atmos $ROPTS 3806 elif [[ $host = lckiaps ]] 3807 then 3808 mpirun -np $ii -f $PBS_NODEFILE a.out < runfile_atmos $ROPTS 3804 3809 else 3805 3810 mpiexec -machinefile hostfile -n $ii a.out < runfile_atmos $ROPTS … … 4841 4846 jobfile=jobfile.$RANDOM 4842 4847 4848 # initialize the environment and load modules 4849 if [[ "$init_cmds" != "" ]] 4850 then 4851 echo "$init_cmds" >> $jobfile 4852 fi 4853 if [[ "$module_calls" != "" ]] 4854 then 4855 echo "$module_calls" >> $jobfile 4856 fi 4843 4857 4844 4858 # TEMPORAERES VERZEICHNIS GENERIEREN UND NACH DORT WECHSELN -
palm/trunk/SCRIPTS/subjob
r1021 r1040 141 141 # commands on ssh calls sourced out to .mrun.config 142 142 # 02/10/12 - Siggi - adjustments for lcsb 143 # 01/11/12 - Siggi - adjustments for lckiaps 143 144 144 145 … … 245 246 (sno) local_addres=130.75.105.113; local_host=lcmuk;; 246 247 (levanto) local_addres=130.75.105.45; local_host=lcmuk;; 248 (login*) local_addres=118.128.66.223; local_host=lckiaps;; 247 249 (maestro) local_addres=130.75.105.2; local_host=lcmuk;; 248 250 (meteo-login*) local_addres=193.166.211.144;local_host=lcxt5m;; … … 320 322 printf "\n -h execution host, available hosts: $remote_host" 321 323 printf "\n ibm, ibmh, ibmkisti, ibmku, ibms, ibmy, lc...," 322 printf "\n lc tit, nech, necriam, unics"324 printf "\n lckiaps, lctit, nech, necriam, unics" 323 325 printf "\n -m memory demand per process in MByte ---" 324 326 printf "\n -n jobname <jobdatei>" … … 394 396 (lcsgih) queue=smallq; remote_addres=130.75.4.101; submcom=/opt/moab/bin/msub;; 395 397 (lck) remote_addres=165.132.26.61; submcom=/usr/torque/bin/qsub;; 398 (lckiaps) remote_addres=118.128.66.223; submcom=/cm/shared/apps/pbspro/11.0.2.110766/bin/qsub;; 396 399 (lckordi) remote_addres=210.219.61.8; submcom=/usr/torque/bin/qsub;; 397 400 (lcsb) remote_addres=147.46.30.151; submcom=/usr/torque/bin/qsub;; … … 438 441 (ibmy) case $ndq in 439 442 (parallel) error=false;; 443 (*) error=true;; 444 esac;; 445 (lckiaps) case $ndq in 446 (express|normal) error=false;; 440 447 (*) error=true;; 441 448 esac;; … … 859 866 fi 860 867 868 elif [[ $remote_host = lckiaps ]] 869 then 870 871 if [[ $numprocs != 0 ]] 872 then 873 cat > $job_to_send << %%END%% 874 #!/bin/ksh 875 #PBS -N $job_name 876 #PBS -l walltime=$timestring 877 #PBS -l select=1:ncpus=$numprocs 878 #PBS -l pmem=${memory}mb 879 #PBS -q $queue 880 #PBS -o $remote_dayfile 881 #PBS -j oe 882 #PBS -V 883 884 %%END%% 885 886 else 887 cat > $job_to_send << %%END%% 888 #!/bin/ksh 889 #PBS -N $job_name 890 #PBS -l walltime=$timestring 891 #PBS -l ncpus=1 892 #PBS -l pmem=${memory}mb 893 #PBS -o $remote_dayfile 894 #PBS -j oe 895 896 %%END%% 897 898 fi 899 861 900 elif [[ $remote_host = lcyon ]] 862 901 then … … 1187 1226 echo "trap '" >> $job_to_send 1188 1227 echo "set +vx" >> $job_to_send 1189 if [[ $(echo $remote_host | cut -c1-3) = ibm || $(echo $remote_host | cut -c1-5) = lcsgi || $(echo $remote_host | cut -c1-3) = nec ]]1228 if [[ $(echo $remote_host | cut -c1-3) = ibm || $(echo $remote_host | cut -c1-5) = lcsgi || $(echo $remote_host | cut -c1-3) = nec || $remote_host = lckiaps ]] 1190 1229 then 1191 1230 if [[ $remote_host = ibmh ]] … … 1210 1249 then 1211 1250 return_queue=SP 1251 elif [[ $remote_host = lckiaps ]] 1252 then 1253 return_queue=express 1212 1254 else 1213 1255 return_queue=unknown … … 1332 1374 echo "qsub -J n -s /bin/ksh scpjob.$kennung" >> $job_to_send 1333 1375 else 1334 echo " qsub scpjob.$kennung">> $job_to_send1376 echo "$submcom scpjob.$kennung" >> $job_to_send 1335 1377 fi 1336 1378 if [[ $remote_host != ibmku ]]
Note: See TracChangeset
for help on using the changeset viewer.