Ignore:
Timestamp:
Aug 27, 2008 2:34:51 PM (16 years ago)
Author:
raasch
Message:

further adjustments and bugfixes for SGI system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/subjob

    r186 r191  
    312312        (ibmy)   queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    313313        (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
    314         (lcsgib) remote_addres=130.73.232.102; submcom=/opt/torque/bin/qsub;;
    315         (lcsgih) remote_addres=130.75.4.102; submcom=/opt/torque/bin/qsub;;
     314        (lcsgib) queue=smallq; remote_addres=130.73.232.102; submcom=/opt/torque/bin/qsub;;
     315        (lcsgih) queue=smallq; remote_addres=130.75.4.102; submcom=/opt/moab/bin/msub;;
    316316        (lctit)  queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;;
    317317        (lcxt4)  remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;;
     
    350350        (ibmy)   case  $ndq  in
    351351                     (parallel)                              error=false;;
     352                     (*)                                     error=true;;
     353                 esac;;
     354        (lcsgib|lcsgih)   case  $ndq  in
     355                     (testq|smallq|bigq)                     error=false;;
    352356                     (*)                                     error=true;;
    353357                 esac;;
     
    672676 then
    673677
     678    if [[ $queue = testq ]]
     679    then
     680       queue_directive="#PBS -q $queue"
     681    else
     682       queue_directive=""
     683    fi
     684
    674685    if [[ $numprocs != 0 ]]
    675686    then
     
    683694#PBS -o $remote_dayfile
    684695#PBS -j oe
     696$queue_directive
    685697
    686698. /usr/share/modules/init/bash
    687699# module load mvapich/mvapich-0.9.9-intel
    688 module load mvapich2/1.2rc1-intel
     700module load mvapich2
    689701module load netcdf
    690702export LD_LIBRARY_PATH=/sw/intel/cce/10.1.015/lib:/sw/intel/fce/10.1.015/lib:/sw/dataformats/netcdf/3.6.2/lib:\$LD_LIBRARY_PATH
     
    941953          echo "#PBS -l nodes=1:ppn=1"                   >>  $job_to_send
    942954          echo "#PBS -l feature=xe"                      >>  $job_to_send
    943           echo "#PBS -l naccesspolicy=shared"            >>  $job_to_send
    944955          echo "#PBS -o \$HOME/job_queue/last_job_transfer_protocol"      >>  $job_to_send
    945956          echo "#PBS -j oe"                        >>  $job_to_send
     
    11021113       if [[ $remote_host != lctit ]]
    11031114       then
    1104           if [[ $remote_host = lcsgih  ||  $remote_host = lcsgib ]]
    1105           then
    1106              ssh  $remote_addres  -l $remote_user  "cd $job_catalog; $submcom  -q workq  $job_on_remhost; rm $job_on_remhost"
    1107           else
    1108              ssh  $remote_addres  -l $remote_user  "cd $job_catalog; $submcom $job_on_remhost; rm $job_on_remhost"
    1109           fi
     1115          ssh  $remote_addres  -l $remote_user  "cd $job_catalog; $submcom $job_on_remhost; rm $job_on_remhost"
    11101116       else
    11111117             # TIT ERLAUBT NUR DIE AUSFÜHRUNG GANZ BESTIMMTER KOMMANDOS
Note: See TracChangeset for help on using the changeset viewer.