I/O error??


I used the lmtart7.04 program written fortran90.

I compiled it using PGF95 and made executable file.

When I executed this program, I got the error massage like below.


PGFIO-F-225/list-directed read/unit=1/lexical error-- unknown token type.
File name = /home/joon/program/LmtART/7.04/AtomDAT/den.ni formatted, sequential access record = 3
In source file ini_makesmt.f, at line number 61


Please help me.

Hi blueway,

I’m not familiar with LmtART, but in looking at the source and data file found at http://www.physics.ucdavis.edu/~mindlab/MaterialResearch/Scientific/LmtART/Download7/text.htm, I think the problem is that these data files use Windows newline characters. For Linux, you need to convert the data files to use UNIX newlines. The easiest way to do this would be using the ‘dos2unix’ utility.

Hope this helps,

Thank you for answering.

I will try that method.

Thank you,