Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] hwloc-1.3.1rc1: odd "make check" failure on Solaris 11
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2011-12-14 04:02:59


On 12/14/2011 12:53 AM, Samuel Thibault wrote:
> Paul H. Hargrove, le Wed 14 Dec 2011 09:50:23 +0100, a écrit :
>> It appears that something has passed bogus arguments to hwloc-calc.
>> Adding "set -x" in test-hwloc-calc.sh.in I can find the failure is from:
>> ./hwloc-calc --if synthetic --input "node:4 core:4 pu:4" pu:22-47
>> --largest --sep ""
>> Which I can confirm fails when run by hand on this platform, but works fine
>> elsewhere.
> IIRC, the libtool-generated hwloc-calc shell script has issues with
> empty parameters, such as "" above...

Ah, yes. If I change "#!/bin/sh" to "#!/bin/bash" in the
libtool-generated wrapper then all goes fine.
So this is a problem w/ libtool-vs-sh when (sh != bash).

I am about to report another libtool-related issue too.

-Paul

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900