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.
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.
Source Code
subroutine tem_connect_toNull(null_unit)integer,intent(out)::null_unitlogical::null_connectedinquire(file=trim(null_device),opened=null_connected)if(null_connected)then inquire(file=trim(null_device),number=null_unit)! Some MPI implementations might connect stdin to the null device.! Need to check if this is the case and attempt to open it again! with a different unit to make it writable.if(null_unit==input_unit)thennull_unit=newUnit()open(file=trim(null_device),unit=null_unit)end if elsenull_unit=newUnit()open(file=trim(null_device),unit=null_unit)end if end subroutine tem_connect_toNull