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                          [email protected]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to