1
1
Open MPI main development repository (BSD license) https://github.com/open-mpi/ompi
Перейти к файлу
Ralph Castain 7306b9d7b9 Fix the registry search routine to remove a buffer that wasn't expanding as it should - cause of recent problems observed when spawning larger numbers of processes.
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.
2005-06-08 15:48:38 +00:00
config Patch for systems with broken Fortran compilers (e.g., OS X Tiger 2005-06-01 10:53:44 +00:00
contrib Use an explicit TMPDIR so that we don't get stale universe directories 2005-05-21 11:44:16 +00:00
doc First cut of user docs (very rough; copied from LAM/MPI -- insertted 2005-04-02 15:11:28 +00:00
etc Bring the resource discovery system's resource file component online so I can find the node I need to launch upon. I removed all reference to the xml library that was causing trouble, and wrote my own limited xml parser instead, so this will now compile just fine anywhere. 2005-05-16 21:01:09 +00:00
include Fix logic mistake with the OMPI_WANT_CXX_BINDINGS macro -- it's not 2005-05-25 18:29:00 +00:00
src Fix the registry search routine to remove a buffer that wasn't expanding as it should - cause of recent problems observed when spawning larger numbers of processes. 2005-06-08 15:48:38 +00:00
test Fix the registry search routine to remove a buffer that wasn't expanding as it should - cause of recent problems observed when spawning larger numbers of processes. 2005-06-08 15:48:38 +00:00
vcproj Add UC copyright 2005-03-24 12:43:37 +00:00
acinclude.m4 Bunches of fixes for Fortran support: 2005-05-19 23:56:02 +00:00
autogen.sh Fix some minor typos 2005-05-12 02:22:03 +00:00
configure.ac Add Makefile.am (and related support) for dynamic builds of bmi 2005-06-01 09:31:08 +00:00
Doxyfile Add UC copyright 2005-03-24 12:43:37 +00:00
HACKING Add UC copyright 2005-03-24 12:43:37 +00:00
INSTALL Updates 2005-04-14 19:37:22 +00:00
ISSUES * add --enable-mca-static to specify components that should be statically 2005-04-13 03:19:48 +00:00
LICENSE This license has tenatively been agreed to by all parties. The 2005-05-20 10:42:59 +00:00
Makefile.am * get the svn r number when vpath building 2005-04-07 21:39:03 +00:00
README Add UC copyright 2005-03-24 12:43:37 +00:00
README.alpha Add note to packagers 2005-04-02 13:59:08 +00:00
VERSION /trunk is working towards 1.0 2005-05-12 17:56:42 +00:00

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.