Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] hwloc-bind again
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2009-12-04 01:09:24


Jeff Squyres wrote:
> I notice that
>
> shell$ hwloc-bind
>
> (i.e., invoking hwloc-bind with no arguments)
>
> returns an exit status of 0. Shouldn't it return non-zero? I'd think it was an error if you didn't give hwloc-bind anything to do. For example, we wouldn't want a script with something like this:
>
> hwloc-bind $actions_to_do
>
> to return 0 if $actions_to_do was mistakenly empty.
>
> Right?
>

Yeah maybe