NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] netcdf-4.1.2beta build succeeds with hdf5-1.8.4-patch1 on OSX 10.6.3 using Xcode 3.2.2 and gfortran-42-5659.pkg

Thanks to Roy for the help.  Here's the script that worked for me.

iceberg:netcdf-4.1.2-beta1 hellyj$ more ~/bin/makeNetCDF_OSX.bash

#!/bin/bash
make distclean
#
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
echo "DYLD_LIBRARY_PATH:$DYLD_LIBRARY_PATH"
export CC=/usr/bin/cc 
#export CFLAGS='-m32'
#export CPPFLAGS=-Df2cFortran
export F77=gfortran
export FC=gfortran
export FCFLAGS=-qsuffix=cpp=f90
./configure --prefix=/usr/local/netcdf-4.1.2beta --enable-netcdf-4 --enable-f90 
--with-hdf5=/usr/local/hdf5-1.8.4-patch1

Cheers.
--------------
John Helly, UCSD / San Diego Supercomputer Center / Scripps Institution of 
Oceanography, Climate, Atmospheric Science, and Physical Oceanography / +01 760 
840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) / 
/www.sdsc.edu/~hellyj



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