Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vpath distcheck #3

Closed
ompiteam opened this issue Sep 12, 2014 · 2 comments
Closed

Fix vpath distcheck #3

ompiteam opened this issue Sep 12, 2014 · 2 comments
Assignees
Milestone

Comments

@ompiteam
Copy link
Contributor

Per http://www.open-mpi.org/community/lists/hwloc-devel/2009/09/0045.php, the following recipe results in failure:

{{{
svn co ...
cd trunk
./autogen.sh
mkdir build
cd build
../src/configure
make
make distcheck
}}}

@ompiteam
Copy link
Contributor Author

Imported from trac issue 2. Created by jsquyres on 2009-09-15T17:40:17, last modified: 2009-10-01T12:34:56

@ompiteam
Copy link
Contributor Author

Trac comment by jsquyres on 2009-10-01 12:34:56:

We agreed not to fix this one. Only VPATH dist/distcheck will be supported.

As an explanation: complexity really enters the picture because of the docbook integration (where the output files may be in the source tree or the build tree). Wonkyness ensues.

This was referenced Sep 12, 2014
bgoglin referenced this issue in bgoglin/hwloc Mar 16, 2018
On a 4-core machine with #2 offline, we want x86 to look at all 4 cores,
so that we get info for all online ones (#1, #3 and #4).
Before this commit, x86 would only look at the 3 first ones
(just like if the offline PUs were always at the end of the range).

At least Linux and Solaris can put some CPUs offline in the middle of the index range.
So ask hwloc_fallback_nbprocessors() to get the number of existing CPUs.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants