Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Reading namelists starting with &A

remkoduursma
Beginner
444 Views
Hello,

I am confused why this happens: I read lots of data from namelist structures in text files (without problems), and when I run the compiled program, the namelists starting with &A are written to the screen (see below). Why is this the case? What can I do to prevent this?

thanks,
Remko



&AERO
EXTWIND
/
&ALLOM
COEFFT,
EXPONT,
WINTERC
/
&ALLOMB
BCOEFFT,
BEXPONT,
BINTERC
/
&ALLOMR
RCOEFFT,
REXPONT,
RINTERC,
FRFRAC
/
0 Kudos
1 Reply
Steven_L_Intel1
Employee
444 Views
Can you show your NAMELIST input? My guess is that you have a ? in the input - this triggers a feature that displays the currently looked for NAMELIST and the names of all its members.

Prompting for Namelist Group Information
During execution of a program containing a namelist READ statement, you can specify a question mark character (?) or a question mark character preceded by an equal sign (=?) to get information about the namelist group. The ? or =? must follow one or more blanks.

If specified for a unit capable of both input and output, the ? causes display of the group name and the objects in that group. The =? causes display of the group name, objects within that group, and the current values for those objects (in namelist output form). If specified for another type of unit, the symbols are ignored.

0 Kudos
Reply