New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 6024 – NEMO

Changeset 6024


Ignore:
Timestamp:
2015-12-09T10:11:11+01:00 (8 years ago)
Author:
timgraham
Message:

Changes to SETTE run scripts to get it to queue less on Met Office Cray XC40

Location:
branches/2015/dev_MetOffice_merge_2015/NEMOGCM/SETTE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-XC40_METO

    r5480 r6024  
    22#! 
    33#PBS -N nemo_sette 
    4 #PBS -l walltime=00:30:00 
     4#PBS -l walltime=00:08:00 
    55#PBS -j oe 
    6 #PBS -q QUEUE 
     6#PBS -q normal 
    77#PBS -l SELECT 
    88 
     
    7777# Run SPMD case 
    7878# 
    79     if [ $OCORES -gt 32 ] ; then 
    80         #Still more than one node so run in parallel queue 
    81         echo time aprun -b  -n $OCORES -N $O_PER_NODE ./opa 
    82              time aprun -b  -n $OCORES -N $O_PER_NODE ./opa 
    83     else 
    84        echo time mpiexec -n $OCORES ./opa 
    85             time mpiexec -n $OCORES ./opa 
    86     fi 
     79    echo time aprun -b  -n $OCORES -N $O_PER_NODE ./opa 
     80         time aprun -b  -n $OCORES -N $O_PER_NODE ./opa 
    8781  fi 
    8882# 
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/SETTE/prepare_job.sh

    r5559 r6024  
    266266                                echo NB_XNODES=${NB_XNODES}  
    267267                                echo Total NB_NODES=${NB_NODES} 
    268                                 if [ ${NB_NODES} -eq 1 ] ; then 
    269                                    QUEUE=shared 
    270                                    #Not using XIOS in detatched mode and using less than one node so should be ok on shared node 
    271                                    #Load snplauncher module to allow use of mpiexec 
    272                                    SELECT="select=1:ncpus=$((NXIO_PROC + NB_PROC))":mem=15GB 
    273                                    module load cray-snplauncher 
    274                                    echo 'Shared Queue' 
    275                                 else 
    276                                    QUEUE=normal 
    277                                    SELECT="select=$NB_NODES" 
    278                                    module unload cray-snplauncher #Make sure snplauncher module is not loaded 
    279                                    echo 'Normal Queue' 
    280                                 fi 
     268                                QUEUE=normal 
     269                                SELECT="select=$NB_NODES" 
     270                                module unload cray-snplauncher #Make sure snplauncher module is not loaded 
    281271                                ;; 
    282272                        openmpi_NAVITI_MERCATOR) 
     
    330320                    ;; 
    331321              XC40_METO*) 
    332                     cat run_sette_test.job | sed -e"s/QUEUE/${QUEUE}/" \ 
    333                                                  -e"s/SELECT/${SELECT}/" > run_sette_test1.job 
     322                    cat run_sette_test.job | sed -e"s/SELECT/${SELECT}/" > run_sette_test1.job 
    334323                    mv run_sette_test1.job run_sette_test.job 
    335324                    ;; 
Note: See TracChangeset for help on using the changeset viewer.