Galen Shipman
3ded88a3c0
use addr +size -1 instead of base->addr as base->addr is down_aligned.
...
This commit was SVN r7536.
2005-09-28 20:19:33 +00:00
Galen Shipman
26a74d42fa
release, not retain on gm_free
...
This commit was SVN r7535.
2005-09-28 20:18:52 +00:00
Edgar Gabriel
67dd52efb1
making the allreduce and reduce_scatter tests pass as well
...
This commit was SVN r7532.
2005-09-28 15:12:05 +00:00
Josh Hursey
75419313f7
check the return code and do something reasonable, instead of progressing and hanging on error
...
This commit was SVN r7531.
2005-09-28 06:13:51 +00:00
Galen Shipman
c1f5543f62
need to call mpool_release on all registrations obtained in the pml.
...
sanity checks
This commit was SVN r7530.
2005-09-28 04:49:40 +00:00
Galen Shipman
b9b78f8f5d
modify rcache_rb to find registrations in the middle of a base and bound
...
This commit was SVN r7528.
2005-09-28 02:11:35 +00:00
Edgar Gabriel
dbbbd416df
fixing MPI_IN_PLACE for the log-reduce algorithm.
...
This commit was SVN r7526.
2005-09-27 21:51:55 +00:00
Galen Shipman
0fc17cedee
change order of ops on register
...
This commit was SVN r7525.
2005-09-27 21:43:41 +00:00
Jeff Squyres
285ded5655
- Ensure to have !initialized || finalized test *first*
...
- If we have an NS error, don't return an error -- this function's
purpose is to abort :-)
- s/abort()/exit(1)/ so that we don't drop massive corefiles
This commit was SVN r7524.
2005-09-27 20:26:38 +00:00
Galen Shipman
09e67ce4fd
fix off by one on up_align_addr, use base and bound instead of base_align and
...
bound_align..
This commit was SVN r7521.
2005-09-27 18:10:44 +00:00
Galen Shipman
af04b3e1ab
fix warnings..
...
This commit was SVN r7515.
2005-09-27 14:23:51 +00:00
Brian Barrett
80ac5c2efd
* there are now two upcoming points where we want to release a version with
...
a random string of characters as part of the version number (the really
soon to happen 1.0lanl release and the 1.1sc2005 release that we've
talked about). So rather than having alpha and beta fields that must
be numeric values, have a general field that can be any alphanumeric
value.
This commit was SVN r7511.
2005-09-27 02:06:05 +00:00
Galen Shipman
3c97b3f722
Modified the registration to include a base_align and bound_align for
...
searching the tree. Modified the memory callback to search the tree at each
page boundary for registrations. This is necessary as an application may
malloc memory and send out of any portion of that memory, even discontiguous
regions.
This commit was SVN r7510.
2005-09-27 02:01:21 +00:00
Brian Barrett
d9e80d8f2a
* increase size of event queue for receives - it was too small to be useful
...
on a reasonably sized machine
* if no mpool exists, don't try to malloc out an array of 0 bytes
This commit was SVN r7507.
2005-09-25 17:04:03 +00:00
Galen Shipman
384c472c94
reset ompi_pointer_array in mca_rcache_rb_find otherwise you might use an old
...
registration by accident..
This commit was SVN r7506.
2005-09-24 20:48:14 +00:00
Galen Shipman
02ce7a176e
had that backwards..
...
This commit was SVN r7504.
2005-09-24 16:58:07 +00:00
Galen Shipman
d1246be47e
should be strictly > or <
...
This commit was SVN r7503.
2005-09-24 16:45:34 +00:00
Galen Shipman
c53d51778a
fix for warnings..
...
This commit was SVN r7501.
2005-09-24 15:08:28 +00:00
Galen Shipman
9fe5844071
decrement ref count on removal of registration from mru and tree.
...
add misc asserts to check for proper reference counting.
ugly hack 1 -- use mallopt to never release memory ala sbrk - this is
commented out in mca_btl_mvapi_component_init
ugly hack 2 -- test registrations comming out of the tree via rcache_find, for
an unknown reason the tree is returning registrations where the address is not
within the base or bound of the registration. If this happens, we return
NULL.
comment out code to enable mem hooks if leave_pinned is set, note we can do
this via an mca param and will default it to leave_pinned with mem_hooks when
we iron out these issues.
I am adding a unit test for the rcache. Note that we have a unit test for the
rb tree but the compare function is significantly different than that used for
registrations. After we have tracked down the issues with rcache_rb we will
remove the above hacks.
This commit was SVN r7499.
2005-09-24 00:24:49 +00:00
Brian Barrett
50dc5499b4
* fix some remaining --with-btl-portals configure issues
...
This commit was SVN r7498.
2005-09-24 00:11:40 +00:00
Brian Barrett
0d68728b94
* add some more debugging output for send fragment issue to figure out why
...
Red Storm is complaining about invalid memory pointer (need to go back
to Linux and look at this with valgrind)
* Turn off send in place for now, so I can run the tests on RS and see if
everything else is ok
This commit was SVN r7497.
2005-09-23 19:30:54 +00:00
Brian Barrett
07b0b8c943
* add some useful debugging output
...
* fix dumb bug in btl_portals_get where I using the dest descriptor key instead
of the source descriptor key for the match bits, resulting in a PtlGet() with
the wrong match bits
This commit was SVN r7496.
2005-09-23 15:30:18 +00:00
Tim Woodall
604c9d1002
bump the default cache size
...
This commit was SVN r7492.
2005-09-22 19:37:42 +00:00
Tim Woodall
848f12e7fd
if mpi_leave_pinned is enabled - force malloc hooks
...
This commit was SVN r7491.
2005-09-22 17:27:56 +00:00
Tim Woodall
aceab46c5f
use MPI_Alloc_mem/MPI_Free_mem for internally allocated buffers
...
This commit was SVN r7487.
2005-09-22 16:43:17 +00:00
Tim Woodall
147716c249
added hostname to error output
...
This commit was SVN r7486.
2005-09-22 16:41:34 +00:00
Tim Woodall
b404581293
local variables/objects (regs) must be initialized/constructed
...
This commit was SVN r7485.
2005-09-22 16:18:23 +00:00
Tim Woodall
7acf0a6bdb
corrections for MPI_Free_mem
...
This commit was SVN r7481.
2005-09-22 15:47:33 +00:00
Andrew Friedley
555ae37255
Add lib{opal,orte,mpi}.la to appropriate LIBADD's, some whitespace cleanup as well.
...
This commit was SVN r7477.
2005-09-22 12:28:54 +00:00
Tim Woodall
da1e4a1292
- since we append new registrations to the end of the list,
...
need to remove old ones from the front
- call deregister to actually remove items from the cache/mru
list and deregister the memory (if not being used)
This commit was SVN r7476.
2005-09-21 23:25:16 +00:00
Tim Woodall
9791c066e8
dont attempt to pin the receive buffer if data has
...
already been received
This commit was SVN r7475.
2005-09-21 23:23:47 +00:00
Tim Woodall
1b7b220089
cleanup refcount
...
This commit was SVN r7462.
2005-09-21 20:04:56 +00:00
Tim Woodall
a74ca0062a
reductions to initial memory footprint
...
This commit was SVN r7455.
2005-09-21 19:10:56 +00:00
Galen Shipman
4296e723c9
default free_lists to smaller size..
...
This commit was SVN r7454.
2005-09-21 18:55:07 +00:00
Galen Shipman
96ab5a6bd3
we can be in WAITING_ACK state without a race if the OOB ack is "slower" than
...
the scheduling of queued IB send operations.
This commit was SVN r7452.
2005-09-21 16:47:08 +00:00
Tim Woodall
782e5b21cc
cleanup
...
This commit was SVN r7451.
2005-09-21 15:34:45 +00:00
Tim Woodall
a49a442fe4
cleanup refcount logic
...
This commit was SVN r7450.
2005-09-21 15:32:27 +00:00
Tim Woodall
0ee34051f8
debug asserts
...
This commit was SVN r7449.
2005-09-21 15:30:17 +00:00
Tim Woodall
1b73d3856e
possible race condition - set endpoint state before sending connect ack
...
This commit was SVN r7448.
2005-09-20 21:03:55 +00:00
David Daniel
e4985c2a07
Moving totalview spin to the very end of mpi_init
...
This commit was SVN r7444.
2005-09-20 15:22:15 +00:00
Brian Barrett
fd9901f683
* shell of a portals PML, properly ompi_ignored for most of the world...
...
This commit was SVN r7437.
2005-09-20 08:07:08 +00:00
Brian Barrett
d81726833e
* Add memory barriers for shared memory. Rich and I think we got them
...
all and the Intel tests pass slightly oversubscribed.
This commit was SVN r7431.
2005-09-19 16:28:25 +00:00
Tim Woodall
aeb5bc3f57
still need to cleanup/revise the template for mpool changes
...
This commit was SVN r7425.
2005-09-19 14:34:24 +00:00
George Bosilca
b70230858b
Correct the misnaming problem in the GM PTL.
...
This commit was SVN r7424.
2005-09-19 10:34:06 +00:00
Galen Shipman
6499eb3976
init the return code..
...
This commit was SVN r7423.
2005-09-18 14:25:30 +00:00
George Bosilca
97673b45d1
Remove the last bad symbol from the GM PTL.
...
This commit was SVN r7422.
2005-09-18 12:52:37 +00:00
George Bosilca
b5cb27c006
The self should use self named files.
...
This commit was SVN r7421.
2005-09-18 12:37:15 +00:00
George Bosilca
a7db1763e2
Cleanups ...
...
This commit was SVN r7420.
2005-09-18 12:34:29 +00:00
Jeff Squyres
d67c31f238
Remove useless compiler warnings.
...
This commit was SVN r7418.
2005-09-17 10:54:48 +00:00
Jeff Squyres
f9a1e14f65
Per suggestion from our friendly Libtool developer friends, add proper
...
dependencies for liborte and libompi (i.e., make liborte depend on
libopal, and make libmpi depend on liborte)
This commit was SVN r7417.
2005-09-17 10:45:46 +00:00