Changeset 1040 for palm/trunk/SCRIPTS/subjob
- Timestamp:
- Nov 6, 2012 2:14:27 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.