Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Cannot find MPI

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Cannot find MPI


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: Mathieu Faverge <mathieu.faverge@inria.fr>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Cannot find MPI
  • Date: Mon, 16 Nov 2015 09:36:17 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=nathalie.furmento@labri.fr; spf=Pass smtp.mailfrom=nathalie.furmento@labri.fr; spf=Pass smtp.helo=postmaster@iona.labri.fr
  • Ironport-phdr: 9a23:zG7m1xFsjYXStfljK6PAPJ1GYnF86YWxBRYc798ds5kLTJ75rsqwAkXT6L1XgUPTWs2DsrQf27eQ7v6rADZaqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh730psOYOl8SzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IeezAcq85Vb1VCig9eyBwvZWz9EqLcQzaw3IAUmQbj1JmChbI9h73FsP0uzf6t+dgnieTI8DsQr0cWDK47q4tRgW+2wkdMDts1mjLisV0ja8Tjg+7ohF534mcNIecKPp3eqLQO90HX29MWNpWfyhICJm9KYUVWblSdd1EppXw8gNd5SC1AhOhUaa2kmdF
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

So, you should check the execute permission of the MPICC compiler. It's all the configure script does.

I attach a patch which gives a better error message.

Cheers,

Nathalie

On 16/11/2015 09:20, Mathieu Faverge wrote:
564991D1.1050107@inria.fr">
Hello,

whatever I do, mpicc or not, it is always the same result: MPI is disabled.

Mathieu

Le 16/11/2015 10:55, Nathalie Furmento a écrit :
Hi Mathieu,

configure only checks if the MPI compiler is executable.

if test ! -x $mpicc_path; then
	AC_MSG_RESULT(The mpicc compiler is not valid)

You should change the message below the if
to print the value of $mpicc_path.

Ah, i just saw you specified a value to --with-mpicc, you
should not need to do that. It looks like your system is
finding a MPI runtime in /sw/xc40/xalt/0.5.4/sles11.3_gnu4.9.2/bin/

Cheers,

Nathalie

On Nov 15, 11:26, Mathieu Faverge wrote:
> Hello,
> 
> Any ideas why I always get :
> 
>     StarPU Extensions:
>            MPI enabled:                                 no
> 
> I don't see why the test fails.
> 
> Mathieu


-- 
--
Mathieu Faverge
Maitre de conférence / Assistant Professor
Institut Polytechnique de Bordeaux - ENSEIRB-Matmeca
INRIA Bordeaux - Sud-Ouest, HiePACS Team
200 avenue de la vielle tour
33405 Talence Cedex
Phone: (+33) 5 24 57 40 73

Index: configure.ac
===================================================================
--- configure.ac (révision 16556)
+++ configure.ac (copie de travail)
@@ -1810,7 +1810,7 @@
# We test if the MPICC compiler exists
if test ! -x $mpicc_path; then
#MPICC does not exists or is not executable
- AC_MSG_RESULT(The mpicc compiler is not valid)
+ AC_MSG_RESULT(The mpicc compiler '$mpicc_path' does not have the
execute permission)
use_mpi=no
else
use_mpi=yes



Archives gérées par MHonArc 2.6.19+.

Haut de le page