Ignore:
Timestamp:
Feb 2, 2013 7:06:13 AM (11 years ago)
Author:
raasch
Message:

script adjustments for Kyushu-University computing center (lckyut)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r1084 r1090  
    2121#
    2222# Current revisions:
    23 # -----------------
     23# ------------------
     24# adjustments for Kyushu-University computing center (lckyut)
    2425#
    2526# Former revisions:
     
    4041# code put under GPL (PALM 3.9)
    4142#
    42 # 21/03/94 - Siggi - first version (1.0)
    43 # 03/03/94 - Siggi - start with developing the script
     43# 21/03/94 - Siggi - first version finished
     44# 03/03/94 - Siggi - script development started
     45#
     46#--------------------------------------------------------------------------------#
     47# mrun - script for running PALM jobs
    4448#--------------------------------------------------------------------------------#
    4549
     
    502506    do_remote=true
    503507    case  $host  in
    504         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb)  true;;
     508        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb)  true;;
    505509        (*)  printf "\n"
    506510             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    666670                   do_remote=true
    667671                   case  $host  in
    668                        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb)  true;;
     672                       (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb)  true;;
    669673                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    670674                            printf "\n      is not available"
     
    950954    do_remote=true
    951955    case  $host  in
    952         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lcsb)  true;;
     956        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb)  true;;
    953957        (*)  printf "\n"
    954958             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    11021106        (lckiaps)    queue=normal;;
    11031107        (lckyoto)    queue=ph;;
     1108        (lckyut)     queue=cx-dbg;;
    11041109        (lcsgib)     queue=testq;;
    11051110        (lcsgih)     queue=testq;;
     
    18491854 lopts="$lopts $netcdf_lib $dvr_lib"
    18501855 ROPTS="$ropts"
    1851  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 ]]
    1852  then
     1856# 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 || $host )  &&  -n $numprocs ]]
     1857# then
    18531858    XOPT="-X $numprocs"
    1854  fi
     1859# fi
    18551860
    18561861
     
    36103615                then
    36113616                   mpirun -np $ii  -f $PBS_NODEFILE  a.out  <  runfile_atmos  $ROPTS
     3617                elif [[ $host = lckyu* ]]
     3618                then
     3619                   mpiexec -n $ii   a.out  <  runfile_atmos  $ROPTS
    36123620                else
    36133621                   mpiexec  -machinefile hostfile  -n $ii  a.out  < runfile_atmos  $ROPTS
Note: See TracChangeset for help on using the changeset viewer.