The program built by nvfortran gives an error when reading text files created in Windows because of different line endings than in Linux: CRLF vs LF.
FIO-F-225/list-directed read/unit=1001/lexical error-- unknown token type.
Can you please tell me if there is a simple solution to this error? Like a compiler key or specifier when opening a file.
Hi Maxim,
Set the environment variable “FORTRANOPT” to “crlf”. For details, please see: NVIDIA HPC Compilers User's Guide — NVIDIA HPC Compilers User's Guide 25.3 documentation
-Mat
Thanks a lot Mat!
This is a very easy and great solution!
1 Like
system
Closed
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.