On 11/18/2013 4:12 PM, Maxime Boissonneault wrote:
Hi, It seems that icpc on our system is not searching /usr/include, and does not find the legacy "fenv.h" which is included in fenv.h in glibc++.
By adding /usr/include at the end of our CPATH, it now compiles.
Did you setup icpc correctly in your shell's startup file(s). There are instructions of how to do this after you install Intel C++.
Best regards,
Maxime
Le 2013-11-13 13:55, John Maddock a écrit :
This :
#####Without CPLUS_INCLUDE_PATH [mboisson@r103-n2 tmp]$ icpc test_fenv.cpp -c -o a.o [mboisson@r103-n2 tmp]$ env | grep CPLUS #####With CPLUS_INCLUDE_PATH pointing to the gnu std libc++ [mboisson@r103-n2 tmp]$ export CPLUS_INCLUDE_PATH=/software6/compilers/gcc/4.8.1/include/c++/4.8.1/ [mboisson@r103-n2 tmp]$ icpc test_fenv.cpp -c -o a.o test_fenv.cpp(3): error: identifier "fexcept_t" is undefined fexcept_t data; ^
Looks like Intel isn't compatible with that version of libstdc++ then?
John.