Changeset 437 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Feb 1, 2010 4:15:58 AM (15 years ago)
Author:
raasch
Message:

script adjustements for lcxt5m

Location:
palm/trunk/SCRIPTS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mbuild

    r407 r437  
    108108     # 25/08/09 - BjornM- adapted for lck
    109109     # 01/12/09 - BjornM- re-adjustments for lcxt4
     110     # 01/02/10 - Siggi - adjustments for lcxt5m
    110111
    111112
     
    477478        (lctit)          remote_addres=172.17.75.161;;
    478479        (lcxt4)          remote_addres=129.177.20.113;;
     480        (lcxt5m)         remote_addres=193.166.211.144;;
    479481        (decalpha)       remote_addres=165.132.26.56;;
    480482        (ibmh)           remote_addres=136.172.40.15;;
  • palm/trunk/SCRIPTS/mrun

    r416 r437  
    195195     #                     adjustment for special1q
    196196     # 18/12/09 - Carolin- modification of archiving (permq)
    197      #
     197     # 01/02/10 - Siggi  - adjustments for lcxt5m
     198
     199
    198200 
    199201    # VARIABLENVEREINBARUNGEN + DEFAULTWERTE
     
    642644    do_remote=true
    643645    case  $host  in
    644         (ibm|ibmb|ibmh|ibms|ibmy|nech|necriam|lcsgib|lcsgih|lctit|unics|lcxt4|lck)  true;;
     646        (ibm|ibmb|ibmh|ibms|ibmy|nech|necriam|lcsgib|lcsgih|lctit|unics|lcxt4|lcxt5m|lck)  true;;
    645647        (*)  printf "\n"
    646648             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    817819                   do_remote=true
    818820                   case  $host  in
    819                        (ibm|ibms|ibmy|lcsgib|lcsgih|lctit|nech|necriam|unics|lcxt4|lck)  true;;
     821                       (ibm|ibms|ibmy|lcsgib|lcsgih|lctit|nech|necriam|unics|lcxt4|lcxt5m|lck)  true;;
    820822                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    821823                            printf "\n      is not available"
     
    10721074    do_remote=true
    10731075    case  $host  in
    1074         (ibm|ibmb|ibmh|ibms|ibmy|lcsgib|lcsgih|lctit|nech|necriam|unics|lcxt4|lck)  true;;
     1076        (ibm|ibmb|ibmh|ibms|ibmy|lcsgib|lcsgih|lctit|nech|necriam|unics|lcxt4|lcxt5m|lck)  true;;
    10751077        (*)  printf "\n"
    10761078             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    20002002 lopts="$lopts $netcdf_lib $dvr_lib"
    20012003 ROPTS="$ropts"
    2002  if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxt4 || $host = lck )  &&  -n $numprocs ]]
     2004 if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxt4 ||  $host = lcxt5m || $host = lck )  &&  -n $numprocs ]]
    20032005 then
    20042006    XOPT="-X $numprocs"
     
    32233225                      fi
    32243226                   fi
    3225                 elif [[ $host = lcxt4 ]]
     3227                elif [[ $host = lcxt4  ||  $host = lcxt5m ]]
    32263228                then
    32273229                   aprun  -n $ii  -N $tasks_per_node  a.out  $ROPTS  < runfile_atmos
     
    32593261                      fi
    32603262
    3261                    elif [[ $host = lcxt4 ]]
     3263                   elif [[ $host = lcxt4  ||  $host = lcxt5m ]]
    32623264                   then
    32633265
     
    32923294                      fi
    32933295
    3294                    elif [[ $host = lcxt4 ]]
     3296                   elif [[ $host = lcxt4  ||  $host = lcxt5m ]]
    32953297                   then
    32963298
  • palm/trunk/SCRIPTS/subjob

    r416 r437  
    111111     # 01/12/09 - BjornM- re-adjustments for lcxt4, added sno (130.75.105.113)
    112112     # 16/10/09 - Carolin-adding permq
    113      #
     113     # 01/02/10 - Siggi - adjustments for lcxt5m
     114
     115
    114116
    115117    # VARIABLENVEREINBARUNGEN + DEFAULTWERTE
     
    209211     (levanto)               local_addres=130.75.105.45;  local_host=lcmuk;;
    210212     (maestro)               local_addres=130.75.105.2;   local_host=lcmuk;;
     213     (meteo-login*)          local_addres=193.166.211.144;local_host=lcxt5m;;
    211214     (nid*)                  local_addres=129.177.20.113; local_host=lcxt4;;
    212215     (nobel*)                local_addres=150.183.5.101;  local_host=ibms;;
     
    351354        (lctit)   queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;;
    352355        (lcxt4)   remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;;
     356        (lcxt5m)  remote_addres=193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;;
    353357        (nech)    qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=136.172.44.147; submcom="/usr/local/bin/qsub";;
    354358        (necriam) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=172.16.1.131; submcom="/usr/bin/nqsII/qsub";;
     
    881885    fi
    882886
     887elif [[ $remote_host = lcxt5m ]]
     888 then
     889
     890    if [[ $numprocs != 0 ]]
     891    then
     892       cat > $job_to_send << %%END%%
     893#!/bin/ksh
     894#PBS -S /bin/ksh
     895#PBS -N $job_name
     896#PBS -j oe
     897#PBS -l walltime=$timestring
     898#PBS -l mppwidth=${numprocs}
     899#PBS -l mppnppn=${tasks_per_node}
     900#PBS -m abe
     901#PBS -o $remote_dayfile
     902
     903. /opt/modules/default/init/ksh
     904module load modules/3.1.6
     905module load netcdf/3.6.2
     906module load PrgEnv-pgi/2.2.41
     907module load Base-opts/2.2.41
     908
     909%%END%%
     910
     911    else
     912       cat > $job_to_send << %%END%%
     913#!/bin/ksh
     914#PBS -S /bin/ksh
     915#PBS -N $job_name
     916#PBS -j oe
     917#PBS -l walltime=$timestring
     918#PBS -l ncpus=1
     919#PBS -l pmem=${memory}mb
     920#PBS -m abe
     921#PBS -o $remote_dayfile
     922
     923. /opt/modules/default/init/ksh
     924module load modules/3.1.6
     925module load netcdf/3.6.2
     926module load PrgEnv-pgi/2.2.41
     927module load Base-opts/2.2.41
     928
     929%%END%%
     930
     931    fi
     932
    883933 elif [[ $remote_host = nech ]]
    884934 then
Note: See TracChangeset for help on using the changeset viewer.