Thanks, that must do it as well. I was just too lazy to build up the correct 
command for the preprocessor.  Anyway I think both ways works, as the 
preprocessor will just preprocess once again an already preprocessed file, or 
just force .f90 and .f files (lowercase) to be preprocessed.
From: Larry Baker 
Sent: Monday, February 04, 2013 6:09 PM
To: Fabrício Zimmerer Murta 
Cc: hossein shahbazi ; netcdfgroup@xxxxxxxxxxxxxxxx 
Subject: Re: [netcdfgroup] Building netcdf-3.6.0-p1 with intel 2011 compilers
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
