Ignore:
Timestamp:
Apr 15, 2016 6:50:59 AM (6 years ago)
Author:
raasch
Message:

scripts adjusted for lcocean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r1842 r1866  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# adjusted for lcocean
    2525#
    2626# Former revisions:
     
    310310    return_address=165.132.26.68
    311311    echo "+++ WARNING: fixed return_address = $return_address is used !!!!!"
     312 elif [[ `hostname` = "schultzl-Latitude-E6540" ]]
     313 then
     314    return_address="schultzl-Latitude-E6540"
     315    echo "+++ WARNING: fixed return_address = $return_address is used !!!!!"
    312316 elif [[ `hostname` = urban00 ]]
    313317 then
     
    630634    do_remote=true
    631635    case  $host  in
    632         (ibm|ibmh|ibmkisti|ibmku|ibms|nech|lcbullhh|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     636        (ibm|ibmh|ibmkisti|ibmku|ibms|nech|lcbullhh|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|lcocean|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    633637        (*)  printf "\n"
    634638             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    788792                   do_remote=true
    789793                   case  $host  in
    790                        (ibm|ibmh|ibmkisti|ibmku|ibms|lcbullhh|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|nech|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     794                       (ibm|ibmh|ibmkisti|ibmku|ibms|lcbullhh|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|lcocean|nech|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    791795                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    792796                            printf "\n      is not available"
     
    10521056    do_remote=true
    10531057    case  $host  in
    1054         (ibm|ibmh|ibmkisti|ibmku|ibms|lcbullhh|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|nech|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     1058        (ibm|ibmh|ibmkisti|ibmku|ibms|lcbullhh|lccrayb|lccrayh|lccrayf|lcflow|lckyoto|lcocean|nech|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    10551059        (*)  printf "\n"
    10561060             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    23902394             [[ ! -f a.out ]]  &&  compile_error=true
    23912395             continue   # STATUS=1, IF a.out EXISTS
     2396          elif [[ $localhost = lcocean ]]
     2397          then
     2398             printf "      compiler is called via ssh on \"ocean\" \n"
     2399             echo $PWD
     2400             ssh  $SSH_PORTOPT  ocean  -l $usern  "$init_cmds $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
     2401             [[ ! -f a.out ]]  &&  compile_error=true
     2402            continue   # STATUS=1, IF a.out EXISTS
    23922403          elif [[ $localhost = lcflow ]]
    23932404          then
     
    30693080                   # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT
    30703081                   # DOES NOT EXIST
    3071                 if [[  $host != lcbullhh  && $host != lccrayb  &&  $host != lccrayf  && $host != lccrayh  &&  $host != lckyuh  &&  $host != lckyut ]]
     3082                if [[  $host != lcbullhh  && $host != lccrayb  &&  $host != lccrayf  && $host != lccrayh  &&  $host != lckyuh  &&  $host != lckyut  &&  $host != lcocean ]]
    30723083                then
    30733084                   if [[ -f $hostfile ]]
     
    31403151                   then
    31413152                      mpirun -np $ii a.out  < runfile_atmos
     3153                   elif [[ $host = lcocean ]]
     3154                   then
     3155                      mpirun a.out  $ROPTS  < runfile_atmos
    31423156                   elif [[ $host = lcsb ]]
    31433157                   then
     
    40794093                   then
    40804094                      /usr/bin/ssh $SSH_PORTOPT $return_address -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc "
     4095                   elif [[ $localhost = lcocean ]]
     4096                   then
     4097                      /usr/bin/ssh $SSH_PORTOPT $return_address -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc "
    40814098                   elif [[ $localhost = lccrayb ]]
    40824099                   then
     
    42914308       #              THIS MAY CREATE A QUITE LARGE JOB-FILE, WHICH CAN CAUSE PROBLEMS WITH SOME
    42924309       #              QUEUEING-SYSTEMS
    4293     if [[ $host = ibmkisti  ||  $host = lcbullhh  ||  $host = lccrayb  ||  $host = lccrayf  ||  $host = lccrayh ]]
     4310    if [[ $host = ibmkisti  ||  $host = lcbullhh  ||  $host = lccrayb  ||  $host = lccrayf  ||  $host = lccrayh  ||  $host = lcocean ]]
    42944311    then
    42954312
Note: See TracChangeset for help on using the changeset viewer.