Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] StarPU gcc plugin not building

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] StarPU gcc plugin not building


Chronologique Discussions 
  • From: Miguel Palhas <mpalhas@gmail.com>
  • To: Ludovic Courtès <ludovic.courtes@inria.fr>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] StarPU gcc plugin not building
  • Date: Tue, 23 Apr 2013 11:54:48 +0100
  • 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>

Is it possible that this is due to the fact that i'm using a hybrid GPU laptop? I've had problems setting up CUDA, and currently it is installed but the NVidia GPU is not detected. I would expect it to just detect the CPU and ignore the GPU, since the driver itself does not detect it

Aparently, i didn't have Guile installed, but that didn't seem to make any difference.
I deleted /usr/local/lib/starpu and /usr/local/include/starpu, re-configured an recompiled starpu. The configure output included the following

checking for guile... /usr/bin/guile
...
StarPU Extensions:
...
   GCC plug-in: yes
   GCC plug-in test suite (requires GNU Guile): file


The output of gcc -v:

 % gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-10ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 20120918 (prerelease) (Ubuntu/Linaro 4.6.3-10ubuntu1) 


I also just ran make check and everything passed (with 2 tests skipped, but i suppose that's not a problem).


On Tue, Apr 23, 2013 at 10:59 AM, Ludovic Courtès <ludovic.courtes@inria.fr> wrote:
Miguel Palhas <mpalhas@gmail.com> skribis:

> now i get this output when compiling the same hello world program
>
>  % gcc main.cpp -fplugin=`pkg-config starpu-1.0 --variable=gccplugin`
> `pkg-config starpu-1.0 --libs` `pkg-config starpu-1.0 --cflags`
> *** WARNING *** there are active plugins, do not report this as a bug
> unless you can reproduce it without enabling any plugins.
> Event                            | Plugins
> PLUGIN_PRE_GENERICIZE            | starpu
> PLUGIN_ATTRIBUTES                | starpu
> PLUGIN_START_UNIT                | starpu
> PLUGIN_PRAGMAS                   | starpu
> main.cpp: In function ‘void my_task.cpu_implementation(int)’:
> main.cpp:7:1: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
> Preprocessed source stored into /tmp/ccheTREe.out file, please attach this
> to your bugreport.

Ouch.  It definitely works with 4.6.2 on x86_64-linux-gnu.

What’s the output of ‘gcc --version’, and what platform is it?

I suppose you didn’t run ‘make check’, did you?  (The GCC plug-in test
suite requires GNU Guile, as noted in the manual.)

Thanks,
Ludo’.



--
Cumprimentos
Miguel Palhas



Archives gérées par MHonArc 2.6.19+.

Haut de le page