Changeset 1099 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Feb 10, 2013 1:47:43 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r1096 r1099 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # adjustments for Kyushu-University computing center (lckyuh - hayaka) 25 # and for Forwind cluster (lcflow) 26 # small further adjustments for lckyut 25 27 # 26 28 # Former revisions: … … 34 36 # 35 37 # 2013-02-02 07:06:13Z raasch 36 # adjustments for Kyushu-University computing center (lckyut )38 # adjustments for Kyushu-University computing center (lckyut - tatara) 37 39 # 38 40 # 1083 2013-01-04 10:22:09Z maronga … … 514 516 do_remote=true 515 517 case $host in 516 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lc kyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb) true;;518 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 517 519 (*) printf "\n" 518 520 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 600 602 fi 601 603 604 605 # WERTE VON MRUN-OPTIONEN SICHERN UND DAMIT GEGEBENENFALLS SPAETER DIE 606 # IN DER KONFIGURAIONSDATEI ANGEGEBENEN WERTE UEBERSTEUERN 607 mrun_memory=$memory 608 mrun_group_number=$group_number 609 mrun_cpumax=$cpumax 610 mrun_numprocs=$numprocs 602 611 603 612 … … 678 687 do_remote=true 679 688 case $host in 680 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lc kyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb) true;;689 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 681 690 (*) printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" 682 691 printf "\n is not available" … … 817 826 %%END%% 818 827 819 # WERTE VON MRUN-OPTIONEN SICHERN UND DAMIT GEGEBENENFALLS SPAETER DIE820 # IN DER KONFIGURAIONSDATEI ANGEGEBENEN WERTE UEBERSTEUERN821 mrun_memory=$memory822 mrun_group_number=$group_number823 mrun_cpumax=$cpumax824 mrun_numprocs=$numprocs825 826 828 if [[ $localhost_realname = "sx-fep" ]] 827 829 then … … 866 868 rm $interpreted_config_file 867 869 868 869 # OPTIONSWERTE UEBERSTEUERN KONFIGURATIONSDATEI 870 [[ $mrun_memory != 0 ]] && memory=$mrun_memory 871 [[ "$mrun_group_number" != "none" ]] && group_number=$mrun_group_number872 [[ $mrun_cpumax != 0 ]] && cpumax=$mrun_cpumax873 [[ "$mrun_numprocs" != "" ]] && numprocs=$mrun_numprocs874 [[ "$max_par_io_str" != "" ]] && maximum_parallel_io_streams=$max_par_io_str875 [[ "$mrun_tasks_per_node" != "" ]] && tasks_per_node=$mrun_tasks_per_node876 877 fi870 fi 871 872 873 # OPTIONSWERTE UEBERSTEUERN KONFIGURATIONSDATEI 874 [[ $mrun_memory != 0 ]] && memory=$mrun_memory 875 [[ "$mrun_group_number" != "none" ]] && group_number=$mrun_group_number 876 [[ $mrun_cpumax != 0 ]] && cpumax=$mrun_cpumax 877 [[ "$mrun_numprocs" != "" ]] && numprocs=$mrun_numprocs 878 [[ "$max_par_io_str" != "" ]] && maximum_parallel_io_streams=$max_par_io_str 879 [[ "$mrun_tasks_per_node" != "" ]] && tasks_per_node=$mrun_tasks_per_node 878 880 879 881 … … 962 964 do_remote=true 963 965 case $host in 964 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lc kyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb) true;;966 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 965 967 (*) printf "\n" 966 968 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 1122 1124 (lckiaps) queue=normal;; 1123 1125 (lckyoto) queue=ph;; 1124 (lckyut) queue=cx-dbg;; 1126 (lckyuh) queue=fx-single;; 1127 (lckyut) queue=cx-single;; 1125 1128 (lcsgib) queue=testq;; 1126 1129 (lcsgih) queue=testq;; … … 1870 1873 lopts="$lopts $netcdf_lib $dvr_lib" 1871 1874 ROPTS="$ropts" 1872 # if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lckyoto || $host = lcsgih || $host = lcsgib || $host = lctit || $host = lcfimm || $host = lc xe6 || $host = lcxt5m || $host = lck || $host = lckiaps || $host = lckordi || $host = lcsb || $host ) && -n $numprocs ]]1875 # if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lckyoto || $host = lcsgih || $host = lcsgib || $host = lctit || $host = lcfimm || $host = lcflow || $host = lcxe6 || $host = lcxt5m || $host = lck || $host = lckiaps || $host = lckordi || $host = lcsb || $host ) && -n $numprocs ]] 1873 1876 # then 1874 1877 XOPT="-X $numprocs" … … 3509 3512 # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT 3510 3513 # DOES NOT EXIST 3511 if [[ $host != lcsgih && $host != lcsgib ]]3514 if [[ $host != lcsgih && $host != lcsgib && $host != lckyu* ]] 3512 3515 then 3513 3516 if [[ -f $hostfile ]] … … 3630 3633 elif [[ $host = lckyu* ]] 3631 3634 then 3632 mpiexec -n $ii a.out <runfile_atmos $ROPTS3635 mpiexec -n $ii ./a.out < runfile_atmos $ROPTS 3633 3636 else 3634 3637 mpiexec -machinefile hostfile -n $ii a.out < runfile_atmos $ROPTS … … 4527 4530 then 4528 4531 4529 if [[ $localhost = lcsgih || $localhost = lcsgib || $localhost = nech || $localhost = ibmh || $localhost = ibmkisti || $localhost = ibmku || $localhost = ibms ]]4532 if [[ $localhost = lcsgih || $localhost = lcsgib || $localhost = nech || $localhost = ibmh || $localhost = ibmkisti || $localhost = ibmku || $localhost = ibms || $localhost = lcflow || $localhost = lckyu* ]] 4530 4533 then 4531 4534 echo "*** ssh will be used to initiate restart-runs!" … … 4771 4774 # ABSPEICHERN DER KONFIGURATIONSDATEI 4772 4775 # ABDECKZEICHEN VERHINDERN, DASS ERSETZUNGEN ERFOLGEN 4776 # Lines with #$ coming from the svn keyword substitution are 4777 # removed from the config file in order to avoid problems 4778 # with the SGE batch system 4773 4779 echo "cat > $config_file << \"%END%\"" >> $jobfile 4774 cat $config_file>> $jobfile4780 sed 's/#$.*//g' $config_file >> $jobfile 4775 4781 echo "%END%" >> $jobfile 4776 4782 echo " " >> $jobfile … … 4835 4841 then 4836 4842 echo "export PALM_BIN=$PALM_BIN" >> $jobfile 4843 elif [[ $host = lcflow || $localhost = lcflow ]] 4844 then 4845 echo "export PALM_BIN=$PALM_BIN" | sed -e 's:'$HOME':$HOME:' >> $jobfile 4846 echo "export PATH=\$PATH:\$PALM_BIN" >> $jobfile 4837 4847 fi 4838 4848 … … 4840 4850 echo "set -x" >> $jobfile 4841 4851 echo "queue=$queue" >> $jobfile 4852 # echo "echo \"*** shell test\" " >> $jobfile 4853 # echo "which ksh" >> $jobfile 4854 # echo "ls -al /bin" >> $jobfile 4842 4855 echo "[[ \$execute_mrun = true ]] && ./$mrun_com" >> $jobfile 4843 4856
Note: See TracChangeset
for help on using the changeset viewer.