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.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*) | :: | ErrorMessage | ||||
integer, | optional | :: | OutUnit1 | |||
integer, | optional | :: | OutUnit2 |
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 ShowWarningMessage(ErrorMessage,OutUnit1,OutUnit2)
! SUBROUTINE INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN September 2009
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine puts ErrorMessage with a Warning designation on
! designated output files.
! But does not bump the error count so can be used in conjunction with recurring
! error calls.
! METHODOLOGY EMPLOYED:
! Calls ShowErrorMessage utility routine.
! REFERENCES:
! na
! USE STATEMENTS:
USE DataStringGlobals
USE DataErrorTracking
USE DataInterfaces, ONLY: ShowErrorMessage
USE SQLiteProcedures, ONLY: CreateSQLiteErrorRecord, WriteOutputToSQLite
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*) ErrorMessage
INTEGER, OPTIONAL :: OutUnit1
INTEGER, OPTIONAL :: OutUnit2
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! see DataInterfaces
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER Loop
DO Loop=1,SearchCounts
IF (INDEX(ErrorMessage,TRIM(MessageSearch(Loop))) > 0) MatchCounts(Loop)=MatchCounts(Loop)+1
ENDDO
CALL ShowErrorMessage(' ** Warning ** '//ErrorMessage,OutUnit1,OutUnit2)
IF(WriteOutputToSQLite) THEN
CALL CreateSQLiteErrorRecord(1,0,ErrorMessage,0)
ENDIF
RETURN
END SUBROUTINE ShowWarningMessage