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

24 Коммитов

Автор SHA1 Сообщение Дата
Edgar Gabriel
20a512a9b7 restructuring some of the communicator code.
with a couple of internal tricks, intercomm_create works now.

This commit was SVN r1855.
2004-08-03 22:07:45 +00:00
Jeff Squyres
eb8cba98af - massive change for module<-->component name fixes throughout the
code base.
  - many (most) mca type names have "component" or "module" in them,
    as relevant, just to further distinguish the difference between
    component data/actions and module data/actions.  All developers
    are encouraged to perpetuate this convention when you create
    types that are specific to a framework, component, or module
  - did very little to entire framework (just the basics to make it
    compile) because it's just about to be almost entirely replaced
  - ditto for io / romio
  - did not work on elan or ib components; have to commit and then
    convert those on a different machine with the right libraries and
    headers
- renamed a bunch of *_module.c files to *_component.c and *module*c
  to *component*c (a few still remain, e.g., ptl/ib, ptl/elan, etc.)
- modified autogen/configure/build process to match new filenames
  (e.g., output static-components.h instead of static-modules.h)
- removed DOS-style cr/lf stuff in ns/ns.h
- added newline to end of file src/util/numtostr.h
- removed some redundant error checking in the top-level topo
  functions
- added a few {} here and there where people "forgot" to put them in
  for 1 line blocks ;-)
- removed a bunch of MPI_* types from mca header files (replaced with
  corresponding ompi_* types)
- all the ptl components had version numbers in their structs; removed
- converted a few more elements in the MCA base to use the OBJ
  interface -- removed some old manual reference counting kruft

This commit was SVN r1830.
2004-08-02 00:24:22 +00:00
Prabhanjan Kambadur
cae7d0afcb Changing a lot of stuff in topo. This commit is just the intergration
of what has been done in tmp/anju-topo-work branch. For more detailed 
information on the commits, please see those logs

This commit was SVN r1787.
2004-07-20 22:21:47 +00:00
Jeff Squyres
a5a712b31f Lots of changes in this commit, mostly having to do with the first
real commit of the collectives.  MPI_SCAN and MPI_EXSCAN are still not
implemented, but lots of other things are in the critical path and
holding up other people, so it's ok to commit without them:

- better checks for sizes in configure, and add defaults for fortran
  sizes if we don't have a fortran compiler
- fix some logic that was accidentally broken for size checks for the
  file type offset_t
- add some C equivalent types for fortran's complex and double complex
  (for use in internal reduction/op functions)
- additionals and slight reorganization of ompi_mpi_init()
  ompi_mpi_finalize()
- fully implement all top-level MPI collective calls, including all
  param checking for both intra- and inter-communicators (woof)
- change the communicator_t type for stuff that we need in coll, and
  update all references throughout the code base to match
- all kinds of updates to the coll framework base
- next cut of the basic coll module -- has all intracommunicator
  collectives implemented except scan and exscan (see note above).
  All intercommunicator functions return ERR_NOT_IMPLEMENTED.
- MPI_Op is a fixed implementation -- not component-ized yet.  So
  there are generic C loops for all implementations.

This commit was SVN r1491.
2004-06-29 00:02:25 +00:00
Tim Woodall
2ce7ca725b - cleanup of some of the c bindings
- for threaded case - cleanup event libraries progress thread
- cleanup of request handling for persistent sends
- added support for buffered sends

This commit was SVN r1461.
2004-06-24 16:47:00 +00:00
Edgar Gabriel
deec2c1435 preparing the comm_cid allocation routine for dynamic process management
This commit was SVN r1336.
2004-06-16 22:37:03 +00:00
Edgar Gabriel
2598915dc7 adding functions for handling the name publishing. Currently ifdefed out,
just blank routines are provided for keeping the linker happy.

This commit was SVN r1334.
2004-06-16 21:34:42 +00:00
Edgar Gabriel
f8294ab099 extracting the creation of comm_cid from the comm_set routine.
The reason is, that we had to pass four arguments to comm_sdet, which were just passed to comm_cid. However, for the dynamic case, even these four arguments are not enough. So I extracted it. A typical sequence for a comm-creation will therefore be:

 newcomm = ompi_comm_set (...);
 ompi_comm_nextcid (newcomm, oldcomm,...);

This commit was SVN r1312.
2004-06-16 15:40:52 +00:00
Edgar Gabriel
bdef2b4a09 fixed the prototype of ompi_comm_dump
- added a function for implementing an allgather on the local_comm for inter-communicators. Will just be used from MPI_Comm_split for inter-communicators

This commit was SVN r1283.
2004-06-15 21:29:29 +00:00
Edgar Gabriel
df91640da6 just minor modifications to match the modifications in the group-struct.
This commit was SVN r1258.
2004-06-15 00:09:40 +00:00
David Daniel
563ac2a338 First pass of lam -> ompi conversion
This commit was SVN r1191.
2004-06-07 15:33:53 +00:00
Edgar Gabriel
536c279529 adding most of the required functionality for handling MPI-1 and most of MPI-2 communicator functions (except dynamic process management). The cid are currently not yet calculated properly, although the functions are checked in.
Still to do:
- make the CID allocation routine thread safe
- add the ACK in lam_comm_free
- fix a bug in lam_comm_split for inter-communicators ( in this
  case we can not have allgather_intra and allgather_inter at the
  same time at this communicators, that's however what
  the current implemention assumes).

Reviewed by Jeff, Rich and Tim.

This commit was SVN r1148.
2004-05-21 19:36:19 +00:00
Vishal Sahay
ec7b437428 Add more functionality in comm
This commit was SVN r1121.
2004-05-07 23:15:10 +00:00
Prabhanjan Kambadur
ca48b3962b Changing some prototypes and also changing the functions. There were some spelling mistakes and other problems. Also commiting the MPI topology functions
This commit was SVN r1075.
2004-04-21 20:55:54 +00:00
Prabhanjan Kambadur
a8d9e4ac7d Pushing c_cube_dim to communicator since it is used by more than one type
This commit was SVN r1068.
2004-04-21 00:16:05 +00:00
Prabhanjan Kambadur
2f7aeb2d62 Changing some stuff in topo module ...
This commit was SVN r1043.
2004-04-16 20:54:48 +00:00
Edgar Gabriel
6932553a35 fixing the "no MPI-objects underneath the MPI-library functions" problem.
Exchanged therefore MPI_Comm by lam_communicator_t* and MPI_Group by lam_group_t* .

This commit was SVN r1000.
2004-03-28 14:24:43 +00:00
Edgar Gabriel
44a20d832a first set of communicator functions. up to now
supporting MPI-1 intra-communicators.
 
The getnextcid function still to be done properly.

This commit was SVN r982.
2004-03-26 20:02:42 +00:00
Vishal Sahay
af4a977a21 Change references to keyhash according to the comm/datatype/win object -- append a prefix to keyhash in the respective structure
This commit was SVN r938.
2004-03-19 16:34:09 +00:00
Jeff Squyres
19629774f0 First cut at error handlers. Still have more to go.
This commit was SVN r934.
2004-03-19 06:12:43 +00:00
Jeff Squyres
b195c85f60 First cut of the errhandler stuff (invocation of errorhandlers, to be
invoked by top-level MPI functions).  See doxygen comments for
explanations of which macros to use.

This commit was SVN r926.
2004-03-19 00:00:09 +00:00
David Daniel
e572fbb128 Removing explicit references to stdint.h
This commit was SVN r882.
2004-03-17 19:22:14 +00:00
David Daniel
7f8c2c3714 Updating header file names after the great directory reorganization.
This commit was SVN r877.
2004-03-17 18:45:16 +00:00
Jeff Squyres
1b67211597 Massive directory reorganization :-)
This commit was SVN r872.
2004-03-17 17:42:19 +00:00