1
1

29893 Коммитов

Автор SHA1 Сообщение Дата
Michael Heinz
b680893917 Add check for PSM2 reference counting to PSM2 MTL #7721
As discussed, a feature is being added to libpsm2 to correctly handle
the case where the library is opened by multiple OMPI transports in the same
process. (For example, the OFI BTL and the PSM2 MTL).

* Improved error message to indicate required libpsm2 version.

* Adds a test at autogen/configure time for the existence of
  PSM2_LIB_REFCOUNT_CAP.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Signed-off-by: Michael Heinz <michael.william.heinz@intel.com>
(cherry picked from commit f10305a49facec8daef24ac81a52207a3f4fb73f)
2020-06-16 10:38:22 -06: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 d522c270373264aff0a7a2066bc3163b09e9a94b)
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 835f8f1834b8798a23ee0db6ad94315e30cb9be3)
2020-06-15 21:52:49 -04:00
Joshua Hursey
3234079bbc
Add detection for JSM direct launch
* Adds the `schizo/jsm` component that detects if the process was
   direct launched with IBM's Job Step Manager (JSM). JSM is a PMIx
   enhanced runtime environment so flag it as such.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
(cherry picked from commit 4f1de51371048085b86ee64e05849ad929c9f35c)
2020-06-11 08:51:17 -05: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 50765ae5a26f718c8840e65cb0cb813f4a65004b)
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 2e23893f04ef30c598a23889a4242f8cf4a45238)

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 e8fab058dac7300569cb54b08e5500115f8bab8f)
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 c450b2140540a1f8eae1a6e6f9a22d17cd40e7d8)
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 fb9eca55cfdfc4638521b431a4e4d545d9d22559)
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 05e095a1eef737849750a5f4f649e72c393eeb74)
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 75bda25ddbeea18bb001f367a712dc72592e1e58)
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 ea690d008b92a0091b9e5245bf171d25a5ea0b52)
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 7783e5ad09084caf684cfd9b2acf7bd79354074f)
2020-04-24 11:18:57 -06:00
Gilles Gouaillardet
7c435186c8 configury: do fail lustre detection when llapi_file_create() is not found
The result of this test was previously and incorrectly ignored.

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
(cherry picked from commit 72d3e290848b6e70d4c1101c229cd53be6190c33)
2020-04-24 11:18:39 -06:00
Joseph Schuchart
2785cbbc04 OSC base: fix typos in documentation
Signed-off-by: Joseph Schuchart <schuchart@hlrs.de>
(cherry picked from commit 07d1011afeb59d6ccaf401b30f6af7403da83f1f)
2020-04-24 09:20:05 -06:00