1
1
Граф коммитов

23870 Коммитов

Автор SHA1 Сообщение Дата
rhc54
232f97a80c Merge pull request #968 from JohnWestlund/master
simplify use of sockaddr* structs to work around buffer overflow warning
2015-10-07 17:42:19 -07:00
Gilles Gouaillardet
d7e6daf75f configury: do not build usempif08 is PMPI is not built
this is a revamp of commit open-mpi/ompi@2d1a8fa920
Thanks Jeff for the review !
2015-10-08 09:04:07 +09:00
Rolf vandeVaart
fffb05be0b Merge pull request #994 from rolfv/pr/add-volatile-where-needed
Add volatile to workaround GCC optimization bug in 4.9.2 and greater.
2015-10-07 19:15:22 -04:00
Nathan Hjelm
b8af310efa btl/openib: remove extra threads
This commit removes the service and async event threads from the
openib btl. Both threads are replaced by opal progress thread
support. The run_in_main function is now supported by allocating an
event and adding it to the sync event base. This ensures that the
requested function is called as part of opal_progress.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-10-07 12:30:41 -06:00
Rolf vandeVaart
952d01db70 Add volatile to workaround GCC optimization bug in 4.9.2 and greater. Thanks to oere for fix 2015-10-07 12:56:58 -04:00
Mike Dubman
a120fe4a14 BUILD: add --with-platform-patches-dir=DIR flag to configure
allow to override default patch dir to arbitrary.
2015-10-07 16:18:48 +03:00
Mike Dubman
c391df7536 Merge pull request #992 from miked-mellanox/topic/platform_patches_arg
BUILD - patch_dir can be specified in configure
2015-10-07 13:19:31 +03:00
Mike Dubman
eb883ae98f BUILD: allow specifying platform patch_dir from cmd line
before:

patch_dir=$PLATFORM.patches

after

patch_dir can be specified as ./configure <....> patch_dir=/usr/local/site_ompi_v_x.y_patches/
if not specified - use default
2015-10-07 09:31:49 +03:00
Mike Dubman
75c7e89c61 Merge pull request #991 from bureddy/master
HCOLL: Enable alltoall interface
2015-10-07 09:01:02 +03:00
Devendar Bureddy
72f98ccf6c HCOLL: Enable alltoall interface 2015-10-07 08:00:04 +03:00
Howard Pritchard
7c935a2206 Merge pull request #983 from hppritcha/topic/alps_odls_fix
odls/alps: close the directory
2015-10-06 14:12:07 -06:00
Howard Pritchard
d899320574 odls/alps: close the directory
Close the /proc/self/fd dir after checking for open fds.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-10-06 11:13:44 -07:00
Nathan Hjelm
c124fd4a0b Merge pull request #977 from hjelmn/ompi_win_free
win: free windows in ompi_win_finalize
2015-10-06 10:11:28 -06:00
Nathan Hjelm
d7205f90f1 win: free windows in ompi_win_finalize
This commit frees any outstanding windows at ompi_win_finalize. If
ompi_debug_show_handle_leaks is set a warning message is printed out
indicating that a window is still allocated.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-10-06 09:25:51 -06:00
Nathan Hjelm
81757d411a Merge pull request #955 from hjelmn/mpool_update
opal/mpool: add support for passing access flags to register
2015-10-06 08:42:56 -06:00
annu13
5787e9248f cleaned up debug stmts 2015-10-06 06:25:36 -07:00
annu13
30ba00e05d sync with master 2015-10-06 06:04:54 -07:00
annu13
4c371ea6d7 Merge remote-tracking branch 'upstream/master' 2015-10-06 06:03:37 -07:00
Edagr Gabriel
8af80cd02c update the interfaces of the sharedfp addproc component to match the changes made in the const commit. 2015-10-06 07:54:38 -05:00
Mike Dubman
258884749e Merge pull request #976 from igor-ivanov/pr/oshmem-man.1
oshmem: Add man.1 pages for oshmem tools
2015-10-06 08:17:00 +03:00
Gilles Gouaillardet
de8de65b07 coll/tuned: remove unused prototypes from coll_tuned.h 2015-10-06 09:07:48 +09:00
Nathan Hjelm
59aa93e1b6 opal/mpool: add support for passing access flags to register
This commit adds a access_flags argument to the mpool registration
function. This flag indicates what kind of access is being requested:
local write, remote read, remote write, and remote atomic. The values
of the registration access flags in the btl are tied to the new flags
in the mpool. All mpools have been updated to include the new argument
but only the grdma and udreg mpools have been updated to make use of
the access flags. In both mpools existing registrations are checked
for sufficient access before being returned. If a registration does
not contain sufficient access it is marked as invalid and a new
registration is generated.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-10-05 13:53:55 -06:00
Mike Dubman
260905b9f4 Merge pull request #972 from miked-mellanox/topic/master_patches_from_mlnx_platform
Add in-finalize indicator, fca fall back to prev barrier if in-finalize
2015-10-05 20:37:59 +03:00
Rolf vandeVaart
81346949b8 Merge pull request #975 from rolfv/pr/fix-6.0-compile-error
Fix typo that caused compile error
2015-10-05 13:11:35 -04:00
Nathan Hjelm
e0d9e6553f mpool: mpi_show_mpi_alloc_mem_leaks don't print out message if there are no leaks
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-10-05 10:48:56 -06:00
Rolf vandeVaart
fc83400123 Fix typo that caused compile error 2015-10-05 11:44:40 -04:00
Igor Ivanov
d379873443 oshmem: Add man.1 pages for oshmem tools
This changes add man pages for oshrun, oshcc and oshfort as well as
depricated shmemrun, shmemcc and shmemfort.
2015-10-05 15:41:28 +03:00
Gilles Gouaillardet
2d1a8fa920 fortran: do not build the f08 bindings if PMPI is not built 2015-10-05 09:43:46 +09:00
Mike Dubman
588dcc3e5c Merge pull request #971 from open-mpi/revert-961-topic/platform_log_msgs
Revert "BUILD: log applied patches into config.log"
2015-10-04 09:43:23 +03:00
Mike Dubman
e8d7373b14 COLL/FCA: revert to prev barrier if called from finalize
FCA barrier may not complete if FCA progress is not called periodically.
PMI/PMI2 API that can be used in rte barrier has no provision for calling
external progress function.

So it is possible that during finalize some ranks will be stuck
in fca barrier while others are in PMI barrier.
2015-10-04 09:40:19 +03:00
Mike Dubman
5bebed45eb OMPI: set "in finalize" indicator in finalize flow 2015-10-04 09:39:37 +03:00
Mike Dubman
e280be3dff Revert "BUILD: log applied patches into config.log" 2015-10-04 08:12:05 +03:00
Nathan Hjelm
d579a07383 Merge pull request #970 from hjelmn/more_coverity
fcoll/two_phase: fix new coverity errors
2015-10-03 08:27:41 -06:00
Jeff Squyres
d539c01c0f NEWS: Sync v1.10.1 bullets with release branch 2015-10-03 05:45:05 -04:00
Nathan Hjelm
5122327727 fcoll/two_phase: fix new coverity errors
Fix CID 1325467: use after free

Remove extra free of aggregator_list.

Fix CID 1325466: resource leak

Fix typo in prior coverity fix.

Signed-off-by: Nathan Hjelm <hjelmn@me.com>
2015-10-02 21:38:31 -06:00
Nathan Hjelm
c99a8a55ba Merge pull request #967 from hjelmn/libnbc_fix
op: allow user operations in ompi_3buff_op_reduce
2015-10-02 18:48:32 -06:00
annu13
6f37c0e3e8 sync with PMIX master 2015-10-02 17:25:48 -07:00
annu13
7434c47626 sync with PMIX master 2015-10-02 17:17:48 -07:00
John Westlund
044fea8df7 re-order != comparison, OBJ_RELEASE mca_oob_tcp_addr_t on failure 2015-10-02 15:59:48 -07:00
John Westlund
6bfaa925ec simplify use of sockaddr* structs to work around buffer overflow warning 2015-10-02 14:26:52 -07:00
Nathan Hjelm
57d3b83297 op: allow user operations in ompi_3buff_op_reduce
This commit allows user operations to be used in the
ompi_3buff_op_reduce function. This fixes an issue identified in:

http://www.open-mpi.org/community/lists/devel/2014/04/14586.php

and

http://www.open-mpi.org/community/lists/users/2015/10/27769.php

The fix is to copy source1 into the target then call the user op
function with source2 and target.

Fixes #966

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-10-02 10:35:21 -06:00
Nathan Hjelm
eb79edff33 Merge pull request #963 from hjelmn/ompi_coverity
fcoll/two_phase: fix coverity errors
2015-10-02 10:22:24 -06:00
Devendar Bureddy
dc982085c6 Merge pull request #964 from bureddy/master
HCOLL: Add alltoallv interface
2015-10-02 07:48:16 -07:00
Devendar Bureddy
243b75aa80 HCOLL: Add alltoallv interface 2015-10-02 01:51:33 +03:00
Nathan Hjelm
95b95e19af fcoll/dynamic: fix coverity errors
Fixes CID 72320: Explicit NULL dereferenced

On error it is possible that the blocklen_per_process array is
NULL. Change the NULL check before the free to check for non-NULL on
the array not the array element. Also clean up allocation of this
array to use calloc instead of malloc + setting each element to NULL.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-10-01 14:38:09 -06:00
Nathan Hjelm
09df7aa205 fcoll/two_phase: fix coverity errors
Fixes CIDs 72300, 72344, 1196764-1196768, 72300: Resource leaks

Mulitple allocated arrays are going out of scope at the end of
mca_fcoll_two_phase_file_write_all. Free these arrays. Also removed
the extraneous NULL checks since free (NULL) is safe in C.

Change returns to goto exit where the allocated resources are freed.

Fixes CIDs 72285-72292, 72297, 72298: Resource leaks

Change all appropriate return statements to goto exit to ensure that
all resources are freed. Also removed the NULL checks since free
(NULL) is safe in C.

Fixes CIDs 72295, 72296: Resource leaks

Moved free of requests and recv_types to after exit label. This will
ensure these are freed on error.

Also added a loop and statement to free send_buf which is going out of
scope at the end of the function.

Fixes CIDs 72336-72240, 735197, 735198: Resource leaks

Moved the exit label before to before the resources are released and
changed all appropriate return statements to goto exit. Also removed
extraneous NULL checks because free (NULL) is safe in C.

Fixes CIDs 72341, 72343, 1196805-1196809: Resource leaks

Free all resources after exit label and change return statements to
goto exit to ensure all resources are freed on error.

Fixes CID 1269973: Unused value

Check return code of ompi_request_wait_all. If it fails jump to the
exit.

Fixes CID 714119: Dereference before NULL check

Wrong value checked in conditional.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-10-01 14:38:09 -06:00
Mike Dubman
1cac0601b6 Merge pull request #961 from miked-mellanox/topic/platform_log_msgs
BUILD: log applied patches into config.log
2015-10-01 12:02:55 +03:00
Mike Dubman
5d83aa8cdc BUILD: log applied patches to config.log 2015-10-01 10:06:17 +03:00
Gilles Gouaillardet
dc883cff8d opal/util: fix parse_ipv4_dots prototype 2015-10-01 14:03:08 +09:00
rhc54
8f4e1133cd Merge pull request #960 from rhc54/topic/cov
Cleanup some coverity warnings
2015-09-30 12:33:09 -07:00