Changeset 1274 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Jan 9, 2014 1:14:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r1273 r1274 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # adjustments for lccrayh 25 25 # 26 26 # Former revisions: … … 588 588 do_remote=true 589 589 case $host in 590 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lccrayb|lccray f|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;;590 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 591 591 (*) printf "\n" 592 592 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 759 759 do_remote=true 760 760 case $host in 761 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayb|lccray f|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;;761 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 762 762 (*) printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" 763 763 printf "\n is not available" … … 1036 1036 do_remote=true 1037 1037 case $host in 1038 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayb|lccray f|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;;1038 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 1039 1039 (*) printf "\n" 1040 1040 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 2932 2932 [[ "$check_for_file" = "" ]] && compile_error=true 2933 2933 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2934 elif [[ $localhost = lccrayb || $localhost = lccrayf ]]2934 elif [[ $localhost = lccrayb || $localhost = lccrayf || $localhost = lccrayh ]] 2935 2935 then 2936 2936 make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT="$cpp_options" F90FLAGS="$fopts" LDFLAGS="$lopts" … … 3658 3658 # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT 3659 3659 # DOES NOT EXIST 3660 if [[ $host != lccrayb &&$host != lccrayf && $host != lcsgih && $host != lcsgib && $host != lckyuh && $host != lckyut ]]3660 if [[ $host != lccrayb &&$host != lccrayf && $host != lccrayh && $host != lcsgih && $host != lcsgib && $host != lckyuh && $host != lckyut ]] 3661 3661 then 3662 3662 if [[ -f $hostfile ]] … … 3765 3765 mpirun -np $ii inspxe-cl -r result -collect mi3 -- ./a.out < runfile_atmos 3766 3766 fi 3767 elif [[ $host = lccrayb ]]3767 elif [[ $host = lccrayb || $host = lccrayh ]] 3768 3768 then 3769 3769 echo "--- aprun -n $ii -N $tasks_per_node a.out $ROPTS < runfile_atmos" … … 4142 4142 then 4143 4143 ssh $usern@blogin1 "cd $TEMPDIR; batch_scp $PORTOPT $cps -b -m -u $return_username $return_addres ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]} ${extout[$i]}" 4144 elif [[ $localhost = lccrayh ]] 4145 then 4146 ssh $usern@hlogin1 "cd $TEMPDIR; batch_scp $PORTOPT $cps -b -m -u $return_username $return_addres ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]} ${extout[$i]}" 4144 4147 else 4145 4148 batch_scp $PORTOPT $cps -b -m -u $return_username $return_addres ${localout[$i]} "${pathout[$i]}" ${localhost}_${fname}${endout[$i]} ${extout[$i]} … … 4222 4225 then 4223 4226 ssh $usern@blogin1 "cd $TEMPDIR; batch_scp $PORTOPT -A -b -m -u $return_username $return_addres ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]} ${extout[$i]}" 4227 elif [[ $localhost = lccrayh ]] 4228 then 4229 ssh $usern@hlogin1 "cd $TEMPDIR; batch_scp $PORTOPT -A -b -m -u $return_username $return_addres ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]} ${extout[$i]}" 4224 4230 else 4225 4231 batch_scp $PORTOPT -A -b -m -u $return_username $return_addres ${localout[$i]} "${pathout[$i]}" ${localhost}_${fname}${endout[$i]} ${extout[$i]} … … 4707 4713 then 4708 4714 4709 if [[ $localhost = lcsgih || $localhost = lccrayb || $localhost = nech || $localhost = ibmh || $localhost = ibmkisti || $localhost = ibmku || $localhost = ibms || $localhost = lcflow || $localhost = lckyu* ]]4715 if [[ $localhost = lcsgih || $localhost = lccrayb || $localhost = lccrayh || $localhost = nech || $localhost = ibmh || $localhost = ibmkisti || $localhost = ibmku || $localhost = ibms || $localhost = lcflow || $localhost = lckyu* ]] 4710 4716 then 4711 4717 echo "*** ssh will be used to initiate restart-runs!" … … 4720 4726 then 4721 4727 ssh $usern@blogin1 "ssh $SSH_PORTOPT $return_addres -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;. /muksoft/packages/intel/bin/compilervars.sh intel64;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" " 4728 elif [[ $localhost = lccrayh ]] 4729 then 4730 ssh $usern@hlogin1 "ssh $SSH_PORTOPT $return_addres -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;. /muksoft/packages/intel/bin/compilervars.sh intel64;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" " 4731 4722 4732 else 4723 4733 ssh $SSH_PORTOPT $return_addres -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;. /muksoft/packages/intel/bin/compilervars.sh intel64;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc " … … 4733 4743 then 4734 4744 ssh $usern@blogin1 "ssh $SSH_PORTOPT $return_addres -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" " 4745 elif [[ $localhost = lccrayh ]] 4746 then 4747 ssh $usern@130.75.4.1 "ssh $SSH_PORTOPT $return_addres -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" " 4735 4748 else 4736 4749 ssh $SSH_PORTOPT $return_addres -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc " … … 4938 4951 # BEREITSTELLUNG VON QUELLTEXTEN, MRUN-SCRIPTS UND KONFIGURATIONS- 4939 4952 # DATEI FUER DEN JOB 4940 if [[ $( echo $host | cut -c1-5 ) = lcsgi || $host = ibmkisti || $host = lccrayb || $host = lccrayf ]]4953 if [[ $( echo $host | cut -c1-5 ) = lcsgi || $host = ibmkisti || $host = lccrayb || $host = lccrayf || $host = lccrayh ]] 4941 4954 then 4942 4955 … … 4969 4982 echo "localdir=\`pwd\`" >> $jobfile 4970 4983 echo "ssh $SSH_PORTOPT $remote_username@blogin1 \"cd \$localdir; scp $PORTOPT -r $return_username@$return_addres:$working_directory/SOURCES_FOR_RUN_$fname .\" " >> $jobfile 4984 elif [[ $host = lccrayh ]] 4985 then 4986 echo "localdir=\`pwd\`" >> $jobfile 4987 echo "ssh $SSH_PORTOPT $remote_username@hlogin1 \"cd \$localdir; scp $PORTOPT -r $return_username@$return_addres:$working_directory/SOURCES_FOR_RUN_$fname .\" " >> $jobfile 4988 4971 4989 else 4972 4990 echo "scp $PORTOPT -r $return_username@$return_addres:$working_directory/SOURCES_FOR_RUN_$fname ." >> $jobfile
Note: See TracChangeset
for help on using the changeset viewer.