Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Compiling OpenMPI for Intel Xeon Phi/MIC
From: Ralph Castain (rhc_at_[hidden])
Date: 2014-06-26 16:41:43


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 been intending to post the detailed steps on our FAQ, but just haven't
gotten around to it - my bad.
Ralph

On Thu, Jun 26, 2014 at 3:31 PM, Adam Jundt <adam.jundt_at_[hidden]>
wrote:

> 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/libmpi.so 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.
>
> -Adam
> _______________________________________________
> users mailing list
> users_at_[hidden]
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/06/24709.php
>