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 search_file(filename,text,found,rc)character(*),intent(in)::filenamecharacter(*),intent(in)::textlogical,intent(out)::foundinteger,intent(out)::rccharacter(ESMF_MAXSTR)::recordinteger::ioerrinteger::unitnorc=ESMF_FAILUREfound=.false.call ESMF_UtilIOUnitGet(unitno)open(unit=unitno,file=filename,status='old',&action='read',position='rewind',iostat=ioerr)if(ioerr/=0)then print*,'Could not open file: ',trim(filename),', iostat =',ioerrreturn end if do read(unitno,'(a)',iostat=ioerr)recordif(ioerr/=0)exitfound=index(record,text)>0if(found)exit end do close(unitno)rc=ESMF_SUCCESSend subroutine search_file