Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Configure option --with-magma not working

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Configure option --with-magma not working


Chronologique Discussions 
  • From: Marc Sergent <marc.sergent@inria.fr>
  • To: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] Configure option --with-magma not working
  • Date: Thu, 22 May 2014 22:49:41 +0200
  • 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>

Le 22/05/2014 22:00, Nathalie Furmento a écrit :
On 22/05/2014 21:34, Marc Sergent wrote:
Hi,

It seems that the documented option --with-magma is not recognized by the
configure script. Actually, Magma can only be linked with StarPU by setting
a correct PKG_CONFIG_PATH to the magma.pc file path.

Best regards,

Marc


Which version of StarPU?

We're working with the latest StarPU release : 1.1.1.


Do you mean you need that option ? Or do you mean it should be removed from the documentation as it has been removed from configure.ac (to use instead pkg-config) ?


Actually the only way to link StarPU with Magma is to define this kind of PKG_CONFIG_PATH. I don't know what should
be better, to let the configure detect Magma by itself of let the user decide to link with Magma or not with the --with-magma
option, like it's actually done for FxT for example.

Cheers,

Nathalie


Actually, it seems that the make step fails if we only give a PKG_CONFIG_PATH with this kind of error :

Making all in src
make[1]: Entering directory `/home/masliah/dev/starpu-1.1.1/src'
make[2]: Entering directory `/home/masliah/dev/starpu-1.1.1/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/masliah/dev/starpu-1.1.1/src'
make[1]: Leaving directory `/home/masliah/dev/starpu-1.1.1/src'
Making all in tools
make[1]: Entering directory `/home/masliah/dev/starpu-1.1.1/tools'
make[2]: Entering directory `/home/masliah/dev/starpu-1.1.1/tools'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/masliah/dev/starpu-1.1.1/tools'
make[1]: Leaving directory `/home/masliah/dev/starpu-1.1.1/tools'
Making all in tests
make[1]: Entering directory `/home/masliah/dev/starpu-1.1.1/tests'
make all-recursive
make[2]: Entering directory `/home/masliah/dev/starpu-1.1.1/tests'
make[3]: Entering directory `/home/masliah/dev/starpu-1.1.1/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/masliah/dev/starpu-1.1.1/tests'
make[2]: Leaving directory `/home/masliah/dev/starpu-1.1.1/tests'
make[1]: Leaving directory `/home/masliah/dev/starpu-1.1.1/tests'
Making all in doc
make[1]: Entering directory `/home/masliah/dev/starpu-1.1.1/doc'
Making all in doxygen
make[2]: Entering directory `/home/masliah/dev/starpu-1.1.1/doc/doxygen'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/masliah/dev/starpu-1.1.1/doc/doxygen'
make[2]: Entering directory `/home/masliah/dev/starpu-1.1.1/doc'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/masliah/dev/starpu-1.1.1/doc'
make[1]: Leaving directory `/home/masliah/dev/starpu-1.1.1/doc'
Making all in examples
make[1]: Entering directory `/home/masliah/dev/starpu-1.1.1/examples'
make all-recursive
make[2]: Entering directory `/home/masliah/dev/starpu-1.1.1/examples'
Making all in stencil
make[3]: Entering directory `/home/masliah/dev/starpu-1.1.1/examples/stencil'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/masliah/dev/starpu-1.1.1/examples/stencil'
make[3]: Entering directory `/home/masliah/dev/starpu-1.1.1/examples'
CC cholesky_kernels.o
cholesky/cholesky_kernels.c:22:19: fatal error: magma.h: No such file or
directory
#include "magma.h"
^
compilation terminated.
make[3]: *** [cholesky_kernels.o] Error 1
make[3]: Leaving directory `/home/masliah/dev/starpu-1.1.1/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/masliah/dev/starpu-1.1.1/examples'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/masliah/dev/starpu-1.1.1/examples'
make: *** [all-recursive] Error 1



We tried to use the MAGMA_LIBS and MAGMA_CFLAGS environment variables proposed by the ./configure --help, and we
got another error :


Making all in examples
make[1]: Entering directory `/home/masliah/dev/starpu-1.1.1/examples'
make all-recursive
make[2]: Entering directory `/home/masliah/dev/starpu-1.1.1/examples'
Making all in stencil
make[3]: Entering directory `/home/masliah/dev/starpu-1.1.1/examples/stencil'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/masliah/dev/starpu-1.1.1/examples/stencil'
make[3]: Entering directory `/home/masliah/dev/starpu-1.1.1/examples'
CC cholesky_kernels.o
In file included from cholesky/cholesky_kernels.c:23:0:
/home/masliah/dev/magma-1.3.0/include/magma_lapack.h:12:2: error: #error
Define one of ADD_, NOCHANGE, or UPCASE for how Fortran functions are name
mangled.
#error Define one of ADD_, NOCHANGE, or UPCASE for how Fortran functions are
name mangled.
^
In file included from
/home/masliah/dev/magma-1.3.0/include/magma_lapack.h:16:0,
from cholesky/cholesky_kernels.c:23:
/home/masliah/dev/magma-1.3.0/include/magma_zlapack.h:23:28: error:
‘FORTRAN_NAME’ declared as function returning a function
#define blasf77_izamax FORTRAN_NAME( izamax, IZAMAX )


We found that it could be a missing -DADD_ compiling option.

Best regards,

Marc

--
Marc Sergent
Ph.D Student at Inria Bordeaux Sud-Ouest
Runtime Team
Phone: (+33|0) 5 24 57 40 71





Archives gérées par MHonArc 2.6.19+.

Haut de le page