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.
> Dear: > > I dowloaded netcdf-4.0.1 and am trying to install it in my laptop with > Mac OS X 10.5.7. I have Intel Fortran Compiler 11.0 installed. > > I follow the steps given in Intel page: > > http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers/#13 > > I execute the following commands: > > $ source /opt/intel/Compiler/11.0/059/bin/intel64/ifortvars_intel64.sh > $ export F77=ifort > $ export FFLAGS='-O3 -xT -ip -no-prec-div -m64' > > and then I execute > > $ ./configure > > in the directory where I have all downloaded netcdf-4.0.1 files. > > The last sentence in the output of ./configure reads: > > configure:error:Could not link conftestf.o and conftest.o You need to look for this specific error in the config.log file, and find out why you cannot link C and Fortran. Probably you need to specify -m32 for CFLAGS, because ifort is 32-bit by default, or else specify Intel's C compiler with CC. (I think "icc"). Please let me know if this doesn't help. Thanks. Ed Ticket Details =================== Ticket ID: WHZ-253288 Department: Support netCDF Priority: Normal Status: Closed