Changeset 1274


Ignore:
Timestamp:
Jan 9, 2014 1:14:54 PM (10 years ago)
Author:
heinze
Message:

Adjustments for lccrayh

Location:
palm/trunk/SCRIPTS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/.mrun.config.hlrnIII

    r1255 r1274  
    2020%host_identifier   blogin*      lccrayb
    2121%host_identifier   bxc*         lccrayb
     22%host_identifier   hlogin*      lccrayh
     23%host_identifier   hxcmom*      lccrayh
    2224#
    2325#
     
    3032# appropriately, if you are using a different compiler / MPI-Version.
    3133#
     34# HLRN-III Berlin
    3235%tmp_user_catalog    /gfs1/work/<replace by your HLRN-III username>         lccrayb parallel
    3336%tmp_data_catalog    /gfs1/work/<replace by your HLRN-III username>         lccrayb parallel
     
    4144%memory              1500                        lccrayb parallel
    4245%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
    4359#             
    4460%write_binary        true                             restart
  • palm/trunk/SCRIPTS/mbuild

    r1256 r1274  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# adjustments for lccrayh
    2525#
    2626# Former revisions:
     
    475475    case  $remote_host  in
    476476        (lccrayb)        remote_addres=130.73.233.1;;
     477        (lccrayh)        remote_addres=130.75.4.1;;
    477478        (lcflow)         remote_addres="flow.hpc.uni-oldenburg.de";;
    478479        (lckordi)        remote_adress=210.219.61.8;;
     
    13071308
    13081309          # 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 ]]
    13101311       then
    13111312
  • palm/trunk/SCRIPTS/mrun

    r1273 r1274  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# adjustments for lccrayh
    2525#
    2626# Former revisions:
     
    588588    do_remote=true
    589589    case  $host  in
    590         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lccrayb|lccrayf|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;;
    591591        (*)  printf "\n"
    592592             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    759759                   do_remote=true
    760760                   case  $host  in
    761                        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayb|lccrayf|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;;
    762762                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    763763                            printf "\n      is not available"
     
    10361036    do_remote=true
    10371037    case  $host  in
    1038         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayb|lccrayf|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;;
    10391039        (*)  printf "\n"
    10401040             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    29322932             [[ "$check_for_file" = "" ]]  &&  compile_error=true
    29332933             continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
    2934           elif [[ $localhost = lccrayb  ||  $localhost = lccrayf ]]
     2934          elif [[ $localhost = lccrayb  ||  $localhost = lccrayf ||  $localhost = lccrayh ]]
    29352935          then
    29362936             make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
     
    36583658                # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT
    36593659                # 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 ]]
    36613661             then
    36623662                if [[ -f $hostfile ]]
     
    37653765                      mpirun -np $ii inspxe-cl -r result -collect mi3 -- ./a.out  <  runfile_atmos
    37663766                   fi
    3767                 elif [[ $host = lccrayb ]]
     3767                elif [[ $host = lccrayb || $host = lccrayh ]]
    37683768                then
    37693769                    echo "--- aprun  -n $ii  -N $tasks_per_node  a.out  $ROPTS  < runfile_atmos"
     
    41424142                   then
    41434143                      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]}"
    41444147                   else
    41454148                      batch_scp $PORTOPT $cps -b -m -u $return_username $return_addres  ${localout[$i]} "${pathout[$i]}" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}
     
    42224225                   then
    42234226                      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]}"
    42244230                   else
    42254231                      batch_scp $PORTOPT -A -b -m -u $return_username  $return_addres ${localout[$i]} "${pathout[$i]}" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}
     
    47074713          then
    47084714
    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* ]]
    47104716             then
    47114717                echo "*** ssh will be used to initiate restart-runs!"
     
    47204726                   then
    47214727                      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
    47224732                   else
    47234733                      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 "
     
    47334743                   then
    47344744                      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\" "
    47354748                   else
    47364749                      ssh $SSH_PORTOPT $return_addres -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc "
     
    49384951       # BEREITSTELLUNG VON QUELLTEXTEN, MRUN-SCRIPTS UND KONFIGURATIONS-
    49394952       # 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 ]]
    49414954    then
    49424955
     
    49694982             echo  "localdir=\`pwd\`"                            >>  $jobfile
    49704983             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
    49714989          else
    49724990             echo  "scp $PORTOPT -r $return_username@$return_addres:$working_directory/SOURCES_FOR_RUN_$fname ."  >>  $jobfile
  • palm/trunk/SCRIPTS/subjob

    r1267 r1274  
    2323# Current revisions:
    2424# ------------------
    25 # further adjustments for lccrayb (use msub instead of qsub)
     25# adjustments for lccrayh
    2626#
    2727# Former revisions:
     
    158158     (blizzard1)             local_addres=136.172.40.15;  local_host=ibmh;;
    159159     (blogin*|bxc*)          local_addres=130.73.233.1;   local_host=lccrayb;;
     160     (hlogin*|hxc*)          local_addres=130.75.4.1;     local_host=lccrayh;;
    160161     (breva)                 local_addres=130.75.105.98;  local_host=lcmuk;;
    161162     (buran)                 local_addres=130.75.105.58;  local_host=lcmuk;;
     
    346347        (ibmy)    queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    347348        (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;;
    348350        (lccrayf) queue=small; remote_addres=86.50.166.21; submcom=/opt/slurm/default/bin/sbatch;;
    349351        (lcfimm)  remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
     
    403405                 esac;;
    404406        (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;;
    406412                     (*)                                     error=true;;
    407413                 esac;;
     
    793799%%END%%
    794800
    795  elif [[ $remote_host = lccrayb ]]
     801 elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
    796802 then
    797803
     
    13541360    echo "trap '"                               >>  $job_to_send
    13551361    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* ]]
    13571363    then
    13581364       if [[ $remote_host = ibmh ]]
     
    13771383       then
    13781384          return_queue=SP
    1379        elif [[ $remote_host = lccrayb ]]
     1385       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
    13801386       then
    13811387          return_queue=dataq
     
    15041510          echo "%%END%%"                           >>  $job_to_send
    15051511
    1506        elif [[ $remote_host = lccrayb ]]
     1512       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
    15071513       then
    15081514          echo "cat > scpjob.$kennung << %%END%%"        >>  $job_to_send
     
    15721578       then
    15731579          echo "llsubmit  scpjob.$kennung"      >>  $job_to_send
    1574        elif [[ $remote_host = lccrayb ]]
     1580       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
    15751581       then
    15761582          echo "msub -q $return_queue  scpjob.$kennung"               >>  $job_to_send
Note: See TracChangeset for help on using the changeset viewer.