[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #FVK-122895]: Problem with installing netCDF.
- Subject: [netCDF #FVK-122895]: Problem with installing netCDF.
- Date: Sun, 24 Mar 2013 16:22:14 -0600
Hi Yanshi,
> I am trying to install netCDF on my MACOS X 10.8.6.
> I have installed the netCDF-4.2.1.1 without error by
>
> ./configure --disable-netcdf-4
> make
> make check
> make install
>
> However, I could not find the the netcdf.mod and typesizes.mod under
> /usr/local/
The netCDF-4.2.1.1 package only installs the C library. To install the Fortran
netCDF libaries,
which have been in a separate distribution since C version 4.1.3, you need to
download the
Fortran distribution (either the stable release or the beta test) from here:
http://www.unidata.ucar.edu/downloads/netcdf/netcdf-fortran/
and follow these instructions:
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-fortran-install.html
Alternatively, you could use the MacPorts system (see www.macports.org) and
have the full netCDF-4
library installed, including netCDF-Fortran, using
sudo port install netcdf-fortran
Note, that may take a while, as it may also download and install compatible
versions of gcc and
gfortran ...
--Russ
> So, I continued to install netCDF-fortran-4.2, and ./configure returns
> …...
> checking for Fortran "byte"... yes
> checking for Fortran "integer*2"... yes
> checking if Fortran "byte" is C "signed char"... configure: error: Could not
> link conftestf.o and conftest.o
>
> Any idea how to fix this?
> Thank you so much!
> Yanshi.
>
>
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: FVK-122895
Department: Support netCDF
Priority: Normal
Status: Closed