Skip to content

Bug with writing logicals and NAG? #149

@bena-nasa

Description

@bena-nasa

I was user pFlogger with this type of formatting statement, I guessed that a logical would be %l

call lgr%info('%l', logical_variable)

it was working with intel and gfortran, but NAG threw this error:

Runtime Error: /ford1/share/gmao_SIteam/Baselibs/ESMA-Baselibs-8.19.0/src/GFE/pFlogger/src/Exception.F90, line 50: Recursive I/O on unit 6

I changed the info call to call lgr%info('%g0', logical_variable) and I was able to write a logical with NAG. Just thought I would report if this exposed some sort of bug.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions