Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Source Code
function Get_master_MPI(comm)result(master)integer,optional::comminteger::comm_integer::ranklogical::mastercomm_=MPI_COMM_WORLD;if(present(comm))comm_=commif(comm_/=Mpi_Comm_Null)then call MPI_Comm_rank(comm_,rank,ierr)call Error_MPI(ierr,"Get_Master_MPI")master=.false.if(rank==0)master=.true.elsemaster=.false.endif end function Get_master_MPI