Ignore:
Timestamp:
Mar 8, 2011 8:27:49 AM (13 years ago)
Author:
raasch
Message:

New:
---
adjustments for ibmkisti (pres, batch_scp, mbuild, mrun, subjob)

new default configuration files .mrun.config.yonsei2011 and .config_block_for_ibmkisti

Changed:


Errors:


bugfix: weighting coefficient added to ibm branch (pres)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/subjob

    r678 r693  
    127127     #                    institute of technology (lctit)
    128128     # 02/02/11 - Siggi - further asjustments for Tsubame concerning openMP
     129     # 06/03/11 - Siggi - adjustments for ibmkisti
    129130
    130131
     
    204205     (bicegate2)             local_addres=130.73.232.103; local_host=lcsgib;;
    205206     (caurus)                local_addres=130.75.105.19;  local_host=lcmuk;;
     207     (climate*)              local_addres=165.132.26.68;  local_host=lcyon;;
    206208     (compute-*.local)       local_addres=172.20.4.2;     local_host=lcfimm;;
    207209     (cs*)                   local_addres=136.172.44.131; local_host=nech;;
     
    209211     (fimm.bccs.uib.no)      local_addres=172.20.4.2;     local_host=lcfimm;;
    210212     (node*)                 local_addres=165.132.26.61   local_host=lck;;
     213     (gaia*)                 local_addres=150.183.146.24; local_host=ibmkisti;;
    211214     (gallego)               local_addres=130.75.105.10;  local_host=lcmuk;;
    212215     (gfdl5)                 local_addres=165.132.26.58;  local_host=ibmy;;
     
    297300    printf "\n        -D    only the job-file will be created   ---"
    298301    printf "\n        -h    execution host, available hosts:    $remote_host"
    299     printf "\n              ibm, ibmh, ibmku, ibms, ibmy, lc...,"
     302    printf "\n              ibm, ibmh, ibmkisti, ibmku, ibms, ibmy, lc...,"
    300303    printf "\n              lctit, nech, necriam, unics"
    301304    printf "\n        -m    memory demand per process in MByte  ---"
     
    363366        (ibm)     queue=p690_standard; remote_addres=134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    364367        (ibmh)    queue=no_class; remote_addres=136.172.40.15; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
     368        (ibmkisti) queue=class.32plus; remote_addres=150.183.146.24; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    365369        (ibmku)   queue=s4; remote_addres=133.5.4.129; submcom=/usr/local/bin/llsubmit;;
    366370        (ibms)    queue=p_normal; remote_addres=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
     
    374378        (lcxt4)   remote_addres=129.177.20.113; submcom=/opt/torque/2.4.9-snap.201005191035/bin/qsub;;
    375379        (lcxt5m)  remote_addres=193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;;
     380        (lcyon)   remote_addres=165.132.26.68; submcom=/usr/torque/bin/qsub;;
    376381        (nech)    qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=136.172.44.147; submcom="/usr/local/bin/qsub";;
    377382        (necriam) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=172.16.1.131; submcom="/usr/bin/nqsII/qsub";;
     
    396401        (ibmh)   case  $ndq  in
    397402                     (no_class)  error=false;;
     403                     (*)                                     error=true;;
     404                 esac;;
     405        (ibmkisti)   case  $ndq  in
     406                     (class.32plus|class.1-2|class.2-32)  error=false;;
    398407                     (*)                                     error=true;;
    399408                 esac;;
     
    589598 else
    590599    remote_dayfile=/dev/null
    591     if [[ $(echo $remote_host | cut -c1-3) = ibm ]]
    592     then
    593        notification='# @ notification = never'
    594     fi
    595600 fi
    596601
     
    610615    data_limit="# @ data_limit = 1.76gb"
    611616    image_size="# @ image_size = 50"
    612 
     617    wall_clock_limit="# @ wall_clock_limit = ${timestring},$timestring"
     618
     619    if [[ $email_notification = none ]]
     620    then
     621       notify_user=""
     622    else
     623       notify_user="# @ notify_user = $email_notification"
     624       if [[ $delete_dayfile = true ]]
     625       then
     626          notification='# @ notification = never'
     627       fi
     628    fi
    613629
    614630    if [[ $remote_host = ibmh ]]
     
    618634       class=""
    619635       environment=""
     636    elif [[ $remote_host = ibmkisti ]]
     637    then
     638       network_to_use="# @ network.MPI = sn_all,shared,US"
     639       wall_clock_limit="# @ wall_clock_limit = $timestring"
     640       rset="# @ rset = RSET_MCM_AFFINITY"
     641       mcm_affinity_options="# @ mcm_affinity_options = mcm_mem_pref mcm_sni_none mcm_distribute"
     642       environment=""
     643       use_shell=""
     644       data_limit=""
     645       image_size=""
    620646    elif [[ $remote_host = ibmku ]]
    621647    then
     
    641667
    642668# @ job_type = parallel
    643 # @ job_name = palm
    644 # @ wall_clock_limit = ${timestring},$timestring
     669# @ job_name = $job_name
    645670# @ resources = ConsumableCpus($threads_per_task) $consumable_memory
    646671# @ output = $remote_dayfile
    647672# @ error = $remote_dayfile
     673$wall_clock_limit
    648674$image_size
    649675$class
     
    651677$network_to_use
    652678$data_limit
     679$rset
     680$mcm_affinity_options
    653681$notification
     682$notify_user
    654683
    655684%%END%%
     
    658687    then
    659688
    660        cat >> $job_to_send << %%END%%
     689       if [[ $remote_host != ibmkisti ]]
     690       then
     691
     692          cat >> $job_to_send << %%END%%
    661693# @ node = $nodes
    662694# @ tasks_per_node = $processes_per_node
     
    665697
    666698%%END%%
     699
     700       else
     701
     702          cat >> $job_to_send << %%END%%
     703# @ total_tasks = $numprocs
     704# @ blocking = unlimited
     705# @ queue
     706
     707%%END%%
     708
     709       fi
    667710
    668711    else
     
    762805
    763806mpd &
     807
     808%%END%%
     809
     810    else
     811       cat > $job_to_send << %%END%%
     812#!/bin/ksh
     813#PBS -N $job_name
     814#PBS -l walltime=$timestring
     815#PBS -l ncpus=1
     816#PBS -l pmem=${memory}mb
     817#PBS -o $remote_dayfile
     818#PBS -j oe
     819
     820%%END%%
     821
     822    fi
     823
     824 elif [[ $remote_host = lcyon ]]
     825 then
     826
     827    if [[ $numprocs != 0 ]]
     828    then
     829       cat > $job_to_send << %%END%%
     830#!/bin/ksh
     831#PBS -N $job_name
     832#PBS -l walltime=$timestring
     833#PBS -l ncpus=$numprocs
     834#PBS -l pmem=${memory}mb
     835#PBS -o $remote_dayfile
     836#PBS -j oe
    764837
    765838%%END%%
     
    10801153       then
    10811154          return_queue=c1
     1155       elif [[ $remote_host = ibmkisti ]]
     1156       then
     1157          return_queue=class.1-2
    10821158       elif [[ $remote_host = ibmku ]]
    10831159       then
     
    13321408       then
    13331409          eval  $submcom  $job_on_remhost
    1334        elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxt4 || $localhost = lck ]]
     1410       elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxt4  ||  $localhost = lck  ||  $localhost = lcyon ]]
    13351411       then
    13361412          chmod  u+x  $job_on_remhost
Note: See TracChangeset for help on using the changeset viewer.