Ignore:
Timestamp:
Nov 6, 2012 2:14:27 AM (11 years ago)
Author:
raasch
Message:

script adjustments for lckiaps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r1039 r1040  
    271271     # 31/10/12 - Siggi   - -T option not obligatory for lcxt5m,
    272272     #                      tasks_per_node not checked for this machine
     273     # 01/11/12 - Siggi   - adjusted for lckiaps
    273274
    274275
     
    730731    do_remote=true
    731732    case  $host  in
    732         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckordi|lcsb)  true;;
     733        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb)  true;;
    733734        (*)  printf "\n"
    734735             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    894895                   do_remote=true
    895896                   case  $host  in
    896                        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi|lcsb)  true;;
     897                       (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb)  true;;
    897898                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    898899                            printf "\n      is not available"
     
    11781179    do_remote=true
    11791180    case  $host  in
    1180         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi|lcsb)  true;;
     1181        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb)  true;;
    11811182        (*)  printf "\n"
    11821183             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    13281329        (ibmkisti)   queue=class.32plus;;
    13291330        (ibmy)       queue=parallel;;
     1331        (lckiaps)    queue=normal;;
    13301332        (lckyoto)    queue=ph;;
    13311333        (lcsgib)     queue=testq;;
     
    20762078 lopts="$lopts $netcdf_lib $dvr_lib"
    20772079 ROPTS="$ropts"
    2078  if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lckyoto  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxe6 ||  $host = lcxt5m || $host = lck || $host = lckordi || $host = lcsb )  &&  -n $numprocs ]]
     2080 if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lckyoto  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxe6 ||  $host = lcxt5m || $host = lck || $host = lckiaps || $host = lckordi || $host = lcsb )  &&  -n $numprocs ]]
    20792081 then
    20802082    XOPT="-X $numprocs"
     
    38023804                then
    38033805                   mpirun_rsh -hostfile $PBS_NODEFILE -np `cat $PBS_NODEFILE | wc -l` a.out  < runfile_atmos  $ROPTS
     3806                elif [[ $host = lckiaps ]]
     3807                then
     3808                   mpirun -np $ii  -f $PBS_NODEFILE  a.out  <  runfile_atmos  $ROPTS
    38043809                else
    38053810                   mpiexec  -machinefile hostfile  -n $ii  a.out  < runfile_atmos  $ROPTS
     
    48414846    jobfile=jobfile.$RANDOM
    48424847
     4848       # initialize the environment and load modules
     4849    if [[ "$init_cmds" != "" ]]
     4850    then
     4851       echo  "$init_cmds"        >>  $jobfile
     4852    fi
     4853    if [[ "$module_calls" != "" ]]
     4854    then
     4855       echo  "$module_calls"     >>  $jobfile
     4856    fi
    48434857
    48444858       # TEMPORAERES VERZEICHNIS GENERIEREN UND NACH DORT WECHSELN
Note: See TracChangeset for help on using the changeset viewer.