1
1

362 Коммитов

Автор SHA1 Сообщение Дата
Edgar Gabriel
167e046ee0 sorry, deactivating the comm-mutex to avoid problems.
This commit was SVN r1878.
2004-08-04 19:55:45 +00:00
Edgar Gabriel
ec0f556680 adapting comm_set/get_name to the new internal function and the mutex
open_port and close_port should now be implemented correctly.
updating intercomm_merge

This commit was SVN r1876.
2004-08-04 19:48:03 +00:00
Edgar Gabriel
d6334fa558 updating the communicator interface functions to the new interfaces and procedures of comm.c
This commit was SVN r1856.
2004-08-03 22:08:23 +00:00
Edgar Gabriel
ae3028efe7 adding fortran interface for the MPI-1 communicator functions.
This commit was SVN r1837.
2004-08-02 14:35:33 +00:00
Jeff Squyres
cd8f550dc7 - Add greb-able string in non-implemented functions
- Fix exception handling when malloc fails
- Combine a few malloc's

This commit was SVN r1831.
2004-08-02 02:35:46 +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
Jeff Squyres
dc997f438b Fix some minor compile errors
This commit was SVN r1829.
2004-08-01 22:13:33 +00:00
Prabhanjan Kambadur
76275092da These two functions were unimplemented .. (oops)
This commit was SVN r1827.
2004-07-30 22:06:09 +00:00
Jeff Squyres
90de82789e Finally commit fixes from code review in Ohio with Anju:
- better error checking in top-level MPI API coll functions
- remove boolean flags in coll module struct
- minor fixes in selection logic

This commit was SVN r1825.
2004-07-30 19:14:55 +00:00
Jeff Squyres
eeee18fce8 Make a pass through all top-level MPI functions
- Mark those who are still not yet implemented:
  - return an error
  - have a grep-able string indicating that they are not yet
    implemented
- ensure every function checks for init/finalize
- add more error checking to a bunch of functions
- unify the error checking -- it reflected about 3 different
  [previous] error checking styles and MPI exception invocation styles

This commit was SVN r1817.
2004-07-30 02:58:53 +00:00
Jeff Squyres
4799f629e3 ensure to check for init/finalize
This commit was SVN r1813.
2004-07-27 02:30:21 +00:00
Jeff Squyres
480a552f44 - Check for init/finalize
- Use ompi_comm_invalid() to check for invalid communicator

This commit was SVN r1810.
2004-07-26 22:22:40 +00:00
Jeff Squyres
753358336b Remove annoying compiler warning :-)
This commit was SVN r1809.
2004-07-26 22:21:20 +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
George Bosilca
94fcad64f6 Use the new datatype checking macros.
This commit was SVN r1783.
2004-07-19 18:37:40 +00:00
George Bosilca
cfb28af59a Add 3 macros to check for the correctness of a datatype and for it's suitability for a specific operation.
OMPI_CHECK_DATATYPE_FOR_SEND OMPI_CHECK_DATATYPE_FOR_RECV OMPI_CHECK_DATATYPE_FOR_ONE_SIDED
BE AWARE ! these macros does not trigger the error handle, they just set a error code in the
first argument. You have to check for the error code after the call.

This commit was SVN r1782.
2004-07-19 18:37:15 +00:00
Jeff Squyres
4ce8c4b7e6 Also include the defines.h in the tarball
This commit was SVN r1778.
2004-07-18 12:40:59 +00:00
Jeff Squyres
949bf3f51d Fix fortran bindings on systems with weak symbols
This commit was SVN r1773.
2004-07-17 20:10:03 +00:00
George Bosilca
568ec6fc68 Remove the dependance to mpi.h
This commit was SVN r1767.
2004-07-16 21:05:17 +00:00
Edgar Gabriel
dd30849c73 fixing comm_compare. We pass now an initial, simple testsuie
This commit was SVN r1751.
2004-07-15 20:55:50 +00:00
Ginger Young
419924fc31 Crossed my name off for completing fortran wrappers:pcontrol & is_thread_main
This commit was SVN r1742.
2004-07-15 16:24:39 +00:00
Ginger Young
4360586475 Finally getting around to commit these files.
This commit was SVN r1740.
2004-07-15 15:57:50 +00:00
George Bosilca
768006f867 Add more Fortran wrappers... Still in progress.
This commit was SVN r1727.
2004-07-14 19:29:47 +00:00
Brian Barrett
b86076859d * fixes to maek sure we don't activate memory debugging in ompi_config.h
This commit was SVN r1717.
2004-07-14 18:01:21 +00:00
Prabhanjan Kambadur
1cafe1b6c0 Fixing a few bugs, prototyping errors, etc
This commit was SVN r1714.
2004-07-14 15:34:53 +00:00
Brian Barrett
000644007f * C++ MPI bindings. MPI:: only
This commit was SVN r1712.
2004-07-14 14:11:03 +00:00
Prabhanjan Kambadur
ecadbacf2c Removing a typo which has been there for a long long time :( ... my mistake
This commit was SVN r1711.
2004-07-14 13:53:42 +00:00
Jeff Squyres
16f7e613f6 Have DUP pass a preferred coll module when making the new
communicator. 

This commit was SVN r1696.
2004-07-13 20:50:59 +00:00
Brian Barrett
25e7107517 * doh! I can't read. Only DELETE should be void*, the others should have
a last argument of int*.  Go back to the previous way for the others.

This commit was SVN r1658.
2004-07-13 04:58:39 +00:00
Brian Barrett
d71d949620 * fix prototypes for the strange COPY, DUP, DELETE functions - last argument
should be void* not int*

This commit was SVN r1654.
2004-07-13 04:41:55 +00:00
Jeff Squyres
f561218613 Add a bunch of missing header files
This commit was SVN r1576.
2004-07-07 20:29:18 +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
Ginger Young
5d93beb1c4 Updated
This commit was SVN r1484.
2004-06-25 15:47:09 +00:00
Ginger Young
3e5b973bd7 A finished wrapper that I neglected to commit several days ago.
This commit was SVN r1483.
2004-06-25 15:45:24 +00:00
Ginger Young
497e07fa58 Finally fixed per George's correction.
This commit was SVN r1482.
2004-06-25 15:43:46 +00:00
Ginger Young
4e65b2e824 Finished per MPI spec.
This commit was SVN r1481.
2004-06-25 15:42:13 +00:00
Jeff Squyres
a55f6a972d Don't compile the attr default functions in the profiling layer --
they are never profiled

This commit was SVN r1479.
2004-06-25 15:05:32 +00:00
Ginger Young
61dc0c6a31 Wrong call to request_f2c, should have been request_c2f
This commit was SVN r1478.
2004-06-25 14:30:17 +00:00
Ginger Young
108fe10084 More fortran wrappers, and a little bit of help code.
Reviewed: Tim Woodall

This commit was SVN r1477.
2004-06-25 14:29:21 +00:00
Tim Woodall
84dd3084b0 backed out changed to OMPI_THREAD_LOCK
This commit was SVN r1469.
2004-06-24 21:09:55 +00:00
Tim Woodall
9b830472fd changed THREAD_LOCK/THREAD_UNLOCK to OMPI_THREAD_LOCK/OMPI_THREAD_UNLOCK
to prevent conflicts w/ external libraries/headers

This commit was SVN r1467.
2004-06-24 20:51:46 +00:00
Ginger Young
7616c4dc01 Completed fortran wrappers.
This commit was SVN r1466.
2004-06-24 20:34:14 +00:00
Ginger Young
5adbc0f4dc Fortran wrappers finished
This commit was SVN r1465.
2004-06-24 20:28:42 +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
Jeff Squyres
5cbd58bd4a MPI_Init_thread is now done
This commit was SVN r1440.
2004-06-23 01:33:59 +00:00
Jeff Squyres
1353507d22 More fixes for errhandler, particularly in the case where MPI_INIT* is
the one throwing the exception.

This commit was SVN r1439.
2004-06-23 01:32:03 +00:00
Jeff Squyres
21ada98b99 While debugging collectives, came across a bug where the name of the
function really needs to be passed down via OMPI_ERR_INIT_FINALIZE.
So fix up that macro, the associated errhandler handling, and all the
MPI function that use that macro.

This commit was SVN r1436.
2004-06-22 20:21:35 +00:00
Ginger Young
167310da03 Book keeping. Updated things finished, and things that need to be completed.
This commit was SVN r1425.
2004-06-21 15:30:51 +00:00
Edgar Gabriel
82eea0a069 modified more functions to use the OMPI_ERR_INIT_FINALIZE macro
This commit was SVN r1416.
2004-06-18 19:06:13 +00:00
Edgar Gabriel
47ec006930 adding the comm and group MPI interface functions to use the new macro
developed by Jeff for checking of MPI_Init/Finalize

This commit was SVN r1415.
2004-06-18 19:02:52 +00:00