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: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: ajitsdeshpande@gmail.com
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] How to use a latest version of starpu library
  • Date: Wed, 7 Dec 2011 13:34:49 +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>

Hello,

You will also find informations in the manual on how to use pkg-config.

http://runtime.bordeaux.inria.fr/StarPU/starpu.html#Setting-flags-for-compiling-and-linking-applications
http://runtime.bordeaux.inria.fr/StarPU/starpu.html#Compiling-and-linking-options

Cheers,

Nathalie

On Dec 06, 15:47, Sylvain HENRY wrote:
> 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
>

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


--
----------------------------------------------------------------------------
Dr Nathalie Furmento CNRS R&D Engineer
Centre de Recherche INRIA Bordeaux Sud-Ouest http://www.labri.fr/~furmento/
351 cours de la Libération, Bât A29 Tel: +33 (0)5 24 57 41 20
33405 Talence cedex, FRANCE Fax: +33 (0)5 24 57 40 41
----------------------------------------------------------------------------





Archives gérées par MHonArc 2.6.19+.

Haut de le page