replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Namelist problem using Vista 64
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Namelist problem using Vista 64

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Kent Lyons



Joined: 10 Dec 2009
Posts: 14
Location: Miami, FL USA

PostPosted: Mon Jan 18, 2010 10:18 pm    Post subject: Namelist problem using Vista 64 Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group