I've recently done something really stupid: I wanted to configure NetCDF libraries using the Intel Fortran compiler and, therefore, I was following instructions for that kind of procedure.
Unfortunately, I've skipped a paragraph and I also accidentally changed my gcc and g++ flags without realizing, since I wrote these lines:
$ export CC=icc $ export CXX=icpc $ export CFLAGS='-O3 -xT -ip -no-prec-div -static' $ export CXXFLAGS='-O3 -xT -ip -no-prec-div -static' $ export CPP='icc -E' $ export CXXCPP='icpc -E'
The problem is that I do not have the Intel C and C++ compiler (i.e.: icc and icpc) and now, everytime I try to configure NetCDF libraries I end up with a gcc sanity check error.
How can I restore
CXXCPP to a clean