1
1
Граф коммитов

46 Коммитов

Автор SHA1 Сообщение Дата
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
Galen Shipman
aaa236052d changed function signitures to match the changes in mpool
This commit was SVN r5911.
2005-06-01 15:25:17 +00:00
Tim Prins
75b0b519d8 - Added functionality to MPI_Alloc_mem and MPI_Free_mem so that they
call the memory pool to do special memory allocations, and extended 
the mpool so that it will do the allocations and keep tack of them in
a tree. Currently, if you pass MPI_INFO_NULL to MPI_Alloc_mem, we will 
try to allocate the memory and register it with as many mpools as 
possible. Alternatively, one can pass an info object with the names of 
the mpools as keys, and from these we decide which mpools to register 
the new memory with.

- fixed some comments in the allocator and fixed a minor bug

- extended the red black tree test and made a minor correction

This commit was SVN r5902.
2005-05-31 19:07:27 +00:00
Jeff Squyres
61f55f1011 Fix the problem with the nightly unit tests -- do *not* override
OMPI_ENABLE_DEBUG because that changes the size of struct's (e.g.,
ompi_object) in the unit tests as compared to what may have been
compiled in the library.

This commit was SVN r5373.
2005-04-15 13:32:18 +00:00
Jeff Squyres
e15d0778ae Don't test for a bad condition
This commit was SVN r5323.
2005-04-13 21:25:25 +00:00
Jeff Squyres
f65cc5febf Fix ompi_list test to properly initialize its list items
This commit was SVN r5229.
2005-04-08 18:05:13 +00:00
Jeff Squyres
5946d303d8 Make this test compile again
This commit was SVN r5186.
2005-04-05 20:40:22 +00:00
Jeff Squyres
c36eab4749 32/64 fixes (ensure that our classes really at 64 bit clean -- and
they are!  Mostly the tests needed to be adjusted to run on 32 and 64
systems)

This commit was SVN r5185.
2005-04-05 20:34:56 +00:00
Jeff Squyres
c19182a0d7 Remove compiler warning
This commit was SVN r5184.
2005-04-05 19:54:56 +00:00
Jeff Squyres
2753522f70 Change the test to properly check uint64_t in ompi_value_array -- it's
a better test to check that instead of int's

This commit was SVN r5157.
2005-04-04 17:53:58 +00:00
Jeff Squyres
765250cb50 Fix compiler warnings and type comparisons
This commit was SVN r5131.
2005-04-01 13:35:57 +00:00
Jeff Squyres
c227d77c33 try to ensure that the warning about the warning is printed before the
warning

This commit was SVN r5045.
2005-03-27 11:30:53 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Jeff Squyres
ee6b23f2fb - removed unused variables
- fixed incorrect allocation of slot information (can't take the size
  of the fifo until after it has been created!)

This commit was SVN r5001.
2005-03-23 18:46:29 +00:00
Jeff Squyres
b27ea0c413 - fix some signed/unsigned comparisons
- print out that the test is *supposed* to generate a warning

This commit was SVN r4996.
2005-03-23 13:37:46 +00:00
Brian Barrett
4b6aecf82d * Fix up the test directory so everything uses Automake's "make check" to
build / run.  Only things that actually build / run right now are the
  asm and class tests.  The mca tests probably will with a static build
  but that hasn't been verified

This commit was SVN r4979.
2005-03-22 04:25:01 +00:00
Jeff Squyres
616269a9be Add HLRS copyright
This commit was SVN r3665.
2004-11-28 20:09:25 +00:00
Jeff Squyres
e9ed717748 First cut at copyrights: IU, UTK, and some OSU. LANL and HLRS still
pending.

This commit was SVN r3655.
2004-11-22 01:38:40 +00:00
Jeff Squyres
d324a7725c - Add #if protection around non-portable system .h files
- Add #include "ompi_config.h" to all .c files, and ensure that it's
  the first #included file
- remove a few useless #if HAVE_CONFIG_H checks

This commit was SVN r3229.
2004-10-20 01:03:09 +00:00
Laura Casswell
9aef410fcf fix comments and add messages
This commit was SVN r2463.
2004-09-03 12:52:04 +00:00
Laura Casswell
c28e502dee make run script more flexible
This commit was SVN r2462.
2004-09-03 12:43:50 +00:00
Laura Casswell
9b6c840370 remove links to .lo's that no longer exist
This commit was SVN r2397.
2004-08-30 18:46:38 +00:00
Rich Graham
c2a68eeff9 change the fifo code so that all arrays are referenced relative to
a base offset, so that different procs can access these w/o having
to be in the same virtual address.  Update tests.

This commit was SVN r2387.
2004-08-30 01:25:03 +00:00
Rich Graham
59f339f06b add test for ompi_fifo functions.
This commit was SVN r2328.
2004-08-27 16:31:27 +00:00
Rich Graham
21402b68bb change circular buffer fifo calls to reflect changes.
This commit was SVN r2285.
2004-08-24 20:18:29 +00:00
Rich Graham
b0a19d3fe6 add tests to run through queue multiple times, and correct for new
read interface.

This commit was SVN r2215.
2004-08-18 22:52:02 +00:00
Rich Graham
29b8a543af add more tests - finish non-threaded testing.
This commit was SVN r2189.
2004-08-17 21:49:29 +00:00
Brian Barrett
c5ebf49f41 * Modifications to the ompi_list_t interface and test suite
- added ompi_list_splice and ompi_list_join, which are multi-list
    manipulation functions similar to the splice functions in the STL
    list interface
  - added ompi_list_is_empty() for O(1) testing of for an empty list
  - added note that sometime in the future, ompi_list_get_size() may
    change to O(N) complexity.  DID NOT CHANGE THE FUNCTION IN ANY WAY.

If you are writing new code that needs to check for an empty list, please
use ompi_list_is_empty() rather than ompi_list_get_size() as is_empty()
will always be an O(1) operation (I can't see how you could make it
impossible to make it O(1), so this seems like a safe claim).

This commit was SVN r2186.
2004-08-17 19:31:07 +00:00
Rich Graham
30f1b87165 add to the circular buffer unit test
This commit was SVN r2171.
2004-08-16 23:07:10 +00:00
Rich Graham
0fbf919658 start to implement test for the circular buffer fifo implementation.
This commit was SVN r2128.
2004-08-13 19:48:32 +00:00
Laura Casswell
664d5c652d fix comments and usage message
This commit was SVN r2052.
2004-08-11 17:22:28 +00:00
Laura Casswell
6541592111 fix typo in usage message
This commit was SVN r1977.
2004-08-09 19:53:12 +00:00
Laura Casswell
4e45670024 get rid of list_set_size lines
This commit was SVN r1976.
2004-08-09 19:03:51 +00:00
Laura Casswell
6f92bb58ac there is no ompi_list_set_size
This commit was SVN r1975.
2004-08-09 17:42:41 +00:00
Laura Casswell
57e70e4692 add script to run one or all tests
This commit was SVN r1974.
2004-08-09 17:40:50 +00:00
Laura Casswell
850a4987c7 forgot to close files
This commit was SVN r1911.
2004-08-05 19:58:57 +00:00
Laura Casswell
8167336e65 added changes to make more uniform in reporting
This commit was SVN r1910.
2004-08-05 19:52:01 +00:00
Laura Casswell
2fbdeb6f65 Adding calls to general test routines
This commit was SVN r1905.
2004-08-05 19:22:47 +00:00
Jeff Squyres
735787e12b Remove the set_list_size inline function
This commit was SVN r1490.
2004-06-28 23:52:06 +00:00
Tim Prins
48f51861d3 Adding a new class which is a red black tree
-reviewed by Tim
adding a small test program for the tree

This commit was SVN r1437.
2004-06-22 20:52:18 +00:00
Tim Woodall
d1706ed2d0 more cleanup of broken svn commit
This commit was SVN r1280.
2004-06-15 19:57:18 +00:00
Tim Woodall
8e30307ada removed list type
This commit was SVN r1212.
2004-06-09 22:08:59 +00:00
George Bosilca
3c866dde73 C require that the definitions of variables have to be done prior to any instruction block.
This commit was SVN r1208.
2004-06-09 04:31:38 +00:00
David Daniel
c2e2de7981 Removing broken reference to registry test
This commit was SVN r1198.
2004-06-07 21:00:42 +00:00
Tim Woodall
f851e0032b renamed
This commit was SVN r1196.
2004-06-07 19:14:26 +00:00
David Daniel
1b04577727 renaming directories
This commit was SVN r1193.
2004-06-07 15:45:09 +00:00