1
1

29 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
cfd5524ad5 Committing several things under one commit, but they're all at least
somewhat tied together and I'd rather have a consistent commit rather
than several smaller commits that individually break the tree:
- first cut of src/file/file.c: MPI_File handling.  More to come here.
- tweaked MPI_Info handling a bit: cause MPI_Info_f2c to invoke error
  handler if provided index is out of range (vs. returing
  MPI_INFO_NULL without invoking an error handler)
- moved general MPI MCA params off into their own .h and .c file (so
  that ompi_info can call it and therefore display MPI MCA params)
- first [abbreviated] cut of src/mca/io/base/* -- much more to come
  here; stripped down to basics for this commit
- filled in a small number of MPI_File* functions for testing purposes
- updated a bunch of doxygen docs
--> Unresolved questions about MPI_ERRORS_RETURN, MPI_ERRORS_ABORT,
    and MPI::ERRORS_THROW_EXCEPTIONS because of vagueness in MPI
    standard -- Edgar and I are discussing what to do here
--> Unresolved questions about what to do in a case like this:
      MPI_File_open(..., &file);
      MPI_File_close(&file);
      MPI_File_read(..., &file);
    because MPI-2:9.7 says that the default error handler on MPI_File
    handles is MPI_ERRORS_RETURN -- we can't even print a warning
    here!  This certainly violates the Law of Least Astonishment for
    MPI users (who certainly expect MPI functions that fail to
    complain loudly and to abort by default).

This commit was SVN r2136.
2004-08-14 01:56:05 +00:00
Jeff Squyres
726af9ea85 Revamp MPI_Info handling a bit:
- fix a few bugs
- convert/add doxygen comments for internal info functions in
  src/info/info.h (some comments were originally in src/info/info.c)
- make it thread safe
- make MPI_INFO_NULL be a real object (vs ((struct ompi_info_t*) 0))
- add error checking into top-level MPI functions
- add support in MPI_Info for "never freeing MPI handles" as a form of
  debugging i.e., check if see if you accidentally use a freed handle)
- add support for "print out a list of un-freed MPI_Info handles
  during MPI_FINALIZE"

This commit was SVN r2089.
2004-08-12 16:56:24 +00:00
Jeff Squyres
a721849e84 While waiting for a lengthy compile, I noticed a bunch of old remnants
from the "LAM/MPI" -> "Open MPI" name change that didn't convert
properly.  So this commit fixes all instances of "OMPI/MPI" to "Open
MPI".

This commit was SVN r1924.
2004-08-06 14:30:18 +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
c1f0e9bcc2 Change the datatype MPI_DATATYPE_NULL from NULL to a real datatype delacred
in src/datatype/dt_module.c. Now we can easily test for all the correct
flags on send and receive (like datatype commit ...)

This commit was SVN r1768.
2004-07-16 21:06:37 +00:00
Brian Barrett
000644007f * C++ MPI bindings. MPI:: only
This commit was SVN r1712.
2004-07-14 14:11:03 +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
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
Edgar Gabriel
37b9a01025 updated the MPI error codes to be positiv. Completed the list
with all MPI-2 error codes, even if we are not using all of them at the moment.

This commit was SVN r1401.
2004-06-17 22:38:45 +00:00
George Bosilca
1e4dcd7f61 Remove the second prototypes for some functions.
This commit was SVN r1379.
2004-06-17 19:16:33 +00:00
George Bosilca
e1942d9068 Add the attribute default copy & delete functions for all types of objects: communicators, datatypes and
windows. Add the MPI 1 function to.

This commit was SVN r1372.
2004-06-17 18:29:35 +00:00
David Daniel
563ac2a338 First pass of lam -> ompi conversion
This commit was SVN r1191.
2004-06-07 15:33:53 +00:00
Vishal Sahay
62e5cbea60 Remove typos and add one more defn
This commit was SVN r1127.
2004-05-07 23:45:40 +00:00
Jeff Squyres
e4bbefd57b Fix for bug 845: elminiated an #if/#endif block that is only necessary
if we're going to suport non-ANSI compilers (in which case we would
need a corresponding #else block with a set of non-ANSI typedefs),
which we're not going to do.  :-)

This commit was SVN r1102.
2004-04-28 01:52:56 +00:00
George Bosilca
d45d74b36c Add the type for 2 more MPI predefined datatypes: lam_mpi_2cplex and lam_mpi_2dblcplex.
This commit was SVN r1100.
2004-04-27 18:26:05 +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
Jeff Squyres
4be63d8cd2 Forgot to fix op global names, and forgot to add global for op_null.
Oops.

This commit was SVN r1063.
2004-04-20 23:10:05 +00:00
Jeff Squyres
7177358f23 Doh! Fix typo.
This commit was SVN r1060.
2004-04-20 22:35:13 +00:00
Jeff Squyres
ea6b6c4fd5 - Remove some extraneous ()'s
- Add type for MPI_OP_NULL
- Rename global op intrinsics
- Change errhandler globals back to instances, not pointers

This commit was SVN r1059.
2004-04-20 22:18:26 +00:00
Jeff Squyres
49ea6ecf4b Oops. Need to have a *pointer* to the errhandlers in the mpi.h file,
not the actual struct.  Duh!

This commit was SVN r1054.
2004-04-20 18:30:15 +00:00
Prabhanjan Kambadur
04fc003dd1 Checking in the files to complete the MPI errhandler functions
This commit was SVN r1053.
2004-04-19 23:46:16 +00:00
Brian Barrett
5a826f6ea6 Fix some prototypes for when profiling isn't used
This commit was SVN r991.
2004-03-27 06:02:12 +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
Tim Woodall
c1ee4fec23 - initial integration with datatypes
- p2p mpi i/f functions
- adding doxygen comments

This commit was SVN r976.
2004-03-26 14:15:20 +00:00
George Bosilca
1754d9ab7e Update the mpi.h file with the new definitions for lam_mpi_* datatypes.
Update the ddt engine (still work in progress).
Starting to implement the MPI_ datatype functions.

This commit was SVN r959.
2004-03-25 19:22:50 +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
251f68b94f Re-separate out the always-installable headers from the
LAM-development headers.

This commit was SVN r925.
2004-03-18 21:35:28 +00:00