[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #ZRZ-463007]: compilation error
- Subject: [netCDF #ZRZ-463007]: compilation error
- Date: Fri, 11 May 2007 15:05:47 -0600
Hi Michelle,
Do you know if the module file (probably /usr/local/include/netcdf.mod) was
built with the same g95 compiler you are trying to use for example.f90?
If not, that would explain the problem. You must use the same Fortran compiler
as was used in building and installing the netCDF Fortran libraries, because
Fortran .mod files may not portable between different Fortran compilers.
Also, if you just copied the netcdf.mod file from a different computing
platform rather than building it from source or installing it from a binary
distribution for your platform, that could also be the problem.
If you still have the netCDF source, try running "make check" in the f90
directory and see if it works. If it does, you could copy the netcdf.mod file
(and typesizes.mod file) from that directory to /usr/local/include and try
again.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: ZRZ-463007
Department: Support netCDF
Priority: Normal
Status: Closed