[mpich-discuss] MPICH symmetric mode execution on Xeon Phi

mahdiyeh ghazi mahdiyeh.ghazi67 at gmail.com
Fri Oct 16 16:13:01 CDT 2015


Thanks for your reply.

So I created a hydra_pmi_proxy shell script as follows:

#!/bin/bash

ARCH=$(uname -m)

if [ $ARCH == 'x86_64' ]; then
#host
./hydra_pmi_proxy.host
elif [ $ARCH == 'k1om' ]; then
#coprocessor
/opt/new-mpich-host/mpich-3.1.4/1/bin/hydra_pmi_proxy.mic
fi


and I run the command:

./mpirun -f ./hosts -n 1 ./hellomic : -n 1 ./hello-host

in the hosts, I specified the mic0 and the host. Now I get the following
error:

[proxy:unset at aster01] HYD_pmcd_pmip_get_params
(pm/pmiserv/pmip_utils.c:701): server name not available
[proxy:unset at aster01] main (pm/pmiserv/pmip.c:169): bad parameters passed
to the proxy
[mpiexec at aster01] HYD_pmcd_pmiserv_proxy_init_cb
(pm/pmiserv/pmiserv_cb.c:445): assert (!closed) failed
[mpiexec at aster01] HYDT_dmxu_poll_wait_for_event
(tools/demux/demux_poll.c:76): callback returned error status
[mpiexec at aster01] HYD_pmci_wait_for_completion
(pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
[mpiexec at aster01] main (ui/mpich/mpiexec.c:344): process manager error
waiting for completion

Please let me know if I am missing something.

Thanks,
Mahdieh


----------------------------------------------------------------------------------------------------------------


Hello Mahdieh,

There was a related discussion recently: link<
http://lists.mpich.org/pipermail/discuss/2015-September/004175.html>

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

BR,
Dmitry


-----------------------------------------------------------------------------------------------------------------
From: mahdiyeh ghazi [mailto:mahdiyeh.ghazi67 at gmail.com]
Sent: Thursday, October 15, 2015 5:44 PM
To: discuss at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151016/db3d6a9b/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list