Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] and rpm
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-10-31 03:42:54

Le 31/10/2010 01:44, Jirka Hladky a écrit :
> Hi all,
> since is nice script to help debug problems I was thinking
> to add it to the rpm.
> However, path to the lstopo is set to the absolute build path:
> abs_top_builddir="/home/jhladky/tests/performance/hwloc/hwloc-1.0.2"
> lstopo="$abs_top_builddir/utils/lstopo"
> so it will no work after installation from rpm package (lstopo is in
> /usr/bin/lstopo)
> I would propose to modify the script to look first for installed lstopo using
> "which" command.

What about we first try the one in $abs_top_builddir/utils/lstopo and
then revert back to $prefix/bin/lstopo ?

By the way, should we rename into during install ?