1
1
openmpi/ompi/mca/coll
Brian Barrett e9e4d2a4bc Handle asprintf errors with opal_asprintf wrapper
The Open MPI code base assumed that asprintf always behaved like
the FreeBSD variant, where ptr is set to NULL on error.  However,
the C standard (and Linux) only guarantee that the return code will
be -1 on error and leave ptr undefined.  Rather than fix all the
usage in the code, we use opal_asprintf() wrapper instead, which
guarantees the BSD-like behavior of ptr always being set to NULL.
In addition to being correct, this will fix many, many warnings
in the Open MPI code base.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2018-10-08 16:43:53 -07:00
..
base Squash a bunch of harmless compiler warnings. 2018-09-26 12:15:21 -07:00
basic coll: reduce_scatter_block: rename and MCA parameter description fix 2018-05-09 08:54:48 +09:00
cuda mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
demo mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
fca Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
hcoll coll_hcoll: register progress callback directly without a proxy 2018-06-24 18:06:07 +03:00
inter mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
libnbc Resolve merge conflicts 2018-10-05 21:40:27 +07:00
monitoring opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
portals4 opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
self mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
sm Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
sync Correct abstraction break - direct reference to ORTE 2018-01-30 21:19:14 -08:00
tuned coll/base: add MPI_Bcast based on a binomial tree scatter followed by a ring allgather 2018-07-16 08:56:09 -06:00
coll.h coll: Update COLL module interface version to 2.3.0 2018-06-11 17:22:16 +09:00
Makefile.am Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00