Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] StarPU Configuration error

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] StarPU Configuration error


Chronologique Discussions 
  • From: Wafa Nafti <wafa_nafti@yahoo.fr>
  • To: Samuel Thibault <samuel.thibault@inria.fr>
  • Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] StarPU Configuration error
  • Date: Wed, 6 Apr 2016 11:31:57 +0000 (UTC)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=wafa_nafti@yahoo.fr; spf=Pass smtp.mailfrom=wafa_nafti@yahoo.fr; spf=None smtp.helo=postmaster@nm34-vm9.bullet.mail.ne1.yahoo.com
  • Ironport-phdr: 9a23:as3wSxXC0gWzujrEwjMPDv1AkajV8LGtZVwlr6E/grcLSJyIuqrYZxaGt8tkgFKBZ4jH8fUM07OQ6PCwHzBZqs3d+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpq82VP1wD32b1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu3SNp41Rr1ADTkgL3t9pIiy7UGCHkOz4S4nW2ALnx4APwjE5hjnWou55jDzs/dw3G+GPcz8RK0wRRyj6b1qQVnmknFUDTMh9HDrjZlPhaxS6DSoqQB+i9rLaY+cA/x3cL/cVcITRW1GGMhLAX9vGIS5OrQGAeNJG+9Ws4i180QHoxKJAwCiGOLH2zZIgXiw07dsgLdpKh3PwAF1R4FGi3/Tttigcf5KCe0=
  • 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>

> Also, did the summary at the end of ./configure notify that the gcc
> plugin infrastructure was built?  This is required for getting the gcc
> pluging way of using StarPU working

I have this at the end of the ./configure :

configure:

CPUs   enabled: yes
CUDA   enabled: no
OpenCL enabled: yes
SCC    enabled: no
MIC    enabled: no

Compile-time limits
(change these with --enable-maxcpus, --enable-maxcudadev,
--enable-maxopencldev, --enable-maxmicdev, --enable-maxnodes,
        --enable-maxbuffers)
        (Note these numbers do not represent the number of detected
devices, but the maximum number of devices StarPU can manage)

Maximum number of CPUs:           64
Maximum number of CUDA devices:   0
Maximum number of OpenCL devices: 8
Maximum number of SCC devices:    0
Maximum number of MIC threads:    0
Maximum number of memory nodes:   16
Maximum number of task buffers:   8

GPU-GPU transfers: no
Allocation cache:  yes

Magma enabled:     no
BLAS library:      none
hwloc:             yes
FxT trace enabled: no
StarPU-Top:        no

        Documentation:     no
        Examples:          yes

StarPU Extensions:
      MPI enabled:                                 no
      MPI test suite:                              no
      FFT Support:                                 yes
      GCC plug-in:                                 no
      GCC plug-in test suite (requires GNU Guile): no
      OpenMP runtime support enabled:              no
      SOCL enabled:                                yes
               SOCL test suite:                             no
               Scheduler Hypervisor:                        no
               simgrid enabled:                             no
               ayudame enabled:                             no

configure:
WARNING: SOCL test suite will not be run as the environment variable SOCL_OCL_LIB_OPENCL is not defined.
To run the tests, you need to install the OCL implementation of ICD
(https://forge.imag.fr/projects/ocl-icd/ or Debian package ocl-icd-libopencl1)
and set the variable SOCL_OCL_LIB_OPENCL to the location of the libOpenCL.so.
 
------------------------
Wafa NAFTI
ENSIT, Tunisie


Le Mercredi 6 avril 2016 13h19, Samuel Thibault <samuel.thibault@inria.fr> a écrit :


Wafa Nafti, on Wed 06 Apr 2016 11:06:12 +0000, wrote:
> ls: cannot access /usr/lib/pkgconfig/hwloc.pc: No such file or directory
> /usr/lib/x86_64-linux-gnu/pkgconfig/hwloc.pc
>
> But if I added the directory of the location of the file hwloc.pc to the
> PKG_CONFIG_PATH environment variable, as Nathalie said, the configuration and
> the installation are successful.

Ok, but you shouldn't have had to do that, there seems to be something
wrong with your system: pkg-config should already be looking in
/usr/lib/x86_64-linux-gnu/pkgconfig , you should not have had to specify
it.

> However I have this error when I try to compile an example :
>
> ~/StarPU/examples/basic_examples$ gcc `pkg-config starpu-1.1 --cflags` block.c
> \ -fplugin=`pkg-config starpu-1.1 --variable=gccplugin` \ `pkg-config
> starpu-1.1 --libs`

Do not type the \ as they are, they are there only to indicate that the
line is to be continued.

Also, did the summary at the end of ./configure notify that the gcc
plugin infrastructure was built?  This is required for getting the gcc
pluging way of using StarPU working.

All that being said, the example you use (block.c) does *not* use the
gcc plugin for C extension, so you can just skip the related part, i.e.

-fplugin=`pkg-config starpu-1.1 --variable=gccplugin`

and thus only keep the cflags and the libs parts.


Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page