Skip to content

adam_fnl_mpih_global

ADAM, global FNL MPI handler singleton — single program-scope mpih_fnl_object instance.

Provides the GPU-aware MPI handler (FUNDAL mpih_object) as a program-scope singleton, mirroring the CPU-side adam_mpih_global pattern.

Requires explicit initialization before any FNL object is constructed. GPU applications call it with device init enabled:

fortran
 call mpih_fnl%initialize(do_mpi_init=.true., do_device_init=.true., verbose=.true.)

Non-GPU callers (e.g. unit tests) may pass do_mpi_init=.false. if MPI is already up.

Source: src/lib/fnl/adam_fnl_mpih_global.F90

Dependencies

Variables

NameTypeAttributesDescription
mpih_fnltype(mpih_object)targetProgram-scope GPU MPI handler singleton.