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.
Curt, > To: address@hidden > From: Curt Hillegas <address@hidden> > Subject: netcdf make test failures > Organization: OIT - Princeton University > Keywords: 200307162122.h6GLMELd016702 netCDF The above message contained the following: > I am trying to build netcdf with the Intel compilers (version 7.1), and > there are 36 failures during the make test. For the logs I am sending > you, I used the variables in the notes for IFC, but I have gotten > identical results applying the patch for use with the Intel compilers. > > The C++ compiler is /usr/bin/c++ (gcc version 2.96), otherwise the paths > are included in macros.make. The test failures do not seem to be > related to C++. > > Let me know if I can supply any further information. > > Thank you, > Curt ... > filename="macros.make" > > # $Id: macros.make.in,v 1.32 2001/03/13 17:41:33 steve Exp $ > > # The purpose of this file is to contain common make(1) macros. > # It should be processed by every execution of that utility. > > > # POSIX shell. Shouldn't be necessary -- but is under IRIX 5.3. > SHELL = /bin/sh > > > # Installation Directories: > SRCDIR = /utility/src/netcdf/netcdf-3.5.0/src > prefix = /utility/src/netcdf/netcdf-3.5.0 > exec_prefix = $(prefix) > INCDIR = $(exec_prefix)/include > LIBDIR = $(exec_prefix)/lib > BINDIR = $(exec_prefix)/bin > MANDIR = $(prefix)/man > > > # Preprocessing: > M4 = m4 > M4FLAGS = -B10000 > CPP = /utility/intel/bin/icc -E > CPPFLAGS = $(INCLUDES) $(DEFINES) -DNDEBUG -DpgiFortran The last line above is consistent with trying to build the package using the Portland Group Fortran compiler rather than the Intel Fortran compiler. It is likely that the environment variable CPPFLAGS contained the string "-DpgiFortran" prior to executing the configure script. Please try the following: 1. Go to the top-level source directory. 2. Perform steps 3 through 5 described near the end of the file INSTALL.html. 3. Perform the steps described at the following URL: http://my.unidata.ucar.edu/content/software/netcdf/other-builds.html#intel-ifc 4. Ensure that the CPPFLAGS and CFLAGS environment variables don't contain anything inappropriate for your desired compilation environment. 5. Perform steps 6 through 9 described near the end of the file INSTALL.html. Please let me know if this helps. Regards, Steve Emmerson