Skip to content

Commit eb8bb37

Browse files
committed
NAG is strict about the width parameter for logical output format specificaion not being option, i.e. must specify!
1 parent 87e00d0 commit eb8bb37

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Infrastructure/HConfig/examples/ESMF_HConfigEx.F90

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,14 +1284,14 @@ program ESMF_HConfigEx
12841284
! logical :: isAlias
12851285
isAlias = (hconfigTemp == hconfig)
12861286
!EOC
1287-
write (msgString, '("isAlias: ", L)') isAlias
1287+
write (msgString, '("isAlias: ", l2)') isAlias
12881288
call ESMF_LogWrite(trim(msgString), ESMF_LOGMSG_INFO, rc=rc)
12891289
if (rc /= ESMF_SUCCESS) call ESMF_Finalize(endflag=ESMF_END_ABORT)
12901290
!BOC
12911291
! logical :: isNotAlias
12921292
isNotAlias = (hconfigTemp /= hconfig)
12931293
!EOC
1294-
write (msgString, '("isNotAlias: ", L)') isNotAlias
1294+
write (msgString, '("isNotAlias: ", l2)') isNotAlias
12951295
call ESMF_LogWrite(trim(msgString), ESMF_LOGMSG_INFO, rc=rc)
12961296
if (rc /= ESMF_SUCCESS) call ESMF_Finalize(endflag=ESMF_END_ABORT)
12971297
!BOE
@@ -1313,7 +1313,7 @@ program ESMF_HConfigEx
13131313
!BOC
13141314
isAlias = (match == ESMF_HCONFIGMATCH_ALIAS)
13151315
!EOC
1316-
write (msgString, '("isAlias from match: ", L)') isAlias
1316+
write (msgString, '("isAlias from match: ", l2)') isAlias
13171317
call ESMF_LogWrite(trim(msgString), ESMF_LOGMSG_INFO, rc=rc)
13181318
if (rc /= ESMF_SUCCESS) call ESMF_Finalize(endflag=ESMF_END_ABORT)
13191319
!BOE
@@ -1332,7 +1332,7 @@ program ESMF_HConfigEx
13321332
! logical :: isAlias
13331333
isAlias = (hconfigTemp == hconfig)
13341334
!EOC
1335-
write (msgString, '("isAlias for diff objects: ", L)') isAlias
1335+
write (msgString, '("isAlias for diff objects: ", l2)') isAlias
13361336
call ESMF_LogWrite(trim(msgString), ESMF_LOGMSG_INFO, rc=rc)
13371337
if (rc /= ESMF_SUCCESS) call ESMF_Finalize(endflag=ESMF_END_ABORT)
13381338
!BOE
@@ -1349,7 +1349,7 @@ program ESMF_HConfigEx
13491349
! logical :: isExact
13501350
isExact = (match == ESMF_HCONFIGMATCH_EXACT)
13511351
!EOC
1352-
write (msgString, '("isExact: ", L)') isExact
1352+
write (msgString, '("isExact: ", l2)') isExact
13531353
call ESMF_LogWrite(trim(msgString), ESMF_LOGMSG_INFO, rc=rc)
13541354
if (rc /= ESMF_SUCCESS) call ESMF_Finalize(endflag=ESMF_END_ABORT)
13551355
!BOE
@@ -1364,7 +1364,7 @@ program ESMF_HConfigEx
13641364
! logical :: isMatch
13651365
isMatch = (match >= ESMF_HCONFIGMATCH_EXACT)
13661366
!EOC
1367-
write (msgString, '("isMatch: ", L)') isMatch
1367+
write (msgString, '("isMatch: ", l2)') isMatch
13681368
call ESMF_LogWrite(trim(msgString), ESMF_LOGMSG_INFO, rc=rc)
13691369
if (rc /= ESMF_SUCCESS) call ESMF_Finalize(endflag=ESMF_END_ABORT)
13701370
!BOE
@@ -1390,7 +1390,7 @@ program ESMF_HConfigEx
13901390
! logical :: isNone
13911391
isNone = (match == ESMF_HCONFIGMATCH_NONE)
13921392
!EOC
1393-
write (msgString, '("isNone: ", L)') isNone
1393+
write (msgString, '("isNone: ", l2)') isNone
13941394
call ESMF_LogWrite(trim(msgString), ESMF_LOGMSG_INFO, rc=rc)
13951395
if (rc /= ESMF_SUCCESS) call ESMF_Finalize(endflag=ESMF_END_ABORT)
13961396
!BOE

0 commit comments

Comments
 (0)