Ignore:
Timestamp:
Jan 9, 2014 1:14:54 PM (10 years ago)
Author:
heinze
Message:

Adjustments for lccrayh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/subjob

    r1267 r1274  
    2323# Current revisions:
    2424# ------------------
    25 # further adjustments for lccrayb (use msub instead of qsub)
     25# adjustments for lccrayh
    2626#
    2727# Former revisions:
     
    158158     (blizzard1)             local_addres=136.172.40.15;  local_host=ibmh;;
    159159     (blogin*|bxc*)          local_addres=130.73.233.1;   local_host=lccrayb;;
     160     (hlogin*|hxc*)          local_addres=130.75.4.1;     local_host=lccrayh;;
    160161     (breva)                 local_addres=130.75.105.98;  local_host=lcmuk;;
    161162     (buran)                 local_addres=130.75.105.58;  local_host=lcmuk;;
     
    346347        (ibmy)    queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    347348        (lccrayb) queue=testq; remote_addres=130.73.233.1; submcom=/opt/moab/7.2.6/bin/msub;;
     349        (lccrayh) queue=mpp1testq; remote_addres=130.75.4.1; submcom=/opt/moab/7.2.6/bin/msub;;
    348350        (lccrayf) queue=small; remote_addres=86.50.166.21; submcom=/opt/slurm/default/bin/sbatch;;
    349351        (lcfimm)  remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
     
    403405                 esac;;
    404406        (lccrayb) case  $ndq  in
    405                      (mpp1q|mpp1testq|testq)                 error=false;;
     407                     (mpp1q|testq|specialm1q)                error=false;;
     408                     (*)                                     error=true;;
     409                 esac;;
     410        (lccrayh) case  $ndq  in
     411                     (mpp1q|mpp1testq|specialm1q|dataq)      error=false;;
    406412                     (*)                                     error=true;;
    407413                 esac;;
     
    793799%%END%%
    794800
    795  elif [[ $remote_host = lccrayb ]]
     801 elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
    796802 then
    797803
     
    13541360    echo "trap '"                               >>  $job_to_send
    13551361    echo "set +vx"                              >>  $job_to_send
    1356     if [[ $(echo $remote_host | cut -c1-3) = ibm  ||  $remote_host = lccrayb  ||  $(echo $remote_host | cut -c1-5) = lcsgi  ||  $(echo $remote_host | cut -c1-3) = nec  ||  $remote_host = lcflow  ||  $remote_host = lckiaps  ||  $remote_host = lckyu* ]]
     1362    if [[ $(echo $remote_host | cut -c1-3) = ibm  ||  $remote_host = lccrayb  ||  $remote_host = lccrayh  ||  $(echo $remote_host | cut -c1-5) = lcsgi  ||  $(echo $remote_host | cut -c1-3) = nec  ||  $remote_host = lcflow  ||  $remote_host = lckiaps  ||  $remote_host = lckyu* ]]
    13571363    then
    13581364       if [[ $remote_host = ibmh ]]
     
    13771383       then
    13781384          return_queue=SP
    1379        elif [[ $remote_host = lccrayb ]]
     1385       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
    13801386       then
    13811387          return_queue=dataq
     
    15041510          echo "%%END%%"                           >>  $job_to_send
    15051511
    1506        elif [[ $remote_host = lccrayb ]]
     1512       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
    15071513       then
    15081514          echo "cat > scpjob.$kennung << %%END%%"        >>  $job_to_send
     
    15721578       then
    15731579          echo "llsubmit  scpjob.$kennung"      >>  $job_to_send
    1574        elif [[ $remote_host = lccrayb ]]
     1580       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
    15751581       then
    15761582          echo "msub -q $return_queue  scpjob.$kennung"               >>  $job_to_send
Note: See TracChangeset for help on using the changeset viewer.