Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Compiling OpenMPI for Intel Xeon Phi/MIC
From: Adam Jundt (adam.jundt_at_[hidden])
Date: 2014-06-26 16:31:16

I'm currently working towards setting up a single node system with a
xeon phi card. We have intel compilers (v.13.1.3) installed and I was
able to get the standard openmpi (v1.6.5) to install.

Right now, I am just hoping to run codes natively on the xeon phi.
When trying to compile a hello world code via "mpicc -mmic hello.c" it
results in the error:

x86_64-k1om-linux-ld: skipping incompatible
/ssd/apps/openmpi-intel/lib/ when searching for -lmpi
x86_64-k1om-linux-ld: cannot find -lmpi

I'm guessing this is due to not having compiled openmpi with the
"-mmic" option. Although, attempting to configure openmpi with -mmic
will fail instantly as the configure attempts to test basic codes with
"-mmic" on the host processor.

In a couple of threads it was mentioned that people have been able to
get this to work, but not much detail on how they built openmpi to
achieve this. Any help is appreciated.