Changeset 1224 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Sep 16, 2013 7:27:23 AM (11 years ago)
Author:
raasch
Message:

First adjustments for HLRN-III system (lccrayb).
Dummy interface added to avoid compiler warnings.

Location:
palm/trunk/SCRIPTS
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r1211 r1224  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# first adjustments for lccrayb
    2525#
    2626# Former revisions:
     
    569569    do_remote=true
    570570    case  $host  in
    571         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     571        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lccrayb|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    572572        (*)  printf "\n"
    573573             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    740740                   do_remote=true
    741741                   case  $host  in
    742                        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     742                       (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayb|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    743743                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    744744                            printf "\n      is not available"
     
    10171017    do_remote=true
    10181018    case  $host  in
    1019         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
     1019        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayb|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    10201020        (*)  printf "\n"
    10211021             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    28582858             [[ ! -f a.out ]]  &&  compile_error=true
    28592859             continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
    2860           elif [[ $localhost = lccrayf ]]
     2860          elif [[ $localhost = lccrayb  ||  $localhost = lccrayf ]]
    28612861          then
    28622862             make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
     
    35843584                # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT
    35853585                # DOES NOT EXIST
    3586              if [[ $host != lccrayf  &&  $host != lcsgih  &&  $host != lcsgib  &&  $host != lckyuh  &&  $host != lckyut ]]
     3586             if [[  $host != lccrayb  &&$host != lccrayf  &&  $host != lcsgih  &&  $host != lcsgib  &&  $host != lckyuh  &&  $host != lckyut ]]
    35873587             then
    35883588                if [[ -f $hostfile ]]
     
    36913691                      mpirun -np $ii inspxe-cl -r result -collect mi3 -- ./a.out  <  runfile_atmos
    36923692                   fi
     3693                elif [[ $host = lccrayb ]]
     3694                then
     3695                    echo "--- aprun  -n $ii  -N $tasks_per_node  a.out  $ROPTS  < runfile_atmos"
     3696                    aprun  -n $ii  -N $tasks_per_node  a.out  $ROPTS  < runfile_atmos
     3697#                    aprun  -n $ii  -ss  -r2  -j1  a.out  $ROPTS  < runfile_atmos
    36933698                elif [[ $host = lccrayf ]]
    36943699                then
     
    48394844       # BEREITSTELLUNG VON QUELLTEXTEN, MRUN-SCRIPTS UND KONFIGURATIONS-
    48404845       # DATEI FUER DEN JOB
    4841     if [[ $( echo $host | cut -c1-5 ) = lcsgi  ||  $host = ibmkisti  ||  $host = lccrayf ]]
     4846    if [[ $( echo $host | cut -c1-5 ) = lcsgi  ||  $host = ibmkisti  ||  $host = lccrayb  ||  $host = lccrayf ]]
    48424847    then
    48434848
  • palm/trunk/SCRIPTS/subjob

    r1204 r1224  
    2323# Current revisions:
    2424# ------------------
    25 #
     25# first adjustments for lccrayb
    2626#
    2727# Former revisions:
     
    138138     (bicegate2)             local_addres=130.73.232.103; local_host=lcsgib;;
    139139     (blizzard1)             local_addres=136.172.40.15;  local_host=ibmh;;
     140     (blogin*)               local_addres=130.73.233.1;   local_host=lccrayb;;
    140141     (breva)                 local_addres=130.75.105.98;  local_host=lcmuk;;
    141142     (buran)                 local_addres=130.75.105.58;  local_host=lcmuk;;
     
    324325        (ibms)    queue=p_normal; remote_addres=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    325326        (ibmy)    queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
     327        (lccrayb) queue=testq; remote_addres=130.73.233.1; submcom=/opt/torque/4.2.4.1/bin/qsub;;
    326328        (lccrayf) queue=small; remote_addres=86.50.166.21; submcom=/opt/slurm/default/bin/sbatch;;
    327329        (lcfimm)  remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
     
    378380        (ibmy)   case  $ndq  in
    379381                     (parallel)                              error=false;;
     382                     (*)                                     error=true;;
     383                 esac;;
     384        (lccrayb) case  $ndq  in
     385                     (mpp1q|mpp1testq|testq)                 error=false;;
    380386                     (*)                                     error=true;;
    381387                 esac;;
     
    767773%%END%%
    768774
     775 elif [[ $remote_host = lccrayb ]]
     776 then
     777
     778    if [[ $numprocs != 0 ]]
     779    then
     780       cat > $job_to_send << %%END%%
     781#!/bin/bash --login
     782#PBS -N $job_name
     783#PBS -l walltime=$timestring
     784#PBS -l mppwidth=$numprocs
     785#PBS -l mppnppn=$processes_per_node
     786#PBS -o $remote_dayfile
     787#PBS -j oe
     788#PBS -q $queue
     789
     790$module_calls
     791export ATP_ENABLED=0
     792export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
     793
     794%%END%%
     795
     796    else
     797
     798       continue
     799
     800    fi
     801
    769802 elif [[ $remote_host = lccrayf ]]
    770803 then
     
    16401673    else
    16411674       cd  $job_catalog
    1642        if [[ $(echo $local_host | cut -c1-5) = lcsgi  ||  $(echo $local_host | cut -c1-3) = ibm  ||  $local_host = lccrayf ]]
     1675       if [[ $(echo $local_host | cut -c1-5) = lcsgi  ||  $(echo $local_host | cut -c1-3) = ibm  ||  $(echo $local_host | cut -c1-6) = lccray ]]
    16431676       then
    16441677          eval  $submcom  $job_on_remhost
Note: See TracChangeset for help on using the changeset viewer.