Accéder au contenu.
Menu Sympa

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

Objet : Developers list for StarPU

Archives de la liste

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


Chronologique Discussions 
  • From: ASUDE ASUDE <ajitsdeshpande@gmail.com>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: [Starpu-devel] How to use a latest version of starpu library
  • Date: Mon, 5 Dec 2011 14:02:30 +0000
  • 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, 

  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




Archives gérées par MHonArc 2.6.19+.

Haut de le page