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 test_main()! Initialize framework! --------------------call ESMF_Initialize(vm=vm,rc=status)_VERIFY(status)IamRoot=GEOS_am_I_root()! Get the global vm! -----------------call ESMF_VMGetGlobal(vm,rc=status)_VERIFY(status)! Create a grid! -------------grid=MyGridCreate_(vm,rc=status)_VERIFY(status)! Get local im, jm! ----------------if(IamRoot)print*,'Hello, World'! Allocate and write global array! -------------------------------if(IamRoot)then allocate(gArr(IM_WORLD,JM_WORLD))gArr=1.0;open(lu,filen=dirname//'/global.dat')do n=1,ntimeswrite(lu)gArrend do close(lu)end if! Next, scatter array! -------------------call! All done! --------call ESMF_Finalize(status)_VERIFY(STATUS)end subroutine test_main