Changeset 251 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Mar 3, 2009 2:31:06 AM (16 years ago)
Author:
raasch
Message:

updates for using RIAMs NEC-SX9

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

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r246 r251  
    170170     # 25/02/09 - Siggi  - cputime-option (-t) is allowed to be omitted for
    171171     #                     interactive runs
     172     # 02/03/09 - Siggi  - adjustments for new NEC-SX9 at RIAM (necriam)
    172173
    173174
     
    603604    do_remote=true
    604605    case  $host  in
    605         (ibm|ibmb|ibmh|ibms|ibmy|nech|neck|lcsgib|lcsgih|lctit|unics|lcxt4)  true;;
     606        (ibm|ibmb|ibmh|ibms|ibmy|nech|necriam|lcsgib|lcsgih|lctit|unics|lcxt4)  true;;
    606607        (*)  printf "\n"
    607608             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    778779                   do_remote=true
    779780                   case  $host  in
    780                        (ibm|ibms|ibmy|lcsgib|lcsgih|lctit|nech|neck|unics|lcxt4)  true;;
     781                       (ibm|ibms|ibmy|lcsgib|lcsgih|lctit|nech|necriam|unics|lcxt4)  true;;
    781782                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    782783                            printf "\n      is not available"
     
    924925    mrun_numprocs=$numprocs
    925926
    926     if [[ $localhost_realname = "gate" ]]
    927     then
    928        interpret_config_gate.x
     927    if [[ $localhost_realname = "sx-fep" ]]
     928    then
     929       /home/COAR/NC/raasch/pub/interpret_config_necriam.x
    929930    else
    930931       interpret_config.x
     
    10331034    do_remote=true
    10341035    case  $host  in
    1035         (ibm|ibmb|ibmh|ibms|ibmy|lcsgib|lcsgih|lctit|nech|neck|unics|lcxt4)  true;;
     1036        (ibm|ibmb|ibmh|ibms|ibmy|lcsgib|lcsgih|lctit|nech|necriam|unics|lcxt4)  true;;
    10361037        (*)  printf "\n"
    10371038             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    10621063       # DEFAULT-WERT SETZEN) UND OB SIE EIN GANZZAHLIGER TEILER DER
    10631064       # GESAMTPROZESSORANZAHL IST
    1064     if [[ $host = nech  ||  $host = neck  ||  $host = ibmh  ||  $host = ibmb  ||  $host = ibms ]]
     1065    if [[ $host = nech  ||  $host = necriam  ||  $host = ibmh  ||  $host = ibmb  ||  $host = ibms ]]
    10651066    then
    10661067       [[ "$tasks_per_node" = "" ]]  &&  tasks_per_node=6
     
    11921193        (lctit)      queue=sla3;;
    11931194        (nech)       queue=none;;
    1194         (neck)       queue=P;;
     1195        (necriam)    queue=SS;;
    11951196        (unics)      queue=unics;;
    11961197    esac
     
    19031904
    19041905
    1905     # COMPILER AUF NECK UEBERSCHREIBEN
    1906  [[ $localhost = neck ]]  &&  compiler_name=mpif90
     1906    # COMPILER AUF RIAMS NEC UEBERSCHREIBEN
     1907 [[ $localhost = necriam ]]  &&  compiler_name=mpif90
    19071908
    19081909
     
    29362937                fi
    29372938             fi
    2938           elif [[ $host = nech  ||  $host = neck ]]
     2939          elif [[ $host = nech  ||  $host = necriam ]]
    29392940          then
    29402941             (( ii = nodes ))
  • palm/trunk/SCRIPTS/subjob

    r221 r251  
    9595     # 23/09/08 - Gerald- paesano admitted
    9696     # 02/10/08 - Siggi - PBS adjustments for lcxt4
     97     # 02/03/09 - Siggi - Adjustments for new NEC-SX9 at RIAM
    9798
    9899
     
    170171     (fimm.bccs.uib.no)      local_addres=172.20.4.2;     local_host=lcfimm;;
    171172     (gallego)               local_addres=130.75.105.10;  local_host=lcmuk;;
    172      (gate|n-sx)             local_addres=133.5.178.11;   local_host=neck;;
    173173     (gfdl5)                 local_addres=165.132.26.58;  local_host=ibmy;;
    174174     (gfdl3.yonsei.ac.kr)    local_addres=165.132.26.56;  local_host=decalpha;;
     
    191191     (scirocco)              local_addres=172.20.25.41;   local_host=lcmuk;;
    192192     (sun1|sun2)             local_addres=130.75.6.1;     local_host=unics;;
     193     (sx-fep)                local_addres=172.16.1.131;   local_host=necriam;;
    193194     (r1*)                   local_addres=130.75.4.102;   local_host=lcsgih;;
    194195     (r2*)                   local_addres=130.73.232.102; local_host=lcsgib;;
     
    249250    printf "\n        -h    execution host, available hosts:    $remote_host"
    250251    printf "\n              ibm, ibmb, ibmh, ibms, ibmy, lcmuk,"
    251     printf "\n              lctit, nech, neck, unics"
     252    printf "\n              lctit, nech, necriam, unics"
    252253    printf "\n        -m    memory demand per process in MByte  ---"
    253254    printf "\n        -n    jobname                             <jobdatei>"
     
    312313 else
    313314    case  $remote_host  in
    314         (ibm)    queue=p690_standard; remote_addres=134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    315         (ibmb)   queue=cpar; remote_addres=130.73.230.10; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    316         (ibmh)   queue=cpar; remote_addres=130.75.4.10; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    317         (ibms)   queue=p_normal; remote_addres=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    318         (ibmy)   queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    319         (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
    320         (lcsgib) queue=smallq; remote_addres=130.73.232.102; submcom=/opt/moab/bin/msub;;
    321         (lcsgih) queue=smallq; remote_addres=130.75.4.103; submcom=/opt/moab/bin/msub;;
    322         (lctit)  queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;;
    323         (lcxt4)  remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;;
    324         (nech)   qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=136.172.44.147; submcom="/usr/local/bin/qsub";;
    325         (neck)   qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=133.5.178.11; submcom="/usr/bin/nqsII/qsub";;
    326         (vpp)    qsubmem=m; qsubtime=t; queue=vpp; remote_addres=130.75.4.130;;
    327         (unics)  qsubmem=d; qsubtime=t; queue=unics; remote_addres=130.75.6.1;;
    328         (*)      printf "\n  +++ hostname \"$remote_host\" not allowed";
    329                  locat=parameter; exit;;
     315        (ibm)     queue=p690_standard; remote_addres=134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
     316        (ibmb)    queue=cpar; remote_addres=130.73.230.10; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
     317        (ibmh)    queue=cpar; remote_addres=130.75.4.10; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
     318        (ibms)    queue=p_normal; remote_addres=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
     319        (ibmy)    queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
     320        (lcfimm)  remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
     321        (lcsgib)  queue=smallq; remote_addres=130.73.232.102; submcom=/opt/moab/bin/msub;;
     322        (lcsgih)  queue=smallq; remote_addres=130.75.4.103; submcom=/opt/moab/bin/msub;;
     323        (lctit)   queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;;
     324        (lcxt4)   remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;;
     325        (nech)    qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=136.172.44.147; submcom="/usr/local/bin/qsub";;
     326        (necriam) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=172.16.1.131; submcom="/usr/bin/nqsII/qsub";;
     327        (vpp)     qsubmem=m; qsubtime=t; queue=vpp; remote_addres=130.75.4.130;;
     328        (unics)   qsubmem=d; qsubtime=t; queue=unics; remote_addres=130.75.6.1;;
     329        (*)       printf "\n  +++ hostname \"$remote_host\" not allowed";
     330                  locat=parameter; exit;;
    330331    esac
    331332 fi
     
    370371                     (*)    error=true;;
    371372                 esac;;
     373        (necriam) case  $ndq  in
     374                     (SS|P6|X)  error=false;;
     375                     (*)    error=true;;
     376                 esac;;
    372377        (t3eh)   case  $ndq  in
    373378                     (para_t3e|em|k|l|lm|comp_t3e|c|p|ht)  error=false;;
     
    454459 done
    455460
    456  if [[ $remote_host = nech  ||  $remote_host = neck ]]
     461 if [[ $remote_host = nech  ||  $remote_host = necriam ]]
    457462 then
    458463    if (( tasks_per_node != 0 ))
     
    803808    fi
    804809
    805  elif [[ $remote_host = neck ]]
     810 elif [[ $remote_host = necriam ]]
    806811 then
    807812
     
    810815       cat > $job_to_send << %%END%%
    811816#!/bin/ksh
    812 #PBS -l cpunum_prc=$tasks_per_node,cputim_job=$cputime
    813 #PBS -l ${qsubmem}=${Memory}gb
    814817#PBS -b $nodes
    815818#PBS -o $remote_dayfile
    816819#PBS -N palm
    817820#PBS -j o
    818 #PBS -T mpisx
     821#PBS -v MPIPROGINV=YES
    819822
    820823%%END%%
     
    825828#!/bin/ksh
    826829#PBS -q ${queue}
    827 #PBS -l cpunum_prc=$tasks_per_node,cputim_job=$cputime
    828 #PBS -l ${qsubmem}=${Memory}gb
    829830#PBS -o $remote_dayfile
    830831#PBS -N palm
    831832#PBS -j o
    832 #PBS -T mpisx
     833#PBS -v MPIPROGINV=YES
    833834
    834835%%END%%
     
    837838       cat > $job_to_send << %%END%%
    838839#!/bin/ksh
    839 #PBS -l ${qsubmem}=${Memory}gb,${qsubtime}=$cputime
    840840#PBS -o $remote_dayfile
    841841#PBS -j o
     
    897897       then
    898898          return_queue=sla3
    899        elif [[ $remote_host = neck ]]
    900        then
    901           return_queue=S
     899       elif [[ $remote_host = necriam ]]
     900       then
     901          return_queue=SS
    902902       else
    903903          return_queue=unknown
     
    939939          echo "%%END%%"                           >>  $job_to_send
    940940
    941        elif [[ $remote_host = neck ]]
     941       elif [[ $remote_host = necriam ]]
    942942       then
    943943          echo "cat > scpjob.$kennung << %%END%%"  >>  $job_to_send
    944944          echo "#PBS -q $return_queue"             >>  $job_to_send
    945           echo "#PBS -l ${qsubmem}=1GB,${qsubtime}=100"  >>  $job_to_send
    946945          echo "#PBS -o last_job_transfer_protocol"      >>  $job_to_send
    947946          echo "#PBS -j o"                         >>  $job_to_send
Note: See TracChangeset for help on using the changeset viewer.