Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Problems with netcdf and fortran

larangunn
Beginner
401 Views
Around 9 months ago I tried to install netcdf on my mac for use with fortran. I successfully managed this with a full intel fortran license and evaluation license for intel c++. However, I am now getting this error when I try to read netcdf files

forrtl: severe (59): list-directed I/O syntax error, unit -5, file Internal
List-Directed Read
Image PC Routine Line
Source
libnetcdff.5.dyli 0000000109A970CC Unknown Unknown Unknown
libnetcdff.5.dyli 0000000109A95C04 Unknown Unknown Unknown
Unknown 000000010A029E5F Unknown Unknown Unknown

I made no changes to the code that reads the files so it is a mystery to me what happened/

I sent this problem to unidata and they said they'd never seen it before and couldn't help. If someone has any idea how I might be able to fix it that would be great. I am running on a Mac server OS X 10.6.8 with intel fortran 11.1
0 Kudos
1 Reply
Steven_L_Intel1
Employee
401 Views
Rebuild the program with -traceback and look at the line where the error occurs. You have a list-directed READ from an internal file (character variable) where the string being read from isn't valid for list-directed input.
0 Kudos
Reply