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

updates for using RIAMs NEC-SX9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.