Ignore:
Timestamp:
May 2, 2012 1:51:44 PM (13 years ago)
Author:
maronga
Message:

bugfixes in parameter file check, adapted for lcxe6 (was lcxt4), new mrun.config parameter %login_init_cmd introduced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/subjob

    r814 r892  
    136136     # 29/11/11 - Siggi - adjustments for lcsgih/lcsgib queues, pingui admitted
    137137     # 21/12/11 - Theres- solano admitted
    138      # 31/01/12 - Matthias- adjustments for ibmh
     138     # 31/01/12 - Matthias - adjustments for ibmh
     139     # 02/05/12 - Bjoern  - lcxt4 is now lcxe6, adjustments for lcxe6,
     140     #                      bugfixes for the parameter file check, initial
     141     #                      commands on ssh calls sourced out to .mrun.config
    139142
    140143
     
    227230     (gregale)               local_addres=130.75.105.109; local_host=lcmuk;;
    228231     (hababai)               local_addres=130.75.105.108; local_host=lcmuk;;
    229      (hexagon.bccs.uib.no)   local_addres=129.177.20.113; local_host=lcxt4;;
     232     (hexagon.bccs.uib.no)   local_addres=129.177.20.113; local_host=lcxe6;;
    230233     (hd1)                   local_addres=130.75.4.104;   local_host=lcsgih;;
    231234     (hd2)                   local_addres=130.75.4.105;   local_host=lcsgih;;
     
    242245     (maestro)               local_addres=130.75.105.2;   local_host=lcmuk;;
    243246     (meteo-login*)          local_addres=193.166.211.144;local_host=lcxt5m;;
    244      (nid*)                  local_addres=129.177.20.113; local_host=lcxt4;;
     247     (hexagon*)              local_addres=129.177.20.113; local_host=lcxe6;;
    245248     (nobel*)                local_addres=150.183.5.101;  local_host=ibms;;
    246249     (orkan)                 local_addres=130.75.105.3;   local_host=lcmuk;;
     
    390393        (lckordi) remote_addres=210.219.61.8; submcom=/usr/torque/bin/qsub;;
    391394        (lctit)   queue=S; remote_addres=10.1.6.165; submcom=/opt/pbs/tools/bin/t2sub;;
    392         (lcxt4)   remote_addres=129.177.20.113; submcom=/opt/torque/2.4.9-snap.201005191035/bin/qsub;;
     395        (lcxe6)   remote_addres=129.177.20.113; submcom=/opt/torque/2.5.10/bin/qsub;;
    393396        (lcxt5m)  remote_addres=193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;;
    394397        (lcyon)   remote_addres=165.132.26.68; submcom=/usr/torque/bin/qsub;;
     
    926929eval \`/sw/swdist/bin/modulesinit\`
    927930#. /usr/share/modules/init/bash
     931$init_cmds
    928932$module_calls
    929933
     
    945949eval \`/sw/swdist/bin/modulesinit\`
    946950#. /usr/share/modules/init/bash
     951$init_cmds
    947952$module_calls
    948953
     
    951956    fi
    952957
    953  elif [[ $remote_host = lcxt4 ]]
     958 elif [[ $remote_host = lcxe6 ]]
    954959 then
    955960
     
    969974$email_directive
    970975
    971 . /opt/modules/default/init/ksh
     976$init_cmds
    972977$module_calls
    973978
     
    988993#PBS -o $remote_dayfile
    989994
    990 . /opt/modules/default/init/ksh
     995$init_cmds
    991996$module_calls
    992997
     
    10361041#PBS -o $remote_dayfile
    10371042
    1038 . /opt/modules/default/init/ksh
     1043$init_cmds
    10391044$module_calls
    10401045
     
    10531058#PBS -o $remote_dayfile
    10541059
    1055 . /opt/modules/default/init/ksh
     1060$init_cmds
    10561061$module_calls
    10571062
     
    11411146    cat > $job_to_send << %%END%%
    11421147#!/bin/ksh
    1143 
     1148$init_cmds
    11441149$module_calls
    11451150
     
    14381443       then
    14391444          eval  $submcom  $job_on_remhost
    1440        elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxt4  ||  $localhost = lck  || $localhost = lckordi||  $localhost = lcyon ]]
     1445       elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxe6  ||  $localhost = lck  || $localhost = lckordi||  $localhost = lcyon ]]
    14411446       then
    14421447          chmod  u+x  $job_on_remhost
Note: See TracChangeset for help on using the changeset viewer.