Wednesday, September 18, 2013

C compiler cannot create executables when compiling Openmpi 1.6.5 with Intel 12.1.5

When compiling OpenMPI 1.6.5 with Intel 12.1.5, I encountered this error

configure error: C compiler cannot create executable when compiling 
OpenMPI 1.6.5 with Intel 12.1.5

The solution is very simple. I have assumed that you have PATH and LD_LIBRARY_PATH the binaries and libraries for the intel compilers respectively. Just source the "" intel64

# source /usr/local/intel/composerxe/bin/ intel64

No comments: