Thananon Patinyasakdikul
23b27c510c
romio: make romio use internal opal_random instead of rand(3).
...
This fixes issue #1877
2016-08-05 09:04:52 -07:00
Howard Pritchard
ff669e7b15
code cleanup: clang is now a happier panda
...
Clang 5.1 on my mac was a sad panda compiling a couple
of files, complaining about uninitialized stack variables.
This commit makes clang a happier panda (or at least not so sad).
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2016-08-04 19:34:44 -06:00
Edgar Gabriel
9c3180160c
io/ompio: Add barrier to file_close and to file_set_size
...
This fixes a bug reported on the mailing for ompio.
https://www.open-mpi.org/community/lists/users/2016/05/29333.php
2016-08-04 11:20:31 -05:00
Gilles Gouaillardet
60e91e890a
coll/base: give a boost to ompi_coll_base_sendrecv_nonzero_actual()
...
Based on current implementation it is faster to use a blocking
send than the non-blocking version. Switch the exchange function
used in the barrier to use the blocking version combined with
the non-blocking version of the receive.
This is similar to open-mpi/ompi@223d75595d
2016-08-04 13:31:07 +09:00
Nathan Hjelm
11c853d05e
osc/pt2pt: do not set rdma_frag after start
...
It is possible for the start call to complete the requests. For this
reason the module rdma_frag field should be filled in before start is
called. If the request completes the completion callback will reset
the rdma_frag field to NULL. Fixes a bug discovered by @tkordenbrock.
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-08-03 15:20:36 -06:00
Nathan Hjelm
889dd32806
pml/ob1: reset req_bytes_packed on start
...
On start we were not correctly resetting all request fields. This was
leading to a double-completion on persistent receives. This commit
updates the base start code to reset the receive req_bytes_packed and
the send request convertor.
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-08-03 11:29:30 -06:00
Edgar Gabriel
aa7e852e44
common/ompio: files are only compiled in case MPI I/O is requested
...
fixes : open-mpi/ompi#1932
2016-08-02 15:01:38 -05:00
Edgar Gabriel
19fe5cac50
io/ompio: next step in code-reorganization
...
- move the sort_iovec operations to fcoll/base
- move set_view_internal to common/ompio
- move set_file_default to common/ompio
- remove io_ompio_sort, not used anymore.
2016-08-02 09:18:29 -05:00
Gilles Gouaillardet
917d96ba50
coll/libnbc: cleanup handling of the second temporary buffer in ireduce
2016-08-02 16:32:15 +09:00
Gilles Gouaillardet
ed9139ca13
coll/libnbc: correctly handle datatype alignment when allocating two buffers at once
2016-08-02 15:44:12 +09:00
Edgar Gabriel
c0bd8728fd
io/ompio: move aggregator selection code to a separate file
...
- move all functions related to aggregator selection to a single file
- perform code cleanup fixing many Coverty complains along the way.
2016-08-01 14:04:27 -05:00
Edgar Gabriel
160d9a78c1
Merge pull request #1886 from edgargabriel/pr/ompio-reorg
...
io/ompio: move io/ompio functionality to common/ompio
2016-07-29 12:24:21 -05:00
Joshua Ladd
4a03a657c6
Merge pull request #1913 from vspetrov/hcoll_derived_datatypes
...
coll/hcoll mpi datatypes support
2016-07-29 10:08:23 -04:00
Nathan Hjelm
1da558407c
Merge pull request #1911 from hjelmn/threads
...
opal/thread: clean up and add additional OPAL_THREAD macros
2016-07-29 06:44:11 -06:00
Valentin Petrov
3582bba6b7
coll/hcoll mpi datatypes support
2016-07-29 10:06:39 +03:00
Howard Pritchard
5ff6b81eee
Merge pull request #1871 from hppritcha/topic/ofi_mtl_params
...
mtl/ofi: add some more mca parameters
2016-07-28 18:21:23 -06:00
Nathan Hjelm
aac611237b
opal/thread: clean up and add additional OPAL_THREAD macros
...
This commit expands the OPAL_THREAD macros to include 32- and 64-bit
atomic swap. Additionally, macro declararations have been updated to
include both OPAL_THREAD_* and OPAL_ATOMIC_*. Before this commit the
former was used with add and the later with cmpset.
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
2016-07-28 09:23:14 -06:00
Howard Pritchard
22c8743557
mtl/ofi: add some more mca parameters
...
allow for toggling of both control/data progress models.
allow for using FI_AV_TABLE or FI_AV_MAP for av type.
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2016-07-28 02:35:09 -06:00
Gilles Gouaillardet
a0a999e63d
coll/base: fix ompi_coll_base_allgatherv_intra_basic_default() with MPI_IN_PLACE
2016-07-28 13:57:18 +09:00
Gilles Gouaillardet
b8a1ffb87e
coll/base: fix ompi_coll_base_allgatherv_intra_basic_default()
...
Fixes open-mpi/ompi#1907
2016-07-28 13:50:04 +09:00
Pascal Deveze
10763f5abc
mtl/portals4: Take into account the limitation of portals4 (max_msg_size) and split messages if necessary
2016-07-26 08:44:07 +02:00
Pascal Deveze
724801b018
mtl-portals4: Introduce a "short_limit" for the short message size. "eager_limit" will only be used for
...
the limit of the eager part of the messages sent with the rndv protocol
2016-07-26 08:43:24 +02:00
Pascal Deveze
9e58b4842f
mtl-portals4: Correct how the request_status._ucount is set
2016-07-26 08:42:48 +02:00
Pascal Deveze
3ca194f10a
mtl-portals4: Store ptl_process_id (from PtlGetPhysId) and display it.
2016-07-26 08:42:08 +02:00
Pascal Deveze
bd3b1cf7be
mtl-portals4: Control that flowctl_idx is egal to REQ_FLOWCTL_TABLE_ID
...
and use OPAL_ATOMIC_CMPSET_32 to test and set flowctl_active flag to true
2016-07-26 08:41:31 +02:00
Ralph Castain
9ab20cafe3
Pass the nodeid for each proc in the job. Fix a mistaken error output message
2016-07-25 15:41:15 -07:00
Edgar Gabriel
b0fa1fd2a1
move the internal file_open/close functions to common/ompio
2016-07-21 13:08:32 -05:00
Edgar Gabriel
ccf76b7791
moving the internal read/write functions to common/ompio
...
and update all fs/fcoll/sharedfp components to use these functions.
2016-07-21 13:08:32 -05:00
Edgar Gabriel
688710d408
make common/ompio compile
2016-07-21 13:08:32 -05:00
Edgar Gabriel
39ae93b87b
modify the fcoll components to use the common/ompio print queues
2016-07-21 13:08:32 -05:00
Edgar Gabriel
fe17410943
next step in making the print_queue functionality move to common/ompio
2016-07-21 13:08:32 -05:00
Edgar Gabriel
af67c8f239
first cut on moving some ompio functionality to common/ompio
2016-07-21 13:08:32 -05:00
Edgar Gabriel
a899c0fb38
fcoll/static: fix coverty warnings
...
fix coverty warnings CID 72144, CID 710677, CID 1364164
2016-07-21 13:08:15 -05:00
Pascal Deveze
a7e3de6c4f
coll-portals4: No more messages passed to Portals4 bigger than the limit given by PtlNIInit
2016-07-21 15:58:20 +02:00
Pascal Deveze
175e6aa385
coll-portals4: Before calling PtlCTWait, call PtlTriggeredInc twice so be sure all pending PtlTriggredPut are triggered
2016-07-21 15:58:20 +02:00
Pascal Deveze
df59d6cdd4
coll-portals4: Correct and simplify how the data are cut in segment_nb segments (bcast)
2016-07-21 15:58:09 +02:00
Pascal Deveze
274f8d608c
coll-portals4: Change output format and change variable names (minor changes).
2016-07-21 11:06:45 +02:00
Todd Kordenbrock
37ad6aa711
Merge pull request #1853 from PDeveze/Patchs-on-osc-portals4
...
Patchs on osc portals4
2016-07-20 09:22:19 -05:00
Todd Kordenbrock
210534adb3
Merge pull request #1850 from PDeveze/Patchs-on-mtl-portals4
...
Patchs on mtl portals4
2016-07-20 08:21:03 -05:00
Pascal Deveze
9cac32ba6a
mtl/portals4: Modifications concerning the short message management
2016-07-19 11:21:50 +02:00
Pascal Deveze
49e9936914
mtl/portals4: Some little patches
2016-07-19 11:18:55 +02:00
Pascal Deveze
f19a2b961c
osc/portals4: Correct an error in an if statement
2016-07-18 13:16:12 +02:00
Pascal Deveze
81823d7a63
osc/portals4: Store the no_locks parameter in osc_portals4_component.no_locks
2016-07-18 11:51:52 +02:00
Pascal Deveze
76b38651da
osc/portals4: For the contiguous datatype, take into account the lower bound before calling portals4
2016-07-18 11:20:50 +02:00
Pascal Deveze
7aaf16e7fe
osc/portals4: Put/Get splitting because Portals4 may restrict sizes
2016-07-18 10:49:28 +02:00
Pascal Deveze
025201b459
osc/portals4: set the initial value of req_status.MPI_ERROR to MPI_SUCCESS
2016-07-18 09:52:56 +02:00
Pascal Deveze
aa0d687a0a
osc/portals4: Display an ouput message if ompi_osc_portals4_get_dt() or ompi_osc_portals4_get_op() returns an error
2016-07-18 09:52:56 +02:00
Pascal Deveze
c4181909a4
osc/portals4: Be sure that the ME are operationnal (wait for the PTL_EVENT_LINK)
2016-07-18 09:52:56 +02:00
Pascal Deveze
e99e7d08ed
osc/portals4: For the ME, use the uid from PtlGetUid instead of PTL_UID_ANY
2016-07-18 09:52:56 +02:00
Pascal Deveze
56b36eeb7e
osc/portals4: Format of "target_disp" is OPAL_PTRDIFF_TYPE and %lu is the appropriate format to display it.
2016-07-18 09:52:55 +02:00