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

[netCDF #WHZ-253288]: error installing netcdf-4.0.1 in Mac OS X



> 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