Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. 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.
SUBROUTINE CheckCachedIPErrors
! SUBROUTINE INFORMATION:
! AUTHOR Linda Lawrie
! DATE WRITTEN August 2010
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This routine displays the cached error messages after the preprocessor
! errors have been checked and produced.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE SQLiteProcedures, ONLY: WriteOutputToSQLite,CreateSQLiteErrorRecord,UpdateSQLiteErrorRecord
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
! na
! SUBROUTINE PARAMETER DEFINITIONS:
CHARACTER(len=*), PARAMETER :: fmta='(A)'
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: iostatus
CHARACTER(len=500) ErrorMessage
CLOSE(Unit=CacheIPErrorFile)
OPEN(Unit=CacheIPErrorFile,File='eplusout.iperr')
iostatus=0
DO WHILE(iostatus == 0)
READ(CacheIPErrorFile,fmta,iostat=iostatus) ErrorMessage
if (iostatus /= 0) EXIT
CALL ShowErrorMessage(trim(ErrorMessage))
IF(WriteOutputToSQLite) THEN
! Following code relies on specific formatting of Severes, Warnings, and continues
! that occur in the IP processing. Later ones -- i.e. Fatals occur after the
! automatic sending of error messages to SQLite are turned on.
IF (ErrorMessage(5:5) == 'S') THEN
CALL CreateSQLiteErrorRecord(1,1,ErrorMessage,0)
ELSEIF (ErrorMessage(5:5) == 'W') THEN
CALL CreateSQLiteErrorRecord(1,0,ErrorMessage,0)
ELSEIF (ErrorMessage(7:7) == '~') THEN
CALL UpdateSQLiteErrorRecord(ErrorMessage)
ENDIF
ENDIF
ENDDO
CLOSE(Unit=CacheIPErrorFile,Status='delete')
RETURN
END SUBROUTINE CheckCachedIPErrors