Jeff Squyres
0c05204c13
Arf -- didn't test the OMPI_DEBUG_ZERO with an optimized build, and it
...
caused the nightlies to fail. Move the definition of OMPI_DEBUG_ZERO
up to ompi_config_bottom.h and now all is well.
This commit was SVN r3664.
2004-11-27 12:43:19 +00:00
Jeff Squyres
77a3308de0
When --enable-mem-debug, zero out the fragment descriptor so that when
...
we write it down a socket, valgrind (et al.) won't complain about
uninitialized values.
This commit was SVN r3663.
2004-11-26 22:14:51 +00:00
Jeff Squyres
d39fbd7958
- Remove "ompi_config.h" from util/malloc.h. malloc.h is only ever
...
included by ompi_config_bottom.h, so it's redundant to include
ompi_config.h in it.
- Add OMPI_DEBUG_ZERO macro for zeroing out memory while debugging so
that valgrind (et al.) don't complain about uninitialized memory
when we know it's safe.
- correct a comment in ompi_config_bottom.h to make it have the
correct filename
This commit was SVN r3662.
2004-11-26 22:13:52 +00:00
Jeff Squyres
5cbf975955
Fix a confusing situation, and eliminate a potential memory leak.
...
MPI-1 does not say whether an errorhandler obtained via
MPI_ERRHANDLER_GET (or MPI_COMM_GET_ERRHANDLER or ...) needs to be
ERRHANDLER_FREE'd or not. I don't think it does, but some users will
probably disagree. So per the lengthy comment in
src/mpi/c/comm_get_errhandler.c, we increment the refcount whenever
GET is invoked.
This can lead to a memory leak in FINALIZE if the user GET's some
intrinsic error handlers -- we'll increment the refcount, which means
that it will never get to 0 during FINALIZE like it should. So add a
little extra logic to ensure that they are OMPI_OBJ_DESTROY'ed during
FINALIZE like they should be.
This commit was SVN r3661.
2004-11-26 22:11:22 +00:00
Mitch Sukalski
102a18ff6f
Changes to support latest mca_ptl_base frag and match
...
header types
This commit was SVN r3660.
2004-11-24 21:51:48 +00:00
Jeff Squyres
e85f80594c
Checkpoint -- if there's only one option, don't bother to prompt for
...
it.
This commit was SVN r3659.
2004-11-24 15:40:31 +00:00
Ralph Castain
9de44317db
Minor changes so that mpirun now checks the exit status and code of each process and returns a non-zero exit code if any process didn't normally terminate. Should help with the testing.
...
This commit was SVN r3658.
2004-11-24 15:13:02 +00:00
Rainer Keller
ce215e607c
Fix a small buglet for typedef'ing bool-types on systems/compilers
...
without this type.
This commit was SVN r3657.
2004-11-24 10:48:31 +00:00
Jeff Squyres
95a66f0663
Helper script to stamp in copyrights in files. Will be useful when
...
LANL / HLRS copyrights are figured out, and then can probably be
deleted.
This commit was SVN r3656.
2004-11-22 01:52:53 +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
aa11f9be06
- Fix broken $HEADER$ lines
...
- Add $HEADER$ lines to files that didn't have them
- Add placeholder LICENSE file
This commit was SVN r3654.
2004-11-22 00:37:56 +00:00
Jeff Squyres
c0848cd26c
As agreed, remove "test" from the distribution tarball
...
This commit was SVN r3653.
2004-11-21 23:15:57 +00:00
Jeff Squyres
ec5972418c
Remove now-defunct file
...
This commit was SVN r3652.
2004-11-21 23:01:12 +00:00
Jeff Squyres
9a37ba04ce
Remove backups and binaries
...
This commit was SVN r3651.
2004-11-21 22:55:04 +00:00
Jeff Squyres
c0e7a2f1c2
Remove now-defunct file
...
This commit was SVN r3650.
2004-11-21 22:43:06 +00:00
Jeff Squyres
8d4506a03e
Move win_examples out into tmp tree
...
This commit was SVN r3649.
2004-11-21 22:32:22 +00:00
Brian Barrett
fa6558db61
* update RMS pcm to match changes to gpr / ns interfaces
...
This commit was SVN r3648.
2004-11-21 17:23:58 +00:00
Ralph Castain
1ccb5cde4d
Cleanup some of the warnings reported by George.
...
This commit was SVN r3647.
2004-11-21 17:20:42 +00:00
Ralph Castain
73844230bc
Fix an initialization problem that valgrind complained about - forgot to mirror the fix that was done for the replica.
...
This commit was SVN r3646.
2004-11-21 04:41:51 +00:00
Ralph Castain
48b0b10464
For some unknowable reason, svn refused to pickup the ns subtree. Checked the whole thing out again, copied the correct files on top of the old ones, and now recommitting them.
...
This commit was SVN r3645.
2004-11-20 19:20:13 +00:00
Ralph Castain
bf9087d9d1
The merged main trunk and gpr integration branch. Tested on Mac only so far - will check out and test on Linux. If that has a problem, will back all changes out (again), but I think we have this one correct. Will send out a more complete change notice once testing is complete.
...
This commit was SVN r3644.
2004-11-20 19:12:43 +00:00
George Bosilca
c59d37315e
Remove all debugging stuff (all those macro not C99 compliant).
...
And remove all compilation warnings.
This commit was SVN r3643.
2004-11-20 00:18:38 +00:00
George Bosilca
29652b487a
Dont forget to correctly initialize the PTL in the not threaded case. Now GM work in all cases. One step forward ...
...
This commit was SVN r3642.
2004-11-19 22:33:30 +00:00
George Bosilca
02820f0d3b
Separate the send request and the DMA memory in 2 lists. Now they are independent as we dont always need a send request to be able to send a message to a peer.
...
This commit was SVN r3641.
2004-11-19 22:27:03 +00:00
George Bosilca
a777f4ad18
Use only types with specified length (int32_t, uint32_t ...)
...
This commit was SVN r3640.
2004-11-19 21:35:15 +00:00
George Bosilca
452920ed6c
Correctly handle the free list grow.
...
This commit was SVN r3639.
2004-11-19 21:34:17 +00:00
George Bosilca
1dfcf38d3c
Atomically increase the size of the req_bytes_sent.
...
Decrease and limit the locked part of the function.
This commit was SVN r3638.
2004-11-19 21:33:25 +00:00
Craig E Rasmussen
5c17dfda0e
Directory to hold shell scripts to generate compiler dependent Fortran code.
...
This commit was SVN r3633.
2004-11-18 23:58:42 +00:00
Craig E Rasmussen
315e17f6ea
Removed MPI_Wtick and MPI_Wtime as they are declared in mpif.h
...
This commit was SVN r3632.
2004-11-18 23:56:05 +00:00
Craig E Rasmussen
0eaa017e36
Finished with one complete pass through the xml. Now need to
...
make sure it leads to correct code generation.
This commit was SVN r3631.
2004-11-18 23:01:32 +00:00
George Bosilca
69efbe09ea
Decrease the latency. Report the send request as completed as soon as the data is in the GM buffers.
...
This commit was SVN r3629.
2004-11-18 20:25:01 +00:00
George Bosilca
7a9f100467
When no more send fragments are available wait until one of them became available. There are 2 ways to solve this problem, and for the alpha release I take the easiest one. Read the comment in the file for more informations.
...
This commit was SVN r3628.
2004-11-18 20:24:16 +00:00
George Bosilca
bcd498a2e1
Use the correct function to initialize the fragment header.
...
This commit was SVN r3627.
2004-11-18 20:22:29 +00:00
George Bosilca
a186a02480
Limit the number of items in the GM free lists
...
This commit was SVN r3626.
2004-11-18 20:21:25 +00:00
George Bosilca
394e5abd04
Create function to specifically initialize the header depending on the communication type.
...
This commit was SVN r3625.
2004-11-18 20:20:42 +00:00
Brian Barrett
af1f8e485a
* interupt polling for an incoming signal right away by adding an event for
...
a pipe. This eliminates the 2-3 second delay in signal delivery that
was making using libevent for cntl-c in mpirun a bit evil.
This commit was SVN r3620.
2004-11-18 16:09:59 +00:00
George Bosilca
67d6d86638
Back to working state using the new headers. Having less data to move around decrease
...
a little bit the latency. But I still have to improuve it ...
This commit was SVN r3618.
2004-11-18 06:36:26 +00:00
George Bosilca
b80e69bc69
It's a free list so let's use it as a free list !
...
This commit was SVN r3617.
2004-11-18 06:34:28 +00:00
Rich Graham
72f9b1df14
remove the shared memory control backing file on
...
termination. remove some debug code.
This commit was SVN r3615.
2004-11-18 04:18:33 +00:00
Brian Barrett
5ee42c2a58
* correct the installation paths of a bunch of headers
...
* make sure to install the libevent header
* make Automake create the sysconf_DATA directory before trying to
install the config files
This commit was SVN r3614.
2004-11-18 03:53:42 +00:00
Tim Woodall
be253609ac
changes to support running a non-threaded build on oversubscribed processors
...
This commit was SVN r3613.
2004-11-18 01:58:30 +00:00
Brian Barrett
fde966be5f
* install the default hostfile and mca params files only if there isn't
...
already one there. Credit to Jeff from LAM for the code
This commit was SVN r3611.
2004-11-18 00:55:03 +00:00
George Bosilca
89b6b3b66a
Keep the correct pointer to the DMA memory.
...
This commit was SVN r3610.
2004-11-18 00:26:20 +00:00
George Bosilca
33426c5af1
Just a checkpoint. Now compile with the new header.
...
Improuvement:
- latency went down by 15 us. It's still a little bit hist 12 but I'm working on that.
- correctly initialize and cleaups independing on the number of myrinet cards.
- associate one PTL by card and one thread by PTL if we are in a MT environment.
This commit was SVN r3609.
2004-11-18 00:23:19 +00:00
Tim Woodall
89978d698b
correct ntoh/hton macro
...
This commit was SVN r3607.
2004-11-17 23:43:30 +00:00
Tim Woodall
c80818463f
use oob barrier for mpi init
...
This commit was SVN r3606.
2004-11-17 23:37:49 +00:00
Tim Woodall
f78fb7a029
oops - should default to off for non-threaded build
...
This commit was SVN r3605.
2004-11-17 23:21:18 +00:00
George Bosilca
da76409962
When we copy a convertor just copy the minimum required fields. All others will be
...
initialized in the ompi_convertor_init_for_* functions.
This commit was SVN r3604.
2004-11-17 22:59:48 +00:00
Tim Woodall
9cb5f05ec1
comments
...
This commit was SVN r3603.
2004-11-17 22:54:43 +00:00
Tim Woodall
70d1c1aafd
rather large commit:
...
- change mca_ptl_base_header_t definition to decrease the
header size for small messages. note that this requires
all ptls to be updated. tcp/self/sm/mx have been changed,
gm/ib/quadrics will be broken by this commit. george and
mitch have volunteered to make the required changes to gm/ib
- revised matching logic to reduce function call overhead
- changes to tcp/self/sm/mx ptls to support the revised headers
This commit was SVN r3602.
2004-11-17 22:47:08 +00:00