Around 9 months ago I successfully managed to build 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
There were no changes to my code so I can't understand why this error suddenly appeared. My thought is that the c compiler license expired and therefore it stopped working, however I thought I just needed that license to build the library not to run it (maybe I'm wrong). Also it stopped working after 4 months so the license had been out of date for over 3 months before it stopped working. I am reluctant to buy the license if it isn't necessary as I don't use c for anything else.
If anyone has an thoughts to why it isn't working I would love to hear them.
The make file I use to create my programs contains this code
ifort -c -I/usr/local/include -L/usr/local/lib -lnetcdf -lnetcdff -lcurl run_rttov.F90 airs_time.F90 real_to_char.F90 read_netcdf.F90 read_netcdf_era.F90 write_output.F90
ifort -I/usr/local/include -L/usr/local/lib -lnetcdf -lnetcdff -lcurl run_rttov.o airs_time.o real_to_char.o read_netcdf.o read_netcdf_era.o write_output.o
This compiles fine, but when I run the ./a.out I get the error above.
Thanks for your help