Changeset 1021 for palm/trunk


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

script adjustments for lcsb (Seoul National University)

Location:
palm/trunk/SCRIPTS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mbuild

    r1018 r1021  
    137137     # 25/06/12 - Siggi - option -K (block conditions) added
    138138     # 27/09/12 - Siggi - compiler options (F90FLAGS) added for namelist check
     139     # 02/10/12 - Siggi - added lcsb
    139140
    140141
     
    537538        (lcmuk)          remote_addres=130.75.105.2;;
    538539        (lcrte)          remote_addres=133.5.185.60;;
     540        (lcsb)           remote_adress=147.46.30.151;;
    539541        (lcsgib)         remote_addres=130.73.232.102;;
    540542        (lcsgih)         remote_addres=130.75.4.101;;
  • 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
  • palm/trunk/SCRIPTS/subjob

    r892 r1021  
    140140     #                      bugfixes for the parameter file check, initial
    141141     #                      commands on ssh calls sourced out to .mrun.config
     142     # 02/10/12 - Siggi - adjustments for lcsb
     143
    142144
    143145
     
    260262     (r2*)                   local_addres=130.73.232.102; local_host=lcsgib;;
    261263     (t2a*)                  local_addres=10.1.6.165;     local_host=lctit;;
     264     (urban*)                local_addres=147.46.30.151   local_host=lcsb;;
    262265     (vorias)                local_addres=172.20.25.43;   local_host=lcmuk;;
    263266     (*.cc.kyushu-u.ac.jp)   local_addres=133.5.4.129;    local_host=ibmku;;
     
    392395        (lck)     remote_addres=165.132.26.61; submcom=/usr/torque/bin/qsub;;
    393396        (lckordi) remote_addres=210.219.61.8; submcom=/usr/torque/bin/qsub;;
     397        (lcsb)    remote_addres=147.46.30.151; submcom=/usr/torque/bin/qsub;;
    394398        (lctit)   queue=S; remote_addres=10.1.6.165; submcom=/opt/pbs/tools/bin/t2sub;;
    395399        (lcxe6)   remote_addres=129.177.20.113; submcom=/opt/torque/2.5.10/bin/qsub;;
     
    822826    fi
    823827
    824  elif [[ $remote_host = lck || $remote_host = lckordi ]]
     828 elif [[ $remote_host = lck || $remote_host = lckordi || $remote_host = lcsb ]]
    825829 then
    826830
     
    834838#PBS -l pmem=${memory}mb
    835839#PBS -o $remote_dayfile
     840#PBS -l nodes=$nodes:ppn=${processes_per_node}
    836841#PBS -j oe
    837842
     
    14431448       then
    14441449          eval  $submcom  $job_on_remhost
    1445        elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxe6  ||  $localhost = lck  || $localhost = lckordi||  $localhost = lcyon ]]
     1450       elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxe6  ||  $localhost = lck  || $localhost = lckordi ||  $localhost = lcyon || $localhost = lcsb ]]
    14461451       then
    14471452          chmod  u+x  $job_on_remhost
Note: See TracChangeset for help on using the changeset viewer.