Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: [hwloc-devel] hwloc-bind again
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-12-03 21:23:07


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?

-- 
Jeff Squyres
jsquyres_at_[hidden]