Changeset 1274 for palm/trunk/SCRIPTS
- Timestamp:
- Jan 9, 2014 1:14:54 PM (11 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/.mrun.config.hlrnIII
r1255 r1274 20 20 %host_identifier blogin* lccrayb 21 21 %host_identifier bxc* lccrayb 22 %host_identifier hlogin* lccrayh 23 %host_identifier hxcmom* lccrayh 22 24 # 23 25 # … … 30 32 # appropriately, if you are using a different compiler / MPI-Version. 31 33 # 34 # HLRN-III Berlin 32 35 %tmp_user_catalog /gfs1/work/<replace by your HLRN-III username> lccrayb parallel 33 36 %tmp_data_catalog /gfs1/work/<replace by your HLRN-III username> lccrayb parallel … … 41 44 %memory 1500 lccrayb parallel 42 45 %modules fftw:cray-netcdf lccrayb parallel 46 # 47 # HLRN-III Hannover 48 %tmp_user_catalog /gfs1/work/<replace by your HLRN-III username> lccrayh parallel 49 %tmp_data_catalog /gfs1/work/<replace by your HLRN-III username> lccrayh parallel 50 %compiler_name ftn lccrayh parallel 51 %compiler_name_ser ftn lccrayh parallel 52 %cpp_options -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__fftw lccrayh parallel 53 %mopts -j:4 lccrayh parallel 54 %fopts -em:-s:real64:-O3:-hnoomp:-hfp3:-hdynamic lccrayh parallel 55 %lopts -em:-s:real64:-O3:-hnoomp:-hfp3:-hdynamic:-dynamic lccrayh parallel 56 %remote_username <replace by your HLRN-III username> lccrayh parallel 57 %memory 1500 lccrayh parallel 58 %modules fftw:cray-netcdf lccrayh parallel 43 59 # 44 60 %write_binary true restart -
palm/trunk/SCRIPTS/mbuild
r1256 r1274 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # adjustments for lccrayh 25 25 # 26 26 # Former revisions: … … 475 475 case $remote_host in 476 476 (lccrayb) remote_addres=130.73.233.1;; 477 (lccrayh) remote_addres=130.75.4.1;; 477 478 (lcflow) remote_addres="flow.hpc.uni-oldenburg.de";; 478 479 (lckordi) remote_adress=210.219.61.8;; … … 1307 1308 1308 1309 # workaround for lcxe6 1309 if [[ $remote_host = lcxe6 || $remote_host = lccrayb || $remote_host = lccrayf ]]1310 if [[ $remote_host = lcxe6 || $remote_host = lccrayb || $remote_host = lccrayf || $remote_host = lccrayh ]] 1310 1311 then 1311 1312 -
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 -
palm/trunk/SCRIPTS/subjob
r1267 r1274 23 23 # Current revisions: 24 24 # ------------------ 25 # further adjustments for lccrayb (use msub instead of qsub)25 # adjustments for lccrayh 26 26 # 27 27 # Former revisions: … … 158 158 (blizzard1) local_addres=136.172.40.15; local_host=ibmh;; 159 159 (blogin*|bxc*) local_addres=130.73.233.1; local_host=lccrayb;; 160 (hlogin*|hxc*) local_addres=130.75.4.1; local_host=lccrayh;; 160 161 (breva) local_addres=130.75.105.98; local_host=lcmuk;; 161 162 (buran) local_addres=130.75.105.58; local_host=lcmuk;; … … 346 347 (ibmy) queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 347 348 (lccrayb) queue=testq; remote_addres=130.73.233.1; submcom=/opt/moab/7.2.6/bin/msub;; 349 (lccrayh) queue=mpp1testq; remote_addres=130.75.4.1; submcom=/opt/moab/7.2.6/bin/msub;; 348 350 (lccrayf) queue=small; remote_addres=86.50.166.21; submcom=/opt/slurm/default/bin/sbatch;; 349 351 (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;; … … 403 405 esac;; 404 406 (lccrayb) case $ndq in 405 (mpp1q|mpp1testq|testq) error=false;; 407 (mpp1q|testq|specialm1q) error=false;; 408 (*) error=true;; 409 esac;; 410 (lccrayh) case $ndq in 411 (mpp1q|mpp1testq|specialm1q|dataq) error=false;; 406 412 (*) error=true;; 407 413 esac;; … … 793 799 %%END%% 794 800 795 elif [[ $remote_host = lccrayb ]]801 elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]] 796 802 then 797 803 … … 1354 1360 echo "trap '" >> $job_to_send 1355 1361 echo "set +vx" >> $job_to_send 1356 if [[ $(echo $remote_host | cut -c1-3) = ibm || $remote_host = lccrayb || $ (echo $remote_host | cut -c1-5) = lcsgi || $(echo $remote_host | cut -c1-3) = nec || $remote_host = lcflow || $remote_host = lckiaps || $remote_host = lckyu* ]]1362 if [[ $(echo $remote_host | cut -c1-3) = ibm || $remote_host = lccrayb || $remote_host = lccrayh || $(echo $remote_host | cut -c1-5) = lcsgi || $(echo $remote_host | cut -c1-3) = nec || $remote_host = lcflow || $remote_host = lckiaps || $remote_host = lckyu* ]] 1357 1363 then 1358 1364 if [[ $remote_host = ibmh ]] … … 1377 1383 then 1378 1384 return_queue=SP 1379 elif [[ $remote_host = lccrayb ]]1385 elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]] 1380 1386 then 1381 1387 return_queue=dataq … … 1504 1510 echo "%%END%%" >> $job_to_send 1505 1511 1506 elif [[ $remote_host = lccrayb ]]1512 elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]] 1507 1513 then 1508 1514 echo "cat > scpjob.$kennung << %%END%%" >> $job_to_send … … 1572 1578 then 1573 1579 echo "llsubmit scpjob.$kennung" >> $job_to_send 1574 elif [[ $remote_host = lccrayb ]]1580 elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]] 1575 1581 then 1576 1582 echo "msub -q $return_queue scpjob.$kennung" >> $job_to_send
Note: See TracChangeset
for help on using the changeset viewer.