forked from pool/openmpi5
- Update to v5.0.0rc12 - accelerator/rocm: add SYNC_MEMOPS support - Updated PMIx, PRRTe, and OAC submodule pointers. - Fixe in mca_btl_ofi_flush() in multi threaded environment. - smcuda: fix an edge case when using enable mca dso - Fix MPI_Session_init bug if all previous sessions are finalized.. - Fix mpi4py hang in intercomm_create_from_groups. - Fix finalize segfault with OSHMEM 4.1.5 - Update FAQ content. - Improve AVX* detection. Fixes op/avx link failure with nvhpc compiler. - Fix incorrect results with pml/ucx using Intel compiler. - Fix segfault when broadcasting large MPI structs. - Add platform files for Google Cloud HPC. - UCC/HCOLL: Fix waitall for non blokcing collectives. - check for MPI_T.3 (not MPI_T.5). Fix pre-built docs check. - Add romio341-backport-fixes-from-mpich.patch to fix compilation issues. - Update to v5.0.0rc11 - Many bug fixes OBS-URL: https://build.opensuse.org/request/show/1100997 OBS-URL: https://build.opensuse.org/package/show/science:HPC/openmpi5?expand=0&rev=6
41 lines
1.2 KiB
Diff
41 lines
1.2 KiB
Diff
commit fd5991044167b2bf87b656ef7c5fed89dc69f234
|
|
Author: Nicolas Morey <nmorey@suse.com>
|
|
Date: Wed Jul 26 09:55:50 2023 +0200
|
|
|
|
romio341: backport fixes from mpich
|
|
|
|
Fix compilation issues when NDEBUG is set
|
|
|
|
Signed-off-by: Nicolas Morey <nmorey@suse.com>
|
|
|
|
diff --git 3rd-party/romio341/mpl/src/sock/mpl_sockaddr.c 3rd-party/romio341/mpl/src/sock/mpl_sockaddr.c
|
|
index c0e991c68d85..147bffad799d 100644
|
|
--- 3rd-party/romio341/mpl/src/sock/mpl_sockaddr.c
|
|
+++ 3rd-party/romio341/mpl/src/sock/mpl_sockaddr.c
|
|
@@ -140,6 +140,7 @@ int MPL_get_sockaddr_direct(int type, MPL_sockaddr_t * p_addr)
|
|
return 0;
|
|
} else {
|
|
assert(0);
|
|
+ return -1;
|
|
}
|
|
}
|
|
|
|
@@ -209,7 +210,7 @@ void MPL_set_listen_attr(int use_loopback, int max_conn)
|
|
int MPL_listen(int sock_fd, unsigned short port)
|
|
{
|
|
MPL_sockaddr_t addr;
|
|
- int ret;
|
|
+ int ret = 0;
|
|
|
|
if (_use_loopback) {
|
|
MPL_get_sockaddr_direct(MPL_SOCKADDR_LOOPBACK, &addr);
|
|
@@ -234,7 +235,7 @@ int MPL_listen(int sock_fd, unsigned short port)
|
|
int MPL_listen_anyport(int sock_fd, unsigned short *p_port)
|
|
{
|
|
MPL_sockaddr_t addr;
|
|
- int ret;
|
|
+ int ret = 0;
|
|
|
|
if (_use_loopback) {
|
|
MPL_get_sockaddr_direct(MPL_SOCKADDR_LOOPBACK, &addr);
|