Gilles Gouaillardet
1a8a276914
coll/libnbc: use zero-size messages in ibarrier
...
and silence a valgrind warning
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-12-01 13:59:25 +09:00
Gilles Gouaillardet
2eec6a08b5
coll/base: fix ompi_coll_base_reduce_scatter_intra_nonoverlapping() with MPI_IN_PLACE
...
invoke underlying scatterv with MPI_IN_PLACE when appropriate
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-12-01 13:59:24 +09:00
Gilles Gouaillardet
8b7999469b
coll/base: fix MPI_IN_PLACE in ompi_coll_base_reduce_generic()
...
avoid copying data to itself when MPI_IN_PLACE is used
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-12-01 13:59:24 +09:00
Gilles Gouaillardet
3f1486a508
pml/ob1: initialize one more field in mca_pml_ob1_recv_request_progress_rget()
...
always initialize recvreq->req_rdma_offset to zero.
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-12-01 13:14:23 +09:00
Jeff Squyres
756d09fd6f
Merge pull request #2457 from OMGtechy/master
...
Fixed -Werror=unused-result warnings in comm_cid.c by adding error checking
2016-11-30 20:41:55 -05:00
Gilles Gouaillardet
15098161a3
coll/libnbc: add some comments on how locks are used
...
no code change
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-11-30 17:29:51 +09:00
rhc54
d31f173744
Merge pull request #2476 from rhc54/topic/dbgupdate
...
Bring forward the debugger-related changes
2016-11-29 19:10:32 -08:00
Ralph Castain
d5fd635efe
Bring forward the debugger-related changes
...
Refs https://github.com/open-mpi/ompi/pull/2425
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2016-11-29 13:15:20 -08:00
Joshua Gerrard
7cf5de12b9
Fixed -Werror=unused-result warnings in comm_cid.c by adding error checking
...
Signed-off-by: Joshua Gerrard <enquiries@joshuagerrard.com>
2016-11-29 21:08:12 +00:00
Ralph Castain
114e20ad66
Never collect data when doing the fence at the end of MPI_Init
...
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2016-11-29 08:31:35 -08:00
Valentin Petrov
4cdb8ecaad
coll/hcoll: hcoll_context_free
...
Adds the new API hcoll_conetxt_free that resolves the issues
observed with the ctx cache and group_destroy_notify.
Signed-off-by: Valentin Petrov <valentinp@mellanox.com>
2016-11-29 07:33:05 +02:00
Jeff Squyres
34ea3ce25a
Merge pull request #1946 from thananon/romio-add-notes
...
romio: update REFRESH_NOTES to accommodate the random() patch.
2016-11-28 16:37:23 -05:00
KAWASHIMA Takahiro
9bfca8b274
pml/ob1: Reduce per-rank memory footprint slightly
...
`sturct mca_pml_ob1_comm_proc_t`, which is allocated per
connected rank in a communicator, had two paddings after
`expected_sequence` and `send_sequence` by alignments.
By changing the order of the members, the size of
`mca_pml_ob1_comm_proc_t` is reduced by 8 bytes on 64-bit
architectures.
Signed-off-by: KAWASHIMA Takahiro <t-kawashima@jp.fujitsu.com>
2016-11-28 19:20:48 +09:00
Edgar Gabriel
ebcfbbc045
Merge pull request #2456 from edgargabriel/pr/dynamic_gen2_uneven_distro_bug
...
fcoll/dynamic_gen2: fix bug exposed by uneven distribution of data
2016-11-24 16:34:19 -06:00
Edgar Gabriel
b10558c3da
fcoll/dynamic_gen2: fix bug exposed by uneven distribution of data
...
This fixes a bug reported in-house occuring with this component. It is triggered if the data assigned to different aggregators is highly differing, leading to different number of internal iterations required to handle it.
Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
2016-11-24 13:02:19 -06:00
Artem Polyakov
c660b9b445
Merge pull request #2401 from artpol84/lazy_wait_fix
...
ompi/init: always lazy-wait in ompi_mpi_init
2016-11-23 08:53:02 -08:00
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
2c94a3a6f3
coll/libnbc: fix race condition with multi threaded apps
...
protect the mca_coll_libnbc_component.active_requests list with
the new mca_coll_libnbc_component.lock mutex.
Thanks Jie Hu for the report
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-11-21 10:21:47 +09:00
Jijo Varghese
25e138ea1d
error correction to the MPI_file operations thread safety lock
...
Signed-off-by: Jijo Varghese <jijo733@gmail.com>
2016-11-17 08:18:49 -05:00
Gilles Gouaillardet
bd364d29f7
osc/sm: plug an other memory leak in ompi_osc_sm_free
...
Fixes open-mpi/ompi@f1b473ee63
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-11-14 23:19:07 -07:00
Gilles Gouaillardet
f1b473ee63
osc/sm: plug a memory leak in ompi_osc_sm_free
...
Thanks Joseph Schuchart for the report.
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-11-14 22:22:43 -07:00
Josh Hursey
bcc8230501
Merge pull request #2410 from jjhursey/topic/fix-dist-graph-coll
...
topo/base: Fix module reference in collective call
2016-11-14 14:29:00 -06:00
Howard Pritchard
fb5ccd3618
Merge pull request #2404 from osvegis/topic/java_paper
...
Update java paper reference.
2016-11-14 11:35:45 -07:00
Joshua Hursey
5a8b2f7431
topo/base: Fix module reference in collective call
...
Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2016-11-14 11:34:54 -06:00
Jeff Squyres
8d2c98e616
Merge pull request #2408 from hppritcha/manpage_typo
...
fix minor typo in MPI_Comm_connect man page
2016-11-14 09:38:38 -07:00
Howard Pritchard
3923bf8151
fix minor type in MPI_Comm_connect man page
...
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2016-11-14 05:52:45 -07:00
Gilles Gouaillardet
fc776e3fa5
coll: code cleanup
...
- instead of coll_base_comm_get_reqs(2) for irecv/isend, use only
one request allocated in the stack and do a irecv/send
- instead of ompi_request_wait_all(2), simpy ompi_request_wait
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-11-13 22:35:33 -07: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
Oscar Vega-Gisbert
891272f556
Update java paper reference.
...
Signed-off-by: Oscar Vega-Gisbert
2016-11-13 22:05:18 +01:00
George Bosilca
725277bc26
Don't allocate space for the requests if the
...
underlying topology has no neighbors.
This commit fixes issue #2402 .
Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
2016-11-12 18:01:09 -05:00
Artem Polyakov
06a73da5ea
ompi/init: always lazy-wait in ompi_mpi_init
...
According to discussion in #2181 we don't need MCA
parameter any more.
Signed-off-by: Artem Polyakov <artpol84@gmail.com>
2016-11-12 07:54:48 +07:00
Gilles Gouaillardet
11dc86f26b
cleanup: always #include <pthread.h>
...
pthreads are now mandatory, so there is no more need to
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-11-08 13:07:45 +09:00
Gilles Gouaillardet
023d18abae
pml/ob1: mca_pml_ob1_recv must have memchecker mark the buffer as defined upon success
...
this is generally done in mca_pml_ob1_recv_request_free(), but this is not invoked
in via mca_pml_ob1_recv(), so do it manually
Thanks Yvan Fournier for the report
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-11-07 13:10:15 +09:00
Jeff Squyres
f11b0c7edf
Merge pull request #2330 from jjhursey/topic/ibcast-non-uniform-dt-wa
...
coll/libnbc: Work around for non-uniform data types in ibcast
2016-11-05 10:26:04 -04:00
Joshua Hursey
350ef67fe0
coll/libnbc: Work around for non-uniform data types in ibcast
...
* If (legal) non-uniform data type signatures are used in ibcast
then the chosen algorithm may fail on the request, and worst case
it could produce wrong answers.
* Add an MCA parameter that, by default, protects the user from this
scenario. If the user really wants to use it then they have to
'opt-in' by setting the following parameter to false:
- `-mca coll_libnbc_ibcast_skip_dt_decision f`
* Once the following Issues are resolved then this parameter can
be removed.
- https://github.com/open-mpi/ompi/issues/2256
- https://github.com/open-mpi/ompi/issues/1763
Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2016-11-01 13:33:23 -05:00
Yossi Itigin
17c8f76411
pml_ucx: fix uninitialized field req_status->_cancelled.
...
Signed-off-by: Yossi Itigin <yosefe@mellanox.com>
2016-11-01 17:02:22 +02:00
Thananon Patinyasakdikul
ea2d38de14
romio: update REFRESH_NOTES to accommodate the random() patch.
...
From patch: open-mpi/ompi@23b27c510c
Signed-off-by: Thananon Patinyasakdikul <tpatinya@utk.edu>
2016-10-31 16:08:08 -04:00
Joshua Ladd
d27b680de2
Merge pull request #2305 from vspetrov/hcoll_fortran_pair_types
...
coll/hcoll fortran pair types
2016-10-28 12:05:00 -04:00
Gilles Gouaillardet
efac15e9a1
ompi: use opal_setenv instead of putenv
...
this fixes a memory leak at finalize
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-28 09:32:30 +09:00
Gilles Gouaillardet
981dccab8d
ompi: cleanup environment at finalize
...
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-28 09:32:30 +09:00
Gilles Gouaillardet
af67183e2f
pml/v: fix a memory leak
...
close the framework if no more component should be used
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-28 09:32:30 +09:00
Jeff Squyres
e9aab634af
Merge pull request #2294 from ggouaillardet/topic/fortran_use_mpi_tkr
...
fortran/use-mpi-tkr misc fixes
2016-10-27 13:09:06 -04:00
Valentin Petrov
2b7e362e56
coll/hcoll fortran pair types
...
Adds mapping of the MPI Fortran pair types (2INTEGER, 2REAL, 2DBLPREC)
to the corresponding hcoll dtypes.
Signed-off-by: Valentin Petrov <valentinp@mellanox.com>
2016-10-27 18:24:07 +03:00
Gilles Gouaillardet
ad7f3f93b0
mpi: support MPI_Dims_create(..., ndims=0, ...)
...
this is a bozo case, but it should not fail with MPI_ERR_DIMS
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 14:13:51 +09:00
Gilles Gouaillardet
bf789762a7
fortran/use-mpi-tkr: fix MPI_Sizeof handling
...
MPI_Sizeof related stuff has been moved to their own files.
Remove MPI_Sizeof from Fortran interfaces when it cannot be built
(e.g. stock gcc 4.8 on CentOS 7)
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 08:54:28 +09:00
Gilles Gouaillardet
1a16e68c26
fortran/use-mpi-trk: add PMPI_* interfaces in mpi module
...
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 08:54:07 +09:00
Gilles Gouaillardet
8e26e78728
fortran/use-mpi-tkr: only build MPI_File support if requested
...
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 08:54:07 +09:00
Gilles Gouaillardet
5543b19e9a
fortran/use-mpi-tkr: rename mpi-f90-cptr-interfaces.F90 into mpi-f90-cptr-interfaces.h
...
this file is meant to be included and not compiled, so use a consistent naming
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 08:54:07 +09:00
Edgar Gabriel
2076622924
Merge pull request #2238 from edgargabriel/pr/delete-error-codes
...
update the error codes reported by file_delete
2016-10-25 12:38:03 -05:00