Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
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.
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
subroutine tests_roundtripuse mpiuse modmpi,only:nprocx,nprocyuse readnamelists,only:writenamelistsimplicit noneinteger::ierr,nprocs,myid,last_proccall MPI_COMM_RANK(MPI_COMM_WORLD,myid,ierr)call MPI_COMM_SIZE(MPI_COMM_WORLD,nprocs,ierr)last_proc=nprocs-1if(myid==0)then write(*,*)'========================================='write(*,*)'INPUT ROUND-TRIP TEST'write(*,*)'========================================='write(*,*)'Total processes:',nprocswrite(*,*)'Requested nprocx*nprocy:',nprocx*nprocywrite(*,*)'Last process ID:',last_procwrite(*,*)'========================================='end if call MPI_BARRIER(MPI_COMM_WORLD,ierr)if(myid==last_proc)then write(*,*)' Last process (',myid,') received ALL INPUT VALUES:'call writenamelistsend if end subroutine tests_roundtrip