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: "Alin Dobre" <alin.dobre@movidius.com>
  • To: "'Cyril Roelandt'" <cyril.roelandt@inria.fr>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Building StarPU with OpenCL on Ubuntu 11.10
  • Date: Fri, 8 Jun 2012 11:41:12 +0300
  • 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>

Hi,

 

The config.log is attached.

 

I used the following command line for configure:

./configure --enable-verbose --enable-debug --with-opencl-include-dir=/home/alin/SVN/StarPU/movidius/common --with-opencl-lib-dir=/home/alin/SVN/StarPU/movidius/linux32/lib --disable-socl --without-hwloc

 

Tho OpenCL  implementation is Movidius specific (Peppher project).

 

Thanks,

Alin

 

 

-----Original Message-----
From: Cyril Roelandt [mailto:cyril.roelandt@inria.fr]
Sent: Wednesday, June 06, 2012 5:58 PM
To: Alin Dobre
Cc: starpu-devel@lists.gforge.inria.fr
Subject: Re: [Starpu-devel] Building StarPU with OpenCL on Ubuntu 11.10

 

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.

Attachment: config.log
Description: Binary data




Archives gérées par MHonArc 2.6.19+.

Haut de le page