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.
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.
Source Code
function all_gather(local)result(global)character(len=*),intent(in)::localcharacter(len=:),allocatable::globalinteger::pinteger,allocatable::counts(:)integer,allocatable::displs(:)integer::ierror,rcallocate(counts(0:pet_count-1))allocate(displs(0:pet_count-1))call mpi_allgather(len(local),1,MPI_INTEGER,&&counts,1,MPI_INTEGER,MPI_COMM_WORLD,ierror)_VERIFY(ierror)displs(0)=0do p=1,pet_count-1displs(p)=displs(p-1)+counts(p-1)end do allocate(character(len=sum(counts))::global)call mpi_allgatherv(local,len(local),MPI_CHAR,&global,counts,displs,MPI_CHAR,MPI_COMM_WORLD,ierror)_VERIFY(ierror)end function all_gather