PMI != phi. If you want to build for phi you will have to make two builds. One 
for the host and one for the phi.

Take a look in contrib/platform/lanl/darwin to get an idea of how to build for 
phi. The optimized-mic has most of what is needed to build a Phi version of 
Open MPI.

I usually run:

mkdir build-host ; cd build-host ; ../configure --prefix=path_to_host_build 
--with-platform=../contrib/platform/lanl/darwin/optimized ; make install
cd ../
mkdir build-pbi ; cd build-phi ; ../configure --prefix=path_to_phi_build 
--with-platform=..//contrib/platform/lanl/darwin/optimized-mic ; make install


I then modify the share/openmpi/mpicc-wrapper-data.txt to add a section for 
-mmic and have it point to the phi build. This is a bit complicated but it 
works well since mpicc -mmic with then use the phi libraries. I can give you a 
sample modified wrapper if you like.

-Nathan Hjelm
HPC-5, LANL
________________________________________
From: users [users-boun...@open-mpi.org] on behalf of Brock Palen 
[bro...@umich.edu]
Sent: Friday, May 16, 2014 3:31 PM
To: Open MPI Users
Subject: [OMPI users] Enable PMI build

We are looking at enabling the use of OpenMPI on our Xeon Phis,

One comment, i'm not sure that most users will know that pmi means phi,
  --with-pmi(=DIR)        Build PMI support, optionally adding DIR to the
                          search path (default: no)

how about:
  --with-pmi(=DIR)        Build PMI support for the Xeon Phi/MIC, optionally 
adding DIR to the
                          search path (default: no)


Second, digging in my mpss install I am not finding pmi.h or anything like that 
that searching the mailing list shows. We recently found that Intel made a lot 
of changes to the MPSS stack and this Phi stuff is very infantile at the moment 
so minimal (decent) documentation,  does anyone know what current package 
provides PMI  for the Xeon Phi?

Thanks!

Brock Palen
www.umich.edu/~brockp
CAEN Advanced Computing
XSEDE Campus Champion
bro...@umich.edu
(734)936-1985


Reply via email to