Hello Mahdieh,

 

There was a related discussion recently: link

 

You may try similar approach if I’ve got your question in the correct way.

 

BR,

Dmitry

 

From: mahdiyeh ghazi [mailto:mahdiyeh.ghazi67@gmail.com]
Sent: Thursday, October 15, 2015 5:44 PM
To: discuss@mpich.org
Subject: [mpich-discuss] MPICH symmetric mode execution on Xeon Phi

 

Hi,

 

I'm trying to use MPICH to run a code in symmetric mode on Xeon Phi. First, I installed MPICH-3.1.4 with the following configuration for Xeon Phi:

 

./configure --prefix=/opt/new-mpich/mpich-3.1.4/1 --with-device=ch3:nemesis --host=x86_64 --build=x86_64-k1om-linux  CC=icc CXX=icpc --disable-f77 --disable-fc CFLAGS=-mmic CXXFLAGS=-mmic --disable-mcast --disable-fortran LDFLAGS='-L/home/ghazim/build/aster/intel/composer_xe_2015.3.187/compiler/lib/mic/ -Wl,-rpath,/home/ghazim/build/aster/intel/composer_xe_2015.3.187/compiler/lib/mic/'

 

With this configuration, I could successfully run a code in native mode on Xeon Phi. In order to run the code in symmetric mode, I installed MPICH once again, this time for the host with following configuration:

 

./configure --prefix=/opt/new-mpich-host/mpich-3.1.4/1

 

Then I compiled the code two times, once with -mmic option to make executable for Xeon Phi (from /opt/new-mpich/mpich-3.1.4/1) and once again without -mmic option to make executable for the host (from /opt/new-mpich-host/mpich-3.1.4/1). Now, my question is how I can run the program with these two executable from Xeon Phi and the host. 

 

I know that MPICH supports running parallel programs with different executables with some devices like ch_p4, ch_mpl and globus2 using MPMD but I don't know how I can use this feature to run the code in symmetric mode on Xeon Phi and whether it is possible or not.

 

Thanks,

Mahdieh


--------------------------------------------------------------------
Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.