[netcdfgroup] ROMS/netcdf-4 integration problem: output from nc-config and build script

  • To: John Helly <hellyj@xxxxxxxx>
  • Subject: [netcdfgroup] ROMS/netcdf-4 integration problem: output from nc-config and build script
  • From: John Helly <hellyj@xxxxxxxx>
  • Date: Sun, 3 Apr 2011 13:28:23 -0700
Hi.

Here is the output from my updated netcdf built with the following script:

NeptuneStonesteps.local:~/src/netcdf-4/netcdf-4.1.2>cat 
~/bin/makeNetCDF_OSX_64bit.bash
#!/bin/bash
make distclean
#
#./configure >configure.log 2>&1 \
#       CC="gcc -m64" \
#       CFLAGS="-g -O2" \
#       CXX="g++ -m64" \
#       CXXFLAGS="-g -O2" \
#       CPPFLAGS="-DNDEBUG -DgFortran" \
#       FC="gfortran -m64" \
#       FCFLAGS="-g -O2"

export CFLAGS=-m64
export FFLAGS=-m64
export FCFLAGS=-m64
export CXXFLAGS=-m64
export CPPFLAGS=-DgFortran

#export CC=/usr/bin/cc 
export F77=gfortran
export FC=gfortran
#export FCFLAGS=-qsuffix=cpp=f90
#
./configure --prefix=/usr/local/netcdf-4.1.2 --enable-netcdf-4 --enable-f90  
--with-hdf5=/usr/local/hdf5-1.8.6


************************************************

NeptuneStonesteps.local:~>nc-config --all

This netCDF 4.1.2 has been built with the following features: 

  --cc        -> cc
  --cflags    ->  -I/usr/local/netcdf-4.1.2/include  
-I/usr/local/hdf5-1.8.6/include 
  --libs      -> -L/usr/local/netcdf-4.1.2/lib -lnetcdf  
-L/usr/local/hdf5-1.8.6/lib -lhdf5_hl -lhdf5 -lz -lcurl

  --cxx       -> g++
  --has-c++   -> yes

  --fc        -> gfortran
  --fflags    -> -m64 -I/usr/local/netcdf-4.1.2/include
  --flibs     -> -L/usr/local/netcdf-4.1.2/lib -lnetcdff -lnetcdf
  --has-f77   -> yes
  --has-f90   -> yes

  --has-dap   -> yes
  --has-nc2   -> yes
  --has-nc4   -> yes
  --has-hdf5  -> yes
  --has-hdf4  -> no
  --has-pnetcdf-> no
  --has-szlib -> no

  --prefix    -> /usr/local/netcdf-4.1.2
  --includedir-> /usr/local/netcdf-4.1.2/include
  --version   -> netCDF 4.1.2

NeptuneStonesteps.local:~>


Cheers.
--------------
John Helly, University of California, San Diego / San Diego Supercomputer 
Center / Scripps Institution of Oceanography / 760 840 8660 mobile / 
stonesteps7 (Skype) / stonesteps7 (iChat) / http://www.sdsc.edu/~hellyj


  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: