Neko on Fugaku (hybrid MPI+OpenMP) #2587
njansson
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Instructions
To compile Neko on Fugaku for the A64FX CPU using the Fujitsu compiler, with hybrid MPI+OpenMP parallelism.
The Fujitsu cross-compilers (
frtpx,fccpx,mpifrtpx,mpifccpx) are available on the login nodes by default. BLAS/LAPACK are provided by Fujitsu SSL II, so no external BLAS is needed — it is pulled in via the-SSL2flag below.Configure Neko using the following options.:
Build using:
The A64FX has 4 Core-Memory-Groups (CMGs) of 12 cores each (48 compute cores/node), so a natural hybrid layout is 4 MPI ranks per node × 12 OpenMP threads per rank, which keeps each rank inside one CMG/NUMA domain.
Example PJM jobscript:
The job output is as follows (note the output of OpenMP threads per rank):
Important Notes
patches/fujitsu_memleak.patchmust be applied to avoid OOM for long running jobsMPI) and MPI neighbourhood collective (NEIGHBOUR) gather-scatter communication backend, the later seems to in general perform better on the Tofu network.All reactions