Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] gather-topology.sh 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 gather-topology.sh 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 gather-topology.sh into
hwloc-gather-topology.sh during install ?

Brice