Wednesday, September 18, 2013

Cannot open OpenMPI Configuration mpif90-wrapper-data.txt

I was using Intel 12.1.5 to compile OpenMPI 1.6.5 and I have this error which I have not seen before.

If you encounter error
Cannot open configuration file: 
/usr/local/openmpi/openmpi-1.6.5/share/openmpi/mpif90-wrapper-data.txt
Error parsing data file mpif90: Not found 


Solution
# ./configure --prefix=/usr/local CC=icc CXX=icpc F77=ifort FC=ifort \
--with-devel-headers --enable-binaries
Somehow the development headers and binaries are excluded from the later version of OpenMPI.....

No comments: