1
1

2713 Коммитов

Автор SHA1 Сообщение Дата
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
Tim Woodall
4ac1cc5c3a allow progress flag to be turned off only if it hasn't been reset
This commit was SVN r3601.
2004-11-17 21:00:27 +00:00
Rich Graham
7755ed6ad4 inline a few more functions.
This commit was SVN r3600.
2004-11-17 19:25:22 +00:00
Brian Barrett
24f2e57da2 * add changes subversion for some reason didn't schedule to be re-added
when rolling back r3589

This commit was SVN r3598.

The following SVN revision numbers were found above:
  r3589 --> open-mpi/ompi@9c85e6be5f
2004-11-17 12:37:27 +00:00
George Bosilca
8befccfc46 Remove a compile warning about the array_of_type pointer mismatch.
This commit was SVN r3595.
2004-11-17 05:03:05 +00:00
George Bosilca
bdc3c7995a Use the correct type for some of the variables.
This commit was SVN r3591.
2004-11-17 03:47:41 +00:00
George Bosilca
9690904dea MPI standard state that MPI_Win_f2c should return MPI_WIN_NULL if no windows correspond to the Fortran value.
As we dont have windows right now, I still raise the error but I return MPI_WIN_NULL.

This commit was SVN r3590.
2004-11-17 03:46:56 +00:00
Brian Barrett
23a6d5bb60 * roll back r3584 (gpr changes to reduce floods) as it appears to cause
some instability on Linux

This commit was SVN r3587.

The following SVN revision numbers were found above:
  r3584 --> open-mpi/ompi@52add381d0
2004-11-17 02:30:07 +00:00
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
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