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 5572 for branches/UKMO/dev_r5107_hadgem3_cplseq/NEMOGCM/SETTE – NEMO

Ignore:
Timestamp:
2015-07-09T12:14:37+02:00 (9 years ago)
Author:
davestorkey
Message:

Update UKMO/dev_r5107_hadgem3_cplseq branch to trunk revision 5518
(= branching point of NEMO 3.6_stable).

Location:
branches/UKMO/dev_r5107_hadgem3_cplseq/NEMOGCM/SETTE
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5107_hadgem3_cplseq/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-IBM_EKMAN_INGV

    r4277 r5572  
    22#! 
    33#BSUB -q long 
    4 #BSUB -n NPROCS 
     4#BSUB -n TOTAL_NPROCS 
    55#BSUB -J MPI_config 
    66#BSUB -o stdout.%J 
     
    1414# 
    1515  OCEANCORES=NPROCS 
     16  XIOS_NUMPROCS=NXIOPROCS 
    1617  export SETTE_DIR=DEF_SETTE_DIR 
    1718 
     
    2324# 
    2425 
     26 MPIPROGINF=detail 
     27 export MPIPROGINF 
     28 export LSF_PJL_TYPE="intelmpi" 
     29 export MP_PGMMODEL=mpmd 
     30 export MP_SHARED_MEMORY=yes 
    2531 export MPIRUN="mpirun -n $OCEANCORES" 
    26  
    27 #export MPIRUN="mpirun -np" 
     32 export MPIRUN_MPMD="mpirun -np $OCEANCORES ./opa : -np $XIOS_NUMPROCS /home/delrosso/XIOS_1.0/xios-1.0/bin/xios_server.exe" 
    2833 
    2934# 
     
    6772 
    6873  if [ MPI_FLAG == "yes" ]; then 
    69      time ${MPIRUN} ./opa 
     74     if [ $XIOS_NUMPROCS -eq 0 ]; then 
     75       time ${MPIRUN} ./opa 
     76     else 
     77       time ${MPIRUN_MPMD} 
     78     fi 
    7079  else 
    71      time ./opa 
     80       time ./opa 
    7281  fi 
    7382# 
  • branches/UKMO/dev_r5107_hadgem3_cplseq/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_CURIE

    r4147 r5572  
    88#MSUB -n NPROCS              # Total number of mpi task to use 
    99####  #MSUB -N 2                   # number of nodes to use 
    10 #MSUB -A gen0826             # project name 
     10#MSUB -ra2286             # project name 
    1111#MSUB -q standard            # (queue name) only for thin nodes 
    1212########################################################################## 
     
    3333module unload netcdf 
    3434module unload hdf5 
    35 module load netcdf/4.2_hdf5_parallel 
    36 module load hdf5/1.8.9_parallel 
     35module load netcdf/4.3.3.1_hdf5_parallel 
     36module load hdf5/1.8.12_parallel 
    3737 
    3838# Don't remove neither change the following line 
  • branches/UKMO/dev_r5107_hadgem3_cplseq/NEMOGCM/SETTE/prepare_job.sh

    r4814 r5572  
    226226                                        # round up the number of nodes required. 
    227227                                        # 
    228                                         NB_NODES=$( echo $NB_NODES $NXIO_PROC | awk '{print ($1 + ( $2 / 4 ) + 1)}')                     
     228                                        NB_NODES=$( echo $NB_NODES $NXIO_PROC | awk '{print ($1 + ( $2 / 4 ) + 1)}')  
     229                                fi 
     230                                ;; 
     231                        XC40_METO*) #Setup for Met Office XC40 with any compiler 
     232                                # ocean cores are packed 32 to a node 
     233                                # If we need more than one node then have to use parallel queue and XIOS must have a node to itself 
     234                                NB_REM=$( echo $NB_PROC | awk '{print ( $1 % 32 ) }') 
     235                                if [ ${NB_REM} == 0 ] ; then 
     236                                        # number of processes required is an integer multiple of 32 
     237                                        # 
     238                                        NB_NODES=$( echo $NB_PROC $NXIO_PROC | awk '{print ($1) / 32}') 
     239                                else 
     240                                        # 
     241                                        # number of processes required is not an integer multiple of 32 
     242                                        # round up the number of nodes required. 
     243                                        # 
     244                                        NB_NODES=$( echo $NB_PROC $NXIO_PROC | awk '{printf("%d",($1) / 32 + 1 )}') 
     245                                fi 
     246                                # xios cores are sparsely packed at 4 to a node 
     247                                if [ $NXIO_PROC == 0 ] ; then 
     248                                    NB_XNODES=0 
     249                                else 
     250                                    NB_REM=$( echo $NXIO_PROC | awk '{print ( $1 % 4 ) }') 
     251                                    if [ ${NB_REM} == 0 ] ; then 
     252                                            # number of processes required is an integer multiple of 4                            
     253                                            # 
     254                                            NB_XNODES=$( echo $NXIO_PROC | awk '{print (( $1 / 4 ) + 1)}')  
     255                                    else 
     256                                            # 
     257                                            # number of processes required is not an integer multiple of 4                              
     258                                            # round up the number of nodes required. 
     259                                            # 
     260                                            NB_XNODES=$( echo $NXIO_PROC | awk '{printf("%d",($1) / 4 + 1) }')                     
     261                                    fi 
     262                                fi 
     263                                if [ ${NB_XNODES} -ge 1 ] ; then 
     264                                   NB_NODES=$((NB_NODES+NB_XNODES)) 
     265                                fi 
     266                                echo NB_XNODES=${NB_XNODES}  
     267                                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' 
    229280                                fi 
    230281                                ;; 
     
    279330                    cat run_sette_test.job | sed -e"s/NPROC_NODE/${NB_PROC_NODE}/" \ 
    280331                                                 -e"s:QUEUE:${QUEUE}:" > run_sette_test1.job 
     332                    mv run_sette_test1.job run_sette_test.job 
     333                    ;; 
     334              XC40_METO*) 
     335                    cat run_sette_test.job | sed -e"s/QUEUE/${QUEUE}/" \ 
     336                                                 -e"s/SELECT/${SELECT}/" > run_sette_test1.job 
    281337                    mv run_sette_test1.job run_sette_test.job 
    282338                    ;; 
  • branches/UKMO/dev_r5107_hadgem3_cplseq/NEMOGCM/SETTE/sette.sh

    r4990 r5572  
    142142# ORCA2_LIM_OBS:   15 
    143143# ORCA2_AGRIF_LIM :16 
    144 for config in  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 
     144for config in  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
    145145 
    146146do 
     
    857857    export TEST_NAME="REPRO_4_8" 
    858858    . ./prepare_exe_dir.sh 
     859    JOB_FILE=${EXE_DIR}/run_job.sh 
     860    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    859861    cd ${EXE_DIR} 
    860862    set_namelist namelist_cfg nn_it000 1 
     
    10001002    export TEST_NAME="LONG" 
    10011003    cd ${CONFIG_DIR} 
    1002     . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -r ISOMIP -j 8 del_key ${DEL_KEYS} 
     1004    . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -u ISOMIP -j 8 del_key ${DEL_KEYS} 
    10031005    cd ${SETTE_DIR} 
    10041006    . ./param.cfg 
     
    10681070    export TEST_NAME="REPRO_1_4" 
    10691071    cd ${CONFIG_DIR} 
    1070     . ./makenemo -m ${CMP_NAM} -n ISOMIP_4 -r ISOMIP -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS} 
     1072    . ./makenemo -m ${CMP_NAM} -n ISOMIP_4 -u ISOMIP -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS} 
    10711073    cd ${SETTE_DIR} 
    10721074    . ./param.cfg 
Note: See TracChangeset for help on using the changeset viewer.