#if OMPI_WANT_MPI2_ONE_SIDED and some automake conditionals. Also had
to add some AC_SUBSTs to eliminate part of mpif.h (otherwise the
"external" statements would have made undefined symbols).
All the MPI-2 one-sided functionality (including the skeleton
top-level MPI API functions that only invoke an MPI exception) can be
re-enabled with --enable-mpi2-one-sided.
This commit was SVN r3802.
MPI-1 does not say whether an errorhandler obtained via
MPI_ERRHANDLER_GET (or MPI_COMM_GET_ERRHANDLER or ...) needs to be
ERRHANDLER_FREE'd or not. I don't think it does, but some users will
probably disagree. So per the lengthy comment in
src/mpi/c/comm_get_errhandler.c, we increment the refcount whenever
GET is invoked.
This can lead to a memory leak in FINALIZE if the user GET's some
intrinsic error handlers -- we'll increment the refcount, which means
that it will never get to 0 during FINALIZE like it should. So add a
little extra logic to ensure that they are OMPI_OBJ_DESTROY'ed during
FINALIZE like they should be.
This commit was SVN r3661.
- register non-blocking recv for process starter whenever a new spawn
occurs.
- send kill message when rte_kill_job or kill_proc is called
- pcm does its mojo to result in the death of the processes
This commit was SVN r3458.
size_t to int. This is in recognition of the fact that these two
classes are primarily used for fortran<-->c convertsion of various
entities (attributes, MPI objects), and MPI defines that an int must
be used to hold MPI fortran handles. Hence, why use size_t
internally? See the comment in src/class/ompi_pointer_array.h for a
better description.
Mixed in a few attribute fixes in this commit as well.
This commit, therefore:
- converts the indexing from size_t to int
- changes all locations in the code that I could find that used size_t
as the interface to ompi_bitmap_t or ompi_pointer_array_t
- convert to use OMPI_FINT_2_INT / OMPI_INT_2_FINT macros in various
src/mpi/c/*f2c.c and src/mpi/c/*c2f.c files
- check the return code of ompi_comm_free() to ensure that everything
worked properly before returning MPI_SUCCESS
- unified all src/mpi/c/*f2c.c functions (i.e., they all do the same
thing)
- tie up some loose ends w.r.t. MPI_Request handling in fortran; set
the req_f_to_c_index to MPI_UNDEFINED when it does not have a fortran
index
- still need to add a configure test to find OMPI_FORTRAN_HANDLE_MAX
for ompi_bitmap.c and ompi_pointer_array.c (hard-wired to INT_MAX
right now)
- re-organized, consolidated, and unified some ompi_pointer_array.c
code -- fixed a few minor bugs w.r.t. lowest_free (could have left
some unintentional holes in the array)
This commit was SVN r3302.
1. header file and source file protections using #ifdef WIN32
2. new files and directories to support windows functionality
3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows
4. some functions are unimplemented on the windows side. this is mostly
because there might not be need to implement it in windows land. eg., forking
a daemon off
5. Introduced locking mechanisms for windows
This commit was SVN r3286.
- Add #include "ompi_config.h" to all .c files, and ensure that it's
the first #included file
- remove a few useless #if HAVE_CONFIG_H checks
This commit was SVN r3229.
- Make the unified back-end able to send output via fprintf(stderr,
...) (if we're before MPI_INIT or MPI_FINALIZED) and ompi_output(0,
...) if we're between MPI_INIT and MPI_FINALIZED
This commit was SVN r2785.
invoking an errhandler in MPI_INIT when we don't yet have a
communicator to invoke them on. Instead, remove some of the logic
from the ERRHANDLER macros and just invoke the back-end function
directly in MPI_INIT.
This commit was SVN r2692.
abstraction a little clearer.
* Include mpiruntime.h instead of runtime.h in errhandler.h since only the
MPI stuff was needed - speeds compile times greatly when working on the
RTE...
This commit was SVN r1948.
- 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.
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.
ompi_mpi_finalized) which will invoke the errors_are_fatal error
handler directly. Updated src/mpi/c/send.c to show this as an
example. Also updated send.c to properly check for invalid comm and
invoke the errorhandler on MPI_COMM_WORLD as a result.
This commit was SVN r1412.
just the MPI error codes, the routines handling the OMPI internal error codes and the translation from
internal to MPI error codes is still to be done.
This commit was SVN r1402.