[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #BAX-878832]: net cdf help needed



Hi Patti,

> Could not find the file netcdf.mod.
> Compiling Fortran...
> Error: Error in opening the Library module file.   [NETCDF]

These errors and all the subsequent errors are due to omitting the compiler
option
that speicifies where to find the "netcdf.mod" module file, generated by the
Fortran-90
compiler when you build netCDF from source.  This netcdf.mod file is supposed
to be
installed in the same directory as the netcdf.h and netcdf.inc files when the
netCDF
library is installed.

Building netCDF on Windows with a Fortran-90 interface is not straightforward
unless you
use g95 and cygwin or mingw.  See:

  http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#windows

for an explanation of the current situation.  If you can use g95 instead of
Visual Fortran,
everything can be built, but we haven't gotten things to work with Visual
Fortran.

--Russ



Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: BAX-878832
Department: Support netCDF
Priority: Normal
Status: Closed