Here's what I used to build 1.8.1 with Intel 13.5 recently:
module load compiler/13.5.192
export PATH=/usr/linux-k1om-4.7/bin/:$PATH
../configure --prefix=/path/to/your/ompi/install \
CC="icc -mmic" CXX="icpc -mmic" \
--build=x86_64-unknown-linux-gnu --host=x86_64-k1om-linux \
AR=x86_64-k1o
I'm on the road today, but will be back tomorrow afternoon (US Pacific
time) and can forward my notes on this again. In the interim, just go to
our user mailing list archives and search for "phi" and you'll see the
conversations. Basically, you have to cross-compile OMPI to run on the Phi.
I've be