George Bosilca
6c9f27a2f5
Mainly cleanups + some variable rename.
...
Help the compiler a little bit : add const to all arguments non modified inside the
functions.
This commit was SVN r3586.
2004-11-16 23:50:31 +00:00
Jeff Squyres
b73c7ae6c9
Add missing <netinet/in.h>
...
This commit was SVN r3585.
2004-11-16 23:12:18 +00:00
Brian Barrett
52add381d0
* Merge over the gpr changes Ralph has made on the gpr-integration branch.
...
This may trigger a complete rebuild :(. Short overview of changes:
- reduce number of network slams at startup
- prevent gpr from hanging when doing process death code
- general gpr cleanups
This commit was SVN r3584.
2004-11-16 22:53:33 +00:00
Craig E Rasmussen
c21f91582d
Initial version. This file template contains type information that
...
depends on the Fortran compiler.
This commit was SVN r3583.
2004-11-16 22:25:18 +00:00
George Bosilca
45e39e033b
Correct several bugs in the case when we are in a homogeneous environnement. Now the ddt engine handle
...
the contiguous datatype correctly and fast. However in the "developer mode" (OMPI_ENABLE_DEBUG set to 1)
there are additional test that are made. If you plan to look for performances please compile OpenMPI
in normal mode.
Changes:
- correctly generate the stack when we have an initial position
- same thing when we start from ZERO.
- in contiguous mode handle the partial copy of a data (using the stack)
- in the case when not all the data is packed/unpacked leave the stack in a correct state
- take care of data with size ZERO (who really want to create such things !!!)
- general pack/unpack functions handle the new stack representation
- make sure that we never goes outside the user provided buffer
This commit was SVN r3581.
2004-11-16 21:27:57 +00:00
Craig E Rasmussen
1c579699b1
Added AC_SUBST variables OMPI_FORTRAN_IKINDS, OMPI_FORTRAN_RKINDS
...
and OMPI_FORTRAN_CKINDS. These are used in shell scripts to
generate compiler dependent Fortran bindings.
This commit was SVN r3580.
2004-11-16 21:10:25 +00:00
Jeff Squyres
ca93c6505f
Added .ompi_ignore so that this is not built / included in tarball
...
This commit was SVN r3579.
2004-11-16 16:34:21 +00:00
Craig E Rasmussen
0ebc552b1d
This directory contains xml representations of the C
...
MPI bindings.
This commit was SVN r3578.
2004-11-16 16:18:53 +00:00
Brian Barrett
18a3d42bb2
* add --hostfile <name> option to mpirun so that you don't have to set the
...
silly environment variable any more :)
This commit was SVN r3576.
2004-11-16 14:09:19 +00:00
Jeff Squyres
3c6a8e537a
Oops -- #else got put in wrong place, and would screw up non-threaded
...
builds.
This commit was SVN r3575.
2004-11-16 12:36:56 +00:00
Brian Barrett
a3fff458b7
* Make bootproxy kill everyone if the ssh session dies (mpirun dies or tries
...
to kill the bootproxy). This should fix the leftover cruft processes
people are seeing when processes fail.
* Do some code cleanups to get process-related data types handled slightly
better. Still have to do some work here to handle transmitting the
data in a more reasonable fashion.
* Clean up some of the bootproxy code
This commit was SVN r3574.
2004-11-16 04:35:52 +00:00
Rich Graham
f00e702a07
inline the write to head function.
...
This commit was SVN r3573.
2004-11-16 04:21:30 +00:00
Rich Graham
06cfa4ee84
fix bug - handle data on send only if size > 0, not >= 0.
...
This commit was SVN r3571.
2004-11-16 00:34:43 +00:00
Jeff Squyres
7f3790615a
- Implement MPI_Is_thread_main
...
- Add new thread function to compare current thread to an
ompi_thread_t*
- Save current thread ID in MPI_INIT*
- Add first cut of solaris thread functions
- Add stubs for missing Windows thread functions
This commit was SVN r3569.
2004-11-15 20:03:14 +00:00
Jeff Squyres
e5aa5ddc9b
Fix some minor seg faults
...
This commit was SVN r3568.
2004-11-15 17:47:09 +00:00
Jeff Squyres
17e691eb73
Ensure to allocate a communicator before trying to use it when
...
creating a topo communicator.
This commit was SVN r3567.
2004-11-15 16:09:08 +00:00
Jeff Squyres
aec66ec597
Ensure to increase the refcount on MPI_*_get_errhandler(). See
...
lengthy comment in src/mpi/c/comm_get_errhandler.c for an explanation
why.
This commit was SVN r3566.
2004-11-15 13:36:22 +00:00
Jeff Squyres
2975acb081
We don't need to do anything in pcontrol. So just return
...
MPI_SUCCESS.
This commit was SVN r3565.
2004-11-15 02:59:28 +00:00
Jeff Squyres
34658afa73
Having the output on 2 lines really bugged me. :-)
...
This commit was SVN r3564.
2004-11-15 02:48:54 +00:00
Brian Barrett
46e22827d3
* now that we found the race condition causing problems with rms, re-enable
...
the component
This commit was SVN r3563.
2004-11-14 19:50:51 +00:00
Brian Barrett
aa38f56993
* don't want C++ files to have extern "C" linkage. Fixes the C++ bindings
...
link failures Jeff was seeing
This commit was SVN r3562.
2004-11-14 18:25:24 +00:00
Jeff Squyres
fbf7ad1613
Ops -- should be &&
...
This commit was SVN r3561.
2004-11-14 16:55:39 +00:00
Jeff Squyres
22f9115c82
Fix component close issue with topo, coll, and io.
...
This commit was SVN r3556.
2004-11-12 16:55:41 +00:00
Tim Woodall
73385f189e
- use common macro for atomic add
...
This commit was SVN r3554.
2004-11-11 21:39:48 +00:00
Rich Graham
6590713a5c
fix some bugs with new shared memory implementation.
...
This commit was SVN r3553.
2004-11-11 20:34:28 +00:00
Tim Woodall
19f0debe2f
cleanup
...
This commit was SVN r3552.
2004-11-11 16:07:51 +00:00
Tim Woodall
2c7098b8cf
add macro to conditionally use atomic operations if required
...
This commit was SVN r3551.
2004-11-11 15:41:07 +00:00
Tim Woodall
95d5165478
- move posting recv out of critical path
...
This commit was SVN r3550.
2004-11-11 15:01:48 +00:00
George Bosilca
f2c697170c
Temporary checkpoint.
...
This commit was SVN r3547.
2004-11-09 16:01:53 +00:00
Tim Woodall
d88c20d724
fix make dist
...
This commit was SVN r3546.
2004-11-08 19:51:22 +00:00
Mitch Sukalski
ab7cfab702
changed address pointer casting from "unsigned int"
...
to "unsigned long" so we don't truncate address on
64-bit machines...
This commit was SVN r3545.
2004-11-08 19:33:29 +00:00
Jeff Squyres
6248540177
#$%^#$%#@$%!!!
...
This commit was SVN r3544.
2004-11-08 12:48:57 +00:00
Jeff Squyres
a1e7233dd1
Per MPI-2:88-89 -- if we are comm_free'ing the parent, then subsequent
...
calls to comm_get_parent shuld return comm_null. Additionally, if
it's freed, we don't want to free it again during ompi_comm_finalize.
So if we're freeing the user's handle to the parent comm (i.e., we're
not calling ompi_comm_free on ompi_mpi_comm_parent itself), then
explicitly set ompi_mpi_comm_parent to &ompi_mpi_comm_null. This does
two things:
1. subsequent calls to comm_get_parent will return comm_null
2. we won't try to ompi_comm_free the ompi_mpi_comm_parent in
ompi_comm_finalize()
This commit was SVN r3543.
2004-11-08 05:04:54 +00:00
Brian Barrett
6ea03e913d
* remove debugging printf committed recently
...
This commit was SVN r3539.
2004-11-07 19:12:28 +00:00
Tim Woodall
46c70800a1
correct error returns - release locks
...
This commit was SVN r3536.
2004-11-07 03:30:37 +00:00
Tim Woodall
e391c90105
correct the return value to the allocated buffer - in the
...
case of a partial read, the iovec no longer points to the
start of the allocated buffer or the entire length of the
message
This commit was SVN r3535.
2004-11-07 03:18:00 +00:00
Rich Graham
2e6eaf6d5f
code changes to support sm.
...
This commit was SVN r3534.
2004-11-06 22:00:24 +00:00
Jeff Squyres
4cc5d00c2f
Use a safe tag to start with. Per bug 1047, this is still not the
...
proper final solution.
This commit was SVN r3531.
2004-11-06 15:43:31 +00:00
Brian Barrett
db54399f82
* Add all the show_help() commands instead of printf(). Probably want for
...
SC, as some of the error messages mpirun could emmit were pretty terse
and unfriendly
This commit was SVN r3530.
2004-11-06 15:16:11 +00:00
Brian Barrett
f32d1309e1
* I don't understand what is going on and I don't think it's the RMS pcm's
...
fault, but using rms causes the processes to abort. Shutting off the
rms pcm for now so that it doesn't accidently go insane during SC.
This commit was SVN r3529.
2004-11-06 03:34:32 +00:00
Brian Barrett
2a1182e956
* try to slow the flood into the registry at startup by slowing startup.
...
Yeah, it's a hack. But it works for now...
This commit was SVN r3528.
2004-11-06 00:39:08 +00:00
Edgar Gabriel
664567d7f7
start counting the ports with 1 instead of zero to avoid the wildcard problem with the oob
...
This commit was SVN r3527.
2004-11-05 19:58:44 +00:00
George Bosilca
39e7432ebf
Just a checkpoint ...
...
This commit was SVN r3526.
2004-11-05 14:53:38 +00:00
Edgar Gabriel
b3d5c0a04f
applying a diff-file from Jeff with one minor correction. Major problem was that I dereferenced comm_null accidentally four times instead of ones comm_null, twice group_null and once the error handler of comm_parent, in case a parent communicator other then comm_null has been established.
...
This commit was SVN r3525.
2004-11-05 12:58:14 +00:00
George Bosilca
9659288e74
I hate waiting on the airports. SO I start doing something usefull ...
...
I remove a lot of inter-dependence, I use the struct_t type.
BEWARE not all the function are ready.
This commit was SVN r3524.
2004-11-05 07:52:30 +00:00
George Bosilca
90d79bb1d1
Remove a useless define.
...
This commit was SVN r3523.
2004-11-05 07:39:57 +00:00
Tim Woodall
85490f00a5
restore previous matching logic until I have more time
...
to validate the changes
This commit was SVN r3522.
2004-11-05 03:13:21 +00:00
Tim Woodall
aef2983f15
eanup-This line, and those below, will be ignored--
...
M base/ptl_base_match.c
This commit was SVN r3521.
2004-11-05 01:43:58 +00:00
Tim Woodall
a84f9d0a7d
correct revised logic
...
This commit was SVN r3520.
2004-11-04 23:36:48 +00:00
Brian Barrett
6b0b4e0aee
* temporary workaround so that you don't have to have . in your path to
...
launch an app.
This commit was SVN r3519.
2004-11-04 23:27:59 +00:00