Ignore:
Timestamp:
Jul 4, 2013 6:19:45 AM (11 years ago)
Author:
raasch
Message:

script adjustments for CSC Helsinki (lccrayf)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r1191 r1197  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# adjustments for CSC Helsinki (lccrayf)
    2525#
    2626# Former revisions:
     
    553553    do_remote=true
    554554    case  $host  in
    555         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     555        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    556556        (*)  printf "\n"
    557557             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    724724                   do_remote=true
    725725                   case  $host  in
    726                        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     726                       (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    727727                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    728728                            printf "\n      is not available"
     
    10011001    do_remote=true
    10021002    case  $host  in
    1003         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     1003        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    10041004        (*)  printf "\n"
    10051005             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    28182818          [[ ! -f a.out ]]  &&  compile_error=true
    28192819          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
     2820#       elif [[ $localhost = lccrayf ]]
     2821#       then
     2822#          printf "      compiler is called via ssh on \"sisu-login1\" \n"
     2823#          ssh  $SSH_PORTOPT  sisu-login1  -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\" "
     2824#          [[ ! -f a.out ]]  &&  compile_error=true
     2825#          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
    28202826       elif [[ $localhost = lcsgib ]]
    28212827       then
     
    28362842          [[ ! -f a.out ]]  &&  compile_error=true
    28372843          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
     2844       elif [[ $localhost = lccrayf ]]
     2845       then
     2846          module list
     2847          make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
    28382848       else
    28392849          [[ "$init_cmds" != "" ]]  &&  eval $init_cmds
     
    35633573                # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT
    35643574                # DOES NOT EXIST
    3565              if [[ $host != lcsgih  &&  $host != lcsgib  &&  $host != lckyuh  &&  $host != lckyut ]]
     3575             if [[ $host != lccrayf  &&  $host != lcsgih  &&  $host != lcsgib  &&  $host != lckyuh  &&  $host != lckyut ]]
    35663576             then
    35673577                if [[ -f $hostfile ]]
     
    36703680                      mpirun -np $ii inspxe-cl -r result -collect mi3 -- ./a.out  <  runfile_atmos
    36713681                   fi
     3682                elif [[ $host = lccrayf ]]
     3683                then
     3684                    echo "aprun  -n $ii  -N $tasks_per_node  -m ${memory}M  a.out  $ROPTS  < runfile_atmos"
     3685                    aprun  -n $ii  -N $tasks_per_node  -m ${memory}M  a.out  $ROPTS  < runfile_atmos
    36723686                elif [[ $host = lcxe6  ||  $host = lcxt5m ]]
    36733687                then
     
    37183732                      fi
    37193733
    3720                    elif [[ $host = lcxe6  ||  $host = lcxt5m ]]
     3734                   elif [[ $host = lccrayf  ||  $host = lcxe6  ||  $host = lcxt5m ]]
    37213735                   then
    37223736
     
    37513765                      fi
    37523766
    3753                    elif [[ $host = lcxe6  ||  $host = lcxt5m ]]
     3767                   elif [[ $host = lccrayf  ||  $host = lcxe6  ||  $host = lcxt5m ]]
    37543768                   then
    37553769
Note: See TracChangeset for help on using the changeset viewer.