Silverfrost Forums

Welcome to our forums

Namelist problem using Vista 64

18 Jan 2010 9:18 #5773

Hi, I am new to using forums so I apologize in advance if I do something wrong. Worse, I am an engineer, not a programmer, so please keep things simple if possible.

Background: I am using a version of FN95 that I downloaded for evaluation shortly before Christmas. My PC's OS is Vista Business Edition 64 bit with SP2.

It appears I am having a problem with 'namelist', unfortunately the problem is extremely quirky in that I am working on two programs from NASA that both use namelist multiple times, but only one of those uses has a problem.

Here is a brief description of the code involved (I have left out a lot of lines). The problem sometimes occurs when 'airfx' is read. Real, Dimension(idm) :: .... s1, airfx, airfy, .... Common /gridb/ ... s1, airfx, airfy, ... Namelist / grid3 / ... dist, airfx, airfy, ... Data ... dist / idm * 0.00/, airfx / idm * 0.00/, ... Read (IR_Input,grid3)

If the input data file looks like the following, I get 'Error 204, invalid identifier in namelist input group' &grid3 airfx= 0.126924 0.126882 ...

If I truncate the last two digits of first value, the error disappears &grid3 airfx= 0.1269 0.126882 ...

Or, if I change to scientific notation, the error disappears &grid3 airfx= 1.26924E-01 0.126882 ...

However, if I only truncate the last digit from the first value, I still get the error &grid3 airfx= 0.12692 0.126882 ...

This appears quite baffling to an amateur like me, and I have absolutely no idea what to do other than to stop using namelist, which would be a fair amount of work since I have a gazillion files (well, at least several hundred) I think I'd have to modifiy. Any help would be appreciated.

Oh, one final thing that may be of use, the code worked fine on a 32 bit XT machine when compiled using Compaq Visual Fortran

Thanks, Kent

Please login to reply.