NSF Unidata

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

[netCDF #NMS-618483]: problems with NETCDF on macosx10.6

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Hi Marco,

Sorry to have taken so long to respond to your question.

> I have problems with the make check for netcdf-4.0.1.
> 
> arch: MACOS SNOW LEOPARD 10.6
> 
> ./configure FC=gfortran-mp-4.4 
> --prefix=/Users/thunder/Work/netcdf-3.6.3/root_dir
> 
> configure is ok but make check no:
> 
> "_nf_put_varm_real_", referenced from:
> _test_nf_put_varm_real_ in test_put.o
> _test_nf_put_varm_real_ in test_put.o
> _test_nf_put_varm_real_ in test_put.o
> _test_nf_put_varm_real_ in test_put.o
> _test_nf_put_varm_real_ in test_put.o
> _test_nf_put_varm_real_ in test_put.o
> _test_nf_put_varm_real_ in test_put.o
> _test_nf_put_varm_real_ in test_put.o
> "_min_schar_", referenced from:
> _internal_min_ in util.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [nf_test] Error 1
> make[1]: *** [check-am] Error 2
> make: *** [check-recursive] Error 1

I believe you have to be using gcc-mp-4.4 as your C compiler, if
you are going to use gfortran-mp-4.4.  We don't have either of
those compilers installed here for testing, but I've verified 
that gcc-4.5 and gfortran-4.5 work fine with netCDF-4.0.1 on 
MacOS-X 10.6.

You might consult this step-by-step procedure for building AMBER with
gcc-mp-4.4 and gfortran-mp-4.4, as AMBER uses netCDF:

  http://amberonmac.blogspot.com/2009/12/step-by-step-procedure-of-macports.html

--Russ

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



Ticket Details
===================
Ticket ID: NMS-618483
Department: Support netCDF
Priority: Critical
Status: Closed