Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Building StarPU with OpenCL on Ubuntu 11.10

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Building StarPU with OpenCL on Ubuntu 11.10


Chronologique Discussions 
  • From: Cyril Roelandt <cyril.roelandt@inria.fr>
  • To: Alin Dobre <alin.dobre@movidius.com>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Building StarPU with OpenCL on Ubuntu 11.10
  • Date: Wed, 06 Jun 2012 16:57:44 +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>

On 06/05/2012 05:03 PM, Alin Dobre wrote:
Hi,



I'm having some trouble building the library on Ubuntu 11.10 32bit, GCC
4.6.1.

I get undefined symbol errors for the OpenCL primitives provided by the
OpenCL library.

I have checked the library path and it is provided correctly.



Could you provide us with both your configure options and the error log ? Which OpenCL implementation do you use ?


I suspect the errors may be due to the fact that the -lOpenCL gets placed
before the file that is using the library function calls in the linker
command line.

I noticed that the -l directives should be placed after the file in order
for the linking to work properly.


It seems like this is what we do.


WBR,
Cyril Roelandt.





Archives gérées par MHonArc 2.6.19+.

Haut de le page