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

29845 Коммитов

Автор SHA1 Сообщение Дата
Thananon Patinyasakdikul
f9439c6d18 btl/ofi: Added 2 side communication support.
The 2 sided communication support is added for non-tagmatching provider
to take advantage of this BTL and PML OB1. The current state is
"functional" and not optimized for performance.

Two sided support is disabled by default and can be turned on by mca
parameter: "mca_btl_ofi_mode".

Signed-off-by: Thananon Patinyasakdikul <thananon.patinyasakdikul@intel.com>
(cherry picked from commit 080115d440)
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2020-06-17 20:49:18 +00:00
Matias Cabral
02ac75434a MTL OFI: Add support for mem_tag_format
OFI providers may reserve some of the upper bits of the tag for
internal usage and expose it using mem_tag_format. Check for that
and adjust communicator bits as needed.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
(cherry picked from commit d996f529c0)
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2020-06-17 20:49:18 +00:00
Brian Barrett
e975c9975c Revert "Remove the OFI/BTL component"
This reverts commit 192f0f6fff.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2020-06-17 20:49:18 +00:00
Jeff Squyres
dd4b4b13ed .mailmap: Add entry for Harumi Kuno
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2020-06-17 20:49:18 +00:00
Jeff Squyres
f334a699b7
Merge pull request #7822 from jsquyres/pr/v4.1.x/fixup-mpih-stdc-version-usage
v4.1.x: fixup mpih stdc version usage
2020-06-16 05:40:50 -04:00
Jeff Squyres
5179f80165 mpi.h.in: Remove //-style comments
Keep all comments in the user-facing mpi.h.in as "old style" C
comments: /* */.  This gives us maximum portability, just on the off
chance that a user's C compiler does not support //-style comments.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit d522c27037)
2020-06-15 21:52:52 -04:00
Jeff Squyres
020e9e4627 mpi.h.in: fixups for static assert messages
1. __STDC_VERSION__ isn't necessarily defined (e.g., by C++
   compilers).  So check to make sure it is defined before we actually
   check the value.
2. If we're in C++11 (or later), use static_assert().
3. Split the static assert macro in two macros:
   * THIS_SYMBOL_WAS_REMOVED_IN_MPI30(...): Insert a valid expression
     (i.e., 0, because it's only used with MPI_Datatype values, and
     since MPI_Datatype is a pointer, 0 is a valid RHS expression)
     before invoking the static assert so that we don't get a syntax
     error instead of the actual static assert error.
   * THIS_FUNCTION_WAS_REMOVED_IN_MPI30(...): No need for the valid
     expression; just invoke the assert functionality.

Also remove an errant "\".

Thanks to Constantine Khrulev and Martin Audet for identifying the
issue and suggesting to use C11's static_assert().

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit 835f8f1834)
2020-06-15 21:52:49 -04:00
Brian Barrett
441e88f2b4 dist: Start v4.1.x release series
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2020-06-10 12:58:58 -07:00
Geoff Paulsen
56470b4aba
Merge pull request #7785 from hppritcha/topic/new_for_4.0.4rc4
NEWS: update for 4.0.4rc3
2020-06-08 18:58:30 -05:00
Geoffrey Paulsen
f2dcf4b129 Adding Info about PR7778 to NEWS and README
Signed-off-by: Geoffrey Paulsen <gpaulsen@us.ibm.com>
2020-06-08 17:50:24 -05:00
Geoff Paulsen
9fb905f05b
Merge pull request #7778 from markalle/IPCOP_shmat_v40x
v4.0.x: adding op-codes for syscall ipc for shmat/shmdt
2020-06-08 16:54:32 -05:00
Geoff Paulsen
395395813e
Merge pull request #7791 from bwbarrett/dist/v4.0.x-NEWS
Update 4.0.x news file with news from v3.x releases, and fix unicode chars.
2020-06-07 08:34:45 -05:00
Howard Pritchard
d1d9c29cfa
Merge pull request #7787 from gpaulsen/topic/v4.0.x/VERSION_rc3
Updating VERSION to rc3
2020-06-05 17:20:05 -06:00
Brian Barrett
3110473e67 dist: Update NEWS from release branches
We have been bad about updating the NEWS file in master with all
the changes that have gone into the release branches.  Patch up
NEWS with the changes from v3.0, v3.1, and v4.0 branches.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
(cherry picked from commit 50765ae5a2)
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2020-06-05 15:20:23 -07:00
Brian Barrett
8c7a51dda3 dist: Fix character encodings in NEWS
The NEWS file had a mix of ISO-8859-1 and UTF-8 encodings, which
was making a mess of decoding the non-ASCII characters in the
file.  This patch unifies the NEWS file as a UTF-8 encoded file
and changes many of the places where we had ASCII-ified a persons
name.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
(cherry picked from commit 2e23893f04)

Cherry-pick was modified to fix one more ISO-8859-1 character that
was in the v4.0.x branch but not in the master branch.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2020-06-05 15:18:51 -07:00
Mark Allen
57c7d68233 adding op-codes for syscall ipc for shmat/shmdt
These op codes used to be in bits/ipc.h but were removed in glibc in 2015
with a comment saying they should be defined in internal headers:
https://sourceware.org/bugzilla/show_bug.cgi?id=18560
and when glibc uses that syscall it seems to do so from its own definitions:
https://github.com/bminor/glibc/search?q=IPCOP_shmat&unscoped_q=IPCOP_shmat

So I think using #ifndef and defining them if they're not already defined
using the values from glibc is the best option.

At IBM it was the testing on redhat 8 that found this as an issue
(the opcodes being undefined on the system made the #define HAS_SHMDT
evaluate to false so intercept_shmat / intercept_shmdt were
left undefined so shmat/shmdt memory events went unintercepted).

(cherry picked from commit e8fab058da)
Signed-off-by: Mark Allen <markalle@us.ibm.com>
2020-06-04 14:24:17 -04:00
Geoffrey Paulsen
2454bc0571 Updating VERSION to rc3
Signed-off-by: Geoffrey Paulsen <gpaulsen@us.ibm.com>
2020-06-04 12:06:46 -05:00
Howard Pritchard
e9c2af935f NEWS: update for 4.0.4rc3
[skip-ci]

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-06-04 09:58:12 -06:00
Geoff Paulsen
6dae117cff
Merge pull request #7774 from ggouaillardet/topic/v4.0.x/opal_str_to_bool
v3.0: opal/util: fix opal_str_to_bool()
2020-06-01 14:08:54 -05:00
Gilles Gouaillardet
806654074c opal/util: fix opal_str_to_bool()
correctly use strlen(char *) instead of sizeof(char *)

Thanks Georg Geiser for reporting this issue.

Refs. open-mpi/ompi#7772

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>

(cherry picked from commit c450b21405)
2020-06-01 10:16:25 +09:00
Geoff Paulsen
d5bc830026
Merge pull request #7756 from karasevb/fix_sys_limits
v4.0.x/sys limits: fixed soft limit setting if it is less than hard limit
2020-05-22 08:23:28 -05:00
Boris Karasev
6e42a3c66e sys limits: fixed soft limit setting if it is less than hard limit
Signed-off-by: Boris Karasev <karasev.b@gmail.com>
(cherry picked from commit fb9eca55cf)
2020-05-21 07:34:01 +03:00
Geoff Paulsen
351b53fc1f
Merge pull request #7751 from hppritcha/topic/new_for_404rc2
update NEWS for 4.0.4rc2
2020-05-19 12:45:07 -05:00
Howard Pritchard
6a882dbba7 update NEWS for 4.0.4rc2
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-05-19 10:36:13 -06:00
Howard Pritchard
63cc3daaaa
Merge pull request #7698 from jjhursey/v4-fix-lsf-libevent
Add checks for libevent.so conflict with LSF
2020-05-19 09:14:40 -06:00
Geoff Paulsen
f562f847c5
Merge pull request #7750 from gpaulsen/topic/v4.0.x/VERSION_v4.0.4_rc2
VERSION -> v4.0.4rc2
2020-05-18 18:09:04 -05:00
Geoffrey Paulsen
cac77786bc VERSION -> v4.0.4rc2
Signed-off-by: Geoffrey Paulsen <gpaulsen@us.ibm.com>
2020-05-18 16:52:32 -05:00
Joshua Hursey
76500e6cf8 Fix LSF configure check for libevent conflict
* Want to make sure that the result from `wc` is trimmed of spaces,
   so the `0` check returns properly
 * Add a few more comments, and fix wording in the warning message.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2020-05-18 15:10:46 -04:00
Joshua Hursey
7dba35f785 A slightly stronger check for LSF's libevent
Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
(cherry picked from commit 05e095a1ee)
2020-05-18 15:10:17 -04:00
Howard Pritchard
7a40f98cbf
Merge pull request #7718 from cniethammer/typos-mapping-too-low-help-messages
Typos mapping too low help messages
2020-05-18 10:47:21 -06:00
Geoff Paulsen
5214471b94
Merge pull request #7684 from hoopoepg/topic/ucx-new-api-nbx-v4.0
OPAL/UCX: enabling new API provided by UCX - v4.0
2020-05-18 11:42:59 -05:00
Christoph Niethammer
1632aa06c0 Correct typo in mapping-too-low* help messages
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
2020-05-10 22:39:28 +02:00
Joshua Hursey
886f41fe33 Move from legacy -levent to recommended -levent_core
* `libevent_core.so` contains the core functionality that we depend upon
   - `libevent.so` library has been identified as the legacy target.
   - `libevent_core.so` exists as far back as Libevent 2.0.5 (oldest supported by OMPI)
 * `libevent_pthreads.so` can work with either `-levent` or `-levent_core`

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2020-05-09 14:55:39 -04:00
Joshua Hursey
fc4199e3ba Add checks for libevent.so conflict with LSF
* LSF ships a `libevent.so` that is no related to the `libevent.so`
   shipped with Libevent.
 * Add some checks to the configure logic to detect scenarios where this
   conflict can be detected, and provide the user with a descriptive
   warning message.
   - When detected by `event/external` this is just a warning since
     the internal component may be able to be used instead.
     - This happens when the user supplies the LSF path via the
       `LDFLAGS` envar instead of via `--with-lsf-libdir`.
   - When detected by a LSF component and LSF was explicitly requested
     then this becomes an error. Otherwise it will just print the warning
     and that component will fail to build.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2020-05-09 14:55:39 -04:00
Geoff Paulsen
09b57c8568
Merge pull request #7707 from gpaulsen/topic/v4.0.x/v4.0.4_README
Updating README to include WARNING about ABI break
2020-05-08 11:25:37 -05:00
Geoffrey Paulsen
02e4825719 Updating README to include WARNING about ABI break
This commit adds a blurb to the README for v4.0.4, suggesting
that users of libmpi_usempif08.so skip over v4.0.3.

Much thanks to Jeff Squyres for help with wording.

Signed-off-by: Geoffrey Paulsen <gpaulsen@us.ibm.com>
2020-05-08 08:46:37 -05:00
Geoff Paulsen
1fb0d23caa
Merge pull request #7696 from gpaulsen/topic/v4.0.x/v4.0.4_VERSION
Bumping VERSION for v4.0.4
2020-05-07 19:16:02 -05:00
Geoffrey Paulsen
734866f8af Bumping VERSION for v4.0.4
This commit bumps the so versions for libraries for v4.0.4.

This includes https://github.com/open-mpi/ompi/pull/7622 which fixes
an ABI break introduced in the use_f08 library in v4.0.3.

Signed-off-by: Geoffrey Paulsen <gpaulsen@us.ibm.com>
2020-05-06 14:08:45 -05:00
Joshua Hursey
22d8fa197b event/external: Fix typo in LDFLAGS vs LIBS var before check
* This should have been `LDFLAGS` not `LIBS`. Either works, but
   `LDFLAGS` is more correct. We should also include `CPPFLAGS`
   just in case the header is important to the check.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2020-05-05 12:10:40 -04:00
Geoff Paulsen
3b600b8783
Merge pull request #7687 from hppritcha/topic/news_for_4.0.4
NEWS fix
2020-05-04 16:23:46 -05:00
Howard Pritchard
466140da23 NEWS fix
oops we already updated to PMIX 3.1.5 in the OMPI 4.0.3 release

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-05-04 13:04:56 -06:00
Geoff Paulsen
a45c0174e5
Merge pull request #7670 from hppritcha/topic/news_for_4.0.4
NEWS: news for v4.0.4
2020-05-04 14:02:45 -05:00
Sergey Oblomov
7c621acf1b OPAL/UCX: enabling new API provided by UCX
- added detection of new API into configuration
- added tag_send call implemented using new API
- added MPI_Send/MPI_Isend/MPI_Recv/MPI_Irecv implementations

Signed-off-by: Sergey Oblomov <sergeyo@mellanox.com>
(cherry picked from commit 75bda25ddb)
2020-05-04 10:02:10 +03:00
Howard Pritchard
f0707f92d4 NEWS: news for v4.0.4
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-04-29 15:48:31 -06:00
Geoff Paulsen
849b560c70
Merge pull request #7661 from hppritcha/topic/pr7656_to_v40x
rollup of fixes for opal_check_lustre.m4 for v40x
2020-04-27 14:04:19 -05:00
Geoff Paulsen
3bd394ee9f
Merge pull request #7619 from jsquyres/pr/v4.0.x/fix-mpit-err-codes
v4.0.x: Follow the MPI_T guidelines on return errors.
2020-04-24 14:02:03 -05:00
Geoff Paulsen
64b78cca3f
Merge pull request #7643 from alex--m/topic/rmaps_fix
rmaps/base: fix logic (crash, in some cases) when num_procs > num_obj…
2020-04-24 13:59:00 -05:00
Geoff Paulsen
f29f73d65c
Merge pull request #7659 from hppritcha/topic/pr7651_back_to_v40x
Backport OSC memory leak fixes to 4.0.x
2020-04-24 13:54:14 -05:00
Howard Pritchard
c43d8e54d6 rework check lustre config to avoid rpath lib64
The original configury check for lustre was ending up rpathing in /usr/lib64 in
the compiler wrapper scripts.  This commit fixes that issue.

related to #7580

Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
(cherry picked from commit ea690d008b)
2020-04-24 11:19:14 -06:00
Gilles Gouaillardet
cd03754ac3 configury: fix include path in Lustre detection
use -I$ompi_check_lustre_dir/include in order to correctly support
configure --with-lustre

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
(cherry picked from commit 7783e5ad09)
2020-04-24 11:18:57 -06:00