Ignore:
Timestamp:
Oct 2, 2012 1:52:49 PM (12 years ago)
Author:
raasch
Message:

script adjustments for lcsb (Seoul National University)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r995 r1021  
    268268     #                      update of the ssh calls
    269269     # 06/09/12 - Bjoern  - typo removed: "-D_parallel" -> "-D__parallel"
     270     # 02/10/12 - Siggi   - adjusted for lcsb (urban00)
     271
     272
    270273 
    271274    # VARIABLENVEREINBARUNGEN + DEFAULTWERTE
     
    357360   return_addres=165.132.26.68
    358361   echo "+++ WARNING: fixed return_addres = $return_addres is used !!!!!"
     362 elif [[ `hostname` = urban00 ]]
     363 then
     364   return_addres=147.46.30.151
     365   echo "+++ WARNING: fixed return_addres = $return_addres is used !!!!!"
    359366 else
    360367    return_addres=$(nslookup `hostname` 2>&1 | grep "Address:" | tail -1 | awk '{print $2}')
     
    721728    do_remote=true
    722729    case  $host  in
    723         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckordi)  true;;
     730        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckordi|lcsb)  true;;
    724731        (*)  printf "\n"
    725732             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    885892                   do_remote=true
    886893                   case  $host  in
    887                        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi)  true;;
     894                       (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi|lcsb)  true;;
    888895                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    889896                            printf "\n      is not available"
     
    11691176    do_remote=true
    11701177    case  $host  in
    1171         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi)  true;;
     1178        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi|lcsb)  true;;
    11721179        (*)  printf "\n"
    11731180             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    20672074 lopts="$lopts $netcdf_lib $dvr_lib"
    20682075 ROPTS="$ropts"
    2069  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)  &&  -n $numprocs ]]
     2076 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 ]]
    20702077 then
    20712078    XOPT="-X $numprocs"
     
    37903797                then
    37913798                   mpiexec  -machinefile $TMPDIR/machines  -n $ii  -env I_MPI_FABRICS shm:ofa a.out  < runfile_atmos  $ROPTS
     3799                elif [[ $host = lcsb ]]
     3800                then
     3801                   mpirun_rsh -hostfile $PBS_NODEFILE -np `cat $PBS_NODEFILE | wc -l` a.out  < runfile_atmos  $ROPTS
    37923802                else
    37933803                   mpiexec  -machinefile hostfile  -n $ii  a.out  < runfile_atmos  $ROPTS
Note: See TracChangeset for help on using the changeset viewer.