PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

PGFIO-F-231 error

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Saumik



Joined: 05 Jan 2012
Posts: 10

PostPosted: Wed May 09, 2012 5:35 am    Post subject: PGFIO-F-231 error Reply with quote

Hi Mat,
I am using a code to run my plasticity problems. I do not get any compilation errors, but I get a runtime error as follows:
....PGFIO-F-231/formatted read/unit=5/error on data conversion.
File name = fpin.dat formatted, sequential access record = 2
In source file FEAPD.f, at line number 178....

The line 178 in FEAPD.f is the following:

...READ(5,1001) NUMNP,NUMEL,NUMMAT,NDM,NDF,NEN,
1 NSDM,NQDM,NQUAD,NPLD,NDIST,IAUTO,NC
1001 FORMAT(16I5)...

I am compiling the code in Linux and I am using PGI Accelerator 2010. The code works fine when complied in Windows...Could you point out the flaw in the code/input file?

Thanks
Saumik.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5952
Location: The Portland Group Inc.

PostPosted: Wed May 09, 2012 7:54 am    Post subject: Reply with quote

Quote:
The code works fine when complied in Windows...Could you point out the flaw in the code/input file?
Typically this type of problem is due to the differing newline formatting. Try running the "dos2unix" or "fromdos" command on the data file to convert file.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
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 © phpBB Group