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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer(kind=int32),
private
::
ierr
integer(kind=int32),
private
::
rank
integer(kind=int32),
private
::
size
Source Code
subroutine pic_comm_init(self)!! initilalize the MPI library and get the size and rank variablesclass(pic_comm_type),intent(inout)::selfinteger(int32)::ierr,rank,sizecall MPI_Init(ierr)self%m_ierr=ierrself%comm=MPI_COMM_WORLDcall MPI_Comm_size(self%comm,size,ierr)call MPI_Comm_rank(self%comm,rank,ierr)self%m_size=sizeself%m_rank=rankend subroutine pic_comm_init