Accepting request 644581 from home:NMoreyChaisemartin:branches:sp1-staging

- Update to 11.2.23 (fate#325853)
  - compiler flag optimizations for KNL
  - optimizations for OFI
  - Bug fixes for CUDA runtime
  - Add psm2_info_query API
  - Modify PSM send side protocol selection logic to select correct flow at
    start of send function
  - Update LMC disable thresholds
  - Fix for Issue #30: Compilation error due to snprintf truncation warning
  - Convert CUDA runtime API calls to CUDA Driver API calls
  - Prevent SHM and IPS from closing other protocol connections
  - Change CUDA_THRESH_RNDV and move CUDA init to separate function
  - Fix selection logic for multi-HFI within NUMA node
  - Refresh JKey to support SELinux
  - Fix Issue #24: Uninitialized AM message
  - Fix data data corruption on GPU buffers when when using am ptl
  - Force EPID remap in shm if remote PID changed
  - PSM2 GDR Copy feature and tuning of thresholds to fully utilize the feature
  - Fix uniformity of process mapping to HFIs
  - PSM2 specific perf benchmarks
  - Fix for issue 27: Null termination of string
- Drop libpsm2-fix-gcc8-compilation-error.patch
  which was fixed upstream

OBS-URL: https://build.opensuse.org/request/show/644581
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libpsm2?expand=0&rev=43
This commit is contained in:
Nicolas Morey-Chaisemartin 2018-10-25 10:48:45 +00:00 committed by Git OBS Bridge
parent 933db2d2c3
commit aca5208d38
6 changed files with 34 additions and 50 deletions

View File

@ -5,11 +5,11 @@
<param name="package-meta">no</param>
<param name="exclude">.git</param>
<param name="filename">libpsm2</param>
<param name="version">10.3.46</param>
<param name="version">11.2.23</param>
<param name="versionrewrite-pattern">PSM2_(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="match-tag">PSM2_*</param>
<param name="revision">5fabd0e699a920e74333f789923fd1c02bb7c629</param>
<param name="revision">8a12e84dc7e3a89eb81f7d0d2fba13c5d9d9c484</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">libpsm2*.tar</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05db39309f69c0033c35b1cceba2c48fa725deee69332776d5f008072b23b075
size 327958

3
libpsm2-11.2.23.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14aab45501b1fe91c714befd26d35258ce032540457b230d64b199938d34eecf
size 367560

View File

@ -1,41 +0,0 @@
commit e8380f93eddfe5c79f58c7315c9d027fe39230ce
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Thu Mar 15 08:13:38 2018 +0100
libpsm2: fix gcc8 compilation error
Compiling with gcc 8.0.1 fails with:
/home/abuild/rpmbuild/BUILD/libpsm2-10.3.37/psm_utils.c: In function 'psmi_faultinj_getspec':
/home/abuild/rpmbuild/BUILD/libpsm2-10.3.37/psm_utils.c:985:59: error: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 110 and 237 [-Werror=format-truncation=]
snprintf(fdesc, sizeof(fdesc) - 1, "Fault Injection %s <%s>",
^~
fname, fvals_str);
~~~~~~~~~
In file included from /usr/include/stdio.h:862,
from /usr/include/malloc.h:24,
from /home/abuild/rpmbuild/BUILD/libpsm2-10.3.37/psm_utils.c:55:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 20 and 274 bytes into a destination of size 255
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:522: /home/abuild/rpmbuild/BUILD/libpsm2-10.3.37/build_release/psm_utils.o] Error 1
This increases the target buffer size to remove the error
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git psm_utils.c psm_utils.c
index e5d4fbc2c498..b3371641304e 100644
--- psm_utils.c
+++ psm_utils.c
@@ -975,7 +975,7 @@ struct psmi_faultinj_spec *psmi_faultinj_getspec(char *spec_name, int num,
union psmi_envvar_val env_fi;
char fvals_str[128];
char fname[128];
- char fdesc[256];
+ char fdesc[280];
snprintf(fvals_str, sizeof(fvals_str) - 1, "%d:%d:1", num,
denom);

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Mon Oct 15 06:43:58 UTC 2018 - nmoreychaisemartin@suse.com
- Update to 11.2.23 (fate#325853)
- compiler flag optimizations for KNL
- optimizations for OFI
- Bug fixes for CUDA runtime
- Add psm2_info_query API
- Modify PSM send side protocol selection logic to select correct flow at
start of send function
- Update LMC disable thresholds
- Fix for Issue #30: Compilation error due to snprintf truncation warning
- Convert CUDA runtime API calls to CUDA Driver API calls
- Prevent SHM and IPS from closing other protocol connections
- Change CUDA_THRESH_RNDV and move CUDA init to separate function
- Fix selection logic for multi-HFI within NUMA node
- Refresh JKey to support SELinux
- Fix Issue #24: Uninitialized AM message
- Fix data data corruption on GPU buffers when when using am ptl
- Force EPID remap in shm if remote PID changed
- PSM2 GDR Copy feature and tuning of thresholds to fully utilize the feature
- Fix uniformity of process mapping to HFIs
- PSM2 specific perf benchmarks
- Fix for issue 27: Null termination of string
- Drop libpsm2-fix-gcc8-compilation-error.patch
which was fixed upstream
-------------------------------------------------------------------
Thu Mar 15 07:18:37 UTC 2018 - nmoreychaisemartin@suse.com

View File

@ -20,10 +20,10 @@
%define psm_so 2
Name: libpsm2
Version: 10.3.46
Version: 11.2.23
Release: 0
Summary: Intel PSM Messaging API libraries
License: BSD-2-Clause or GPL-2.0
License: BSD-2-Clause OR GPL-2.0-only
Group: Development/Libraries/C and C++
Url: https://github.com/01org/opa-psm2/
Source0: %{name}-%{version}%{git_ver}.tar.bz2
@ -32,7 +32,6 @@ Source2: libpsm2-rpmlintrc
Patch2: libpsm2-use_RPM_OPT_FLAGS.patch
Patch3: libpsm2-use-exported-variable-for-version-and-release.patch
Patch4: libpsm2-include-ioctl_h.patch
Patch5: libpsm2-fix-gcc8-compilation-error.patch
BuildRequires: libnuma-devel
BuildRequires: libuuid-devel
BuildRequires: pkg-config
@ -87,7 +86,6 @@ Support for MPIs linked with PSM versions < 2.
%patch2
%patch3
%patch4
%patch5
cp %{S:1} ChangeLog