PGFIO-F-231 error

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.

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