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.
> Hello, > I am trying to build netcdf 3.6.3 in MacPro 2.8 GHz 2xQuad core Intel Xeon > processor with Mac OS x Server 10.4.11 (Tiger) Darwin 8.11.1 machine. > > Ifort - 11.0 (64 bit enabled) > gcc - 4.0.1 > > My env variables are > > export F77=ifort > export F90=ifort > export CC=/usr/bin/gcc > export CXX=/usr/bin/c++ > export CPP=/usr/bin/cpp > export FFLAGS="-O3 -m32" > export F90FLAGS="-O3 -m32" > export CPPFLAGS="-Df2cFortran" > ./configure --prefix=/usr/local/netcdf > make > make install - builds ncdump and ncgen > > Changes made in f90/Makefile.in are as follows > > FCFLAGS = @FFLAGS@ > FCFLAGS_f90 = @FFLAGS@ > FFLAGS = @FFLAGS@ > Howdy! Firstly, there is no need to change anything in Makefile.in. Instead use FFLAGS to specify F77 flags, and FCFLAGS to specify F90 flags. Also you need to set CPPFLAGS to -DpgiFortran, not -Df2cFortran. Then try again... Thanks, Ed Ticket Details =================== Ticket ID: KTW-159470 Department: Support netCDF Priority: Normal Status: Closed