Re: [netcdfgroup] Building netcdf-3.6.0-p1 with intel 2011 compilers

  • To: Fabrício Zimmerer Murta <fabricio@xxxxxxxxxxxxxxxx>
  • Subject: Re: [netcdfgroup] Building netcdf-3.6.0-p1 with intel 2011 compilers
  • From: Larry Baker <baker@xxxxxxxx>
  • Date: Mon, 4 Feb 2013 12:09:40 -0800
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

  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: