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.
program test11use kindsuse fortimeuse forunittestimplicit none#if defined(USE_MPI)type(timer)::ttype(unit_test)::utinteger::nl,nloops=3integer::ierr! MPI time with nloopscall mpi_init(ierr)call t%mtimer_start()do nl=1,nloopscall sleep(1)! Perform operations ntimesend do call t%mtimer_stop(nloops=nloops,message='MPI time:')call mpi_finalize(ierr)call t%mtimer_write('test/test11_mtimes.txt')! Optionally, write the elapsed time to a filecall ut%check(res=t%mpi_time,expected=1.0_rk,tol=1.0e-1_rk,msg='test11')#endifend program test11