PGFIO-F-239 : namelist read error !

Dear all

I’m running a program that read parameters from an external file
named axi.dat, but i’m getting this error message …

./program.exe
PGFIO-F-239/namelist read/unit=10/entity name is not member of group.
File name = axi.data formatted, sequential access record = 13

The file is:
axi.dat:
&INPUT
NC = 17,
NFREQ = 128,
Fr1 = 0.05,
Fr2 = 1,
TL = 102.400000000000 ,
AW = 2.00000000000000 ,
NR = 15,
NS = 1600,
XL = 500000.000000000 ,
IKMAX = 10000,
UCONV = 1.000000000000000E-003,
SOURCEFILE = source ,
STATFILE = station
&END
0.00000 5523.00000 3261.00000 2400.00000 500.00000 250.00000
2000.000000 5617.00000 3308.00000 2600.00000 1000.00000 500.00000
4000.000000 5712.00000 3354.00000 2600.00000 1000.00000 500.00000

Some time ago, I had the same problem, but the issue was the “&” character …

Any idea ?

Hi Rodrigo,

You need to quote character strings when used as namelist input items. So changing your namelist to use:

SOURCEFILE = “source”,
STATFILE = “station”

Should fix the problem.

Hope this helps,
Mat