Repository navigation
Notes on processor decomposition
jpolton edited this page May 19, 2022
·
1 revision
First time through don't specify the processor decomposition. In namelist_cfg:
!-----------------------------------------------------------------------
&nammpp ! Massively Parallel Processing ("key_mpp_mpi")
!-----------------------------------------------------------------------
... ! if T: the largest number of cores tested is defined by max(mppsize, jpni*jpnj)
ln_nnogather = .true. ! activate code to avoid mpi_allgather use at the northfold
jpni = -1 ! jpni number of processors following i (set automatically if < 1)
jpnj = -1 ! jpnj number of processors following j (set automatically if < 1)
After running inspect ocean.output to see the recommended processor decomposition and update accordingly. For example (as in the repository):
!-----------------------------------------------------------------------
&nammpp ! Massively Parallel Processing ("key_mpp_mpi")
!-----------------------------------------------------------------------
... ! if T: the largest number of cores tested is defined by max(mppsize, jpni*jpnj)
ln_nnogather = .true. ! activate code to avoid mpi_allgather use at the northfold
jpni = 38 ! jpni number of processors following i (set automatically if < 1)
jpnj = 55 ! jpnj number of processors following j (set automatically if < 1)
See https://docs.archer2.ac.uk/research-software/nemo/nemo for guidance on running NEMO on ARCHER2.
For example: 1 xios (S)erver, (s)pacing of 16, 1 server-per-node (m), 2 ocean Cores, with a spacing of 2 (c)
mkslurm -S 1 -s 16 -m 1 -C 2 -c 2 -t 00:10:00 -a n01-ACCORD -j nemo_test
Probably the thing to play with on this small job is the ocean core spacing 'c' and xios server spacing 's'.