Ralph Castain
1e2019ce2a
Revert "Update to sync with OMPI master and cleanup to build"
...
This reverts commit cb55c88a8b7817d5891ff06a447ea190b0e77479.
2016-11-22 15:03:20 -08:00
Ralph Castain
cb55c88a8b
Update to sync with OMPI master and cleanup to build
...
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2016-11-22 14:24:54 -08:00
Gilles Gouaillardet
99d30353af
coll: Don't allocate space for zero requests
...
Refs #2402
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-11-13 22:20:58 -07:00
George Bosilca
4b38b6bd0c
Fix multiple issues with the collective requests.
...
This patch addresses most (if not all) @derbeyn concerns
expressed on #1015 . I added checks for the requests allocation
in all functions, ompi_coll_base_free_reqs is called with the
right number of requests, I removed the unnecessary basic_module_comm_t
and use the base_module_comm_t instead, I remove all uses of the
COLL_BASE_BCAST_USE_BLOCKING define, and other minor fixes.
2016-03-23 18:35:41 -04:00
Ralph Castain
ac6289dca6
Cleanup the warnings from the ompi layer when compiling optimized under Mac OSX
...
Cleanup per George's comments
2015-12-17 17:39:15 -08:00
George Bosilca
88492a1e12
Consistently use the request array for all modules (single array stored
...
in the base).
Correctly deal with persistent requests (they must be always freed when
they are stored in the request array associated with the communicator).
Always use MPI_STATUS_IGNORE for single request waiting functions.
2015-10-08 12:00:41 -04:00
George Bosilca
a324602174
Never allocate a temporary array for the requests. Instead rely on the
...
module_data to hold one with the largest necessary size. This array is
only allocated when needed, and it is released upon communicator
destruction.
2015-10-08 12:00:41 -04:00
George Bosilca
0445670bb9
Fix the automatic handling of communicator associated requests.
...
If the array doesn't exist, or if it's size is not adequate then
we reallocate it. Otherwise just keep using the same array of requests.
2015-02-26 15:52:18 -05:00
George Bosilca
67d01bd8cd
Redirect most of the basic module functions to base.
2015-02-26 15:52:00 -05:00
George Bosilca
aa019e239e
Rename the base header file containing the prototypes of the collective
...
functions.
2015-02-26 15:50:29 -05:00
George Bosilca
8fbcdf685d
Split the tuned framework in two. Move all the functions down in the
...
base, so that they can now be used by all modules. Keep the decision
functions in tuned.
2015-02-26 15:46:13 -05:00