Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] How to use a latest version of starpu library

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] How to use a latest version of starpu library


Chronologique Discussions 
  • From: Sylvain HENRY <sylvain.henry@inria.fr>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] How to use a latest version of starpu library
  • Date: Tue, 06 Dec 2011 15:47:43 +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>

Hi,

If your build system uses pkg-config, you need to configure it to find your custom version of StarPU:
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig:$PKG_CONFIG_PATH

Then set LD_LIBRARY_PATH to use your custom version of StarPU:
export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH

Cheers
Sylvain

Le 05/12/2011 15:02, ASUDE ASUDE a écrit :

Hi, 

  Might not be related to starpu runtime per se, but - How do I make my build system to use the newer version of this starpu shared library present in a different folder than the system default of /usr/local/lib?

I have an app I am building with starpu using ./configure and make. 

By default the app links/uses the starpu shared library present in the folder /usr/local/lib/libstarpu.so.0, but I have downloaded the latest source for this Starpu and installed it in my home $HOME/lib/.

I tried using this new library as an input to the configure command as below and even removed the /usr/local/lib from my LD_LIBRARY_PATH, but still when I check with ldd, it seems to show the executable is built with the old version of the library in /usr/local/lib.

./configure LDFLAGS="-l:$HOME/lib/libstarpu.so.0"

        

How do I make my build system to use the newer version of this starpu shared library present in a different folder than the system default of /usr/local/lib?

Do I need to modify anything in my build related makefiles, configure files?


-AD



_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel




Archives gérées par MHonArc 2.6.19+.

Haut de le page