Open MPI main development repository (BSD license)
https://github.com/open-mpi/ompi
7306b9d7b9
For anyone interested, the problem stemmed from two things: 1. a bug in the ompi_bitmap utility (which I copied to orte_bitmap to avoid unintentionally disturbing something else) that causes the bitmap NOT to expand unless the caller asks for a bit that is more than one byte outside the current array size. The unit test didn't pick it up because it doesn't check that close to the boundary. 2. a "feature" in the ompi_bitmap utility that only expands the array if you try to SET a bit outside the current boundary, but NOT if you try to CLEAR a bit outside the array limit. This appears intentional as the unit test checks for this behavior, but I hadn't been expecting the asymmetry. The orte_bitmap utility now appropriately expands in both circumstances. I also added a function to expand the array so it "covers" a bit location without setting or clearing it. The function allows you to ensure the array is big enough to handle the specified bit, but leave the bit alone if it already is there (the other functions would set/clear it if it was). I've tested it with up to 100 processes without problem. This commit was SVN r5980. |
||
---|---|---|
config | ||
contrib | ||
doc | ||
etc | ||
include | ||
src | ||
test | ||
vcproj | ||
acinclude.m4 | ||
autogen.sh | ||
configure.ac | ||
Doxyfile | ||
HACKING | ||
INSTALL | ||
ISSUES | ||
LICENSE | ||
Makefile.am | ||
README | ||
README.alpha | ||
VERSION |
Copyright (c) 2004-2005 The Trustees of Indiana University. All rights reserved. Copyright (c) 2004-2005 The Trustees of the University of Tennessee. All rights reserved. Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, University of Stuttgart. All rights reserved. Copyright (c) 2004-2005 The Regents of the University of California. All rights reserved. $COPYRIGHT$ Additional copyrights may follow $HEADER$ This is the world's greatest MPI. ...more to write here should be a short file, referring to the real docs.