Skip to content

adam_mpih_gmp_object

ADAM, MPI handler class definition, GMP backend.

Extend common mpih class adding GMP features.

Source: src/lib/gmp/adam_mpih_gmp_object.F90

Dependencies

Contents

Derived Types

mpih_gmp_object

MPI handler class, GMP backend.

Inheritance

Extends: mpih_object

Components

NameTypeAttributesDescription
myrankinteger(kind=I4P)MPI rank process.
myrankstrcharacter(len=:)allocatableMPI rank process stringified.
procs_numberinteger(kind=I4P)Number of MPI processes.
memory_availreal(kind=R8P)CPU memory available (GB) for each process.
errorinteger(kind=I4P)Error traping flag.
timingreal(kind=R8P)Tic toc timing.
tictocinteger(kind=I4P)Next is tic or toc?
req_send_recvinteger(kind=I4P)allocatableMPI request receive flags.
mydevinteger(kind=I4P)My GPU rank.
myhosinteger(kind=I4P)Host ID.
local_comminteger(kind=I4P)Local communicator.

Type-Bound Procedures

NameAttributesDescription
abortpass(self)Handy MPI abort wrapper.
barrierpass(self)Handy MPI barrier wrapper.
error_stoppass(self)Stop run with error output.
finalizepass(self)Handy MPI finalize wrapper.
print_messagepass(self)Print a message on stdout with rank prefix.
tictoc_timingpass(self)Return the last tic toc timing.
ticpass(self)Start a tic toc timing.
tocpass(self)Stop a tic toc timing.
initializepass(self)Initialize MPI handler data.
descriptionpass(self)Return pretty-printed object description.

Subroutines

initialize

Initialize MPI handler data.

fortran
subroutine initialize(self, do_mpi_init, do_device_init)

Arguments

NameTypeIntentAttributesDescription
selfclass(mpih_gmp_object)inoutMPI handler.
do_mpi_initlogicalinoptionalFlag to activate MPI init call.
do_device_initlogicalinoptionalFlag to activate device init call.

Call graph

Functions

description

Return a pretty-formatted object description.

Attributes: pure

Returns: character(len=:)

fortran
function description(self) result(desc)

Arguments

NameTypeIntentAttributesDescription
selfclass(mpih_gmp_object)inMPI handler.

Call graph