On 4 Feb 2013, at 8:51 AM, Fabrício Zimmerer Murta wrote:
> It should fix that problem. Moreover, you can set NetCDF to use the intel
> suite (both C and Fortran versions) by issuing ./configure this way:
> FC=ifort F77=${FC} CPP="icc -E" CXX="${CPP}" CXXCPP="${CPP}" CFLAGS="-O2"
> FCFLAGS="${CFLAGS}" F77FLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS}" ./configure
> --prefix=${HOME}/netcdf3 && make all install
CPP is the C preprocessor, CC is the compiler. I think you want
> FC=ifort F77=${FC} CC=icc CPP="icc -E" CXX="${CC}" CXXCPP="${CPP}"
> CFLAGS="-O2" FCFLAGS="${CFLAGS}" F77FLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS}"
> ./configure --prefix=${HOME}/netcdf3
Larry Baker
US Geological Survey
650-329-5608
baker@xxxxxxxx