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

[netCDF #XWI-819189]: cannot build netcdf on apple snow-leopard



Dan-
The big problem on snow leopard is with mixing 64bit and 32 bit
binaries for fortran. It turns out that g95 produces only
32 bit binaries, and cc produced (by default) 64 bit binaries.
There are three solutions:
1. don't use fortran (as you describe in your message)
2. use gfortran and not g95; I am told that gfortran
   produces 64 bit binaries.
3. force cc to produce 32 bit binaries using the -m32 flag.
   Unfortunately, you also have to ensure that you are
   using 32 bit binaries for e.g. hdf5, curl, zlib, etc.

=Dennis Heimbigner


Ticket Details
===================
Ticket ID: XWI-819189
Department: Support netCDF
Priority: Normal
Status: Open