mvapich2/psm-add-missing-declaration.patch
Nicolas Morey 13e60bd8b4 - Add patches to fix compilation errors with GCC >= 14:
- mrail-fix-incompatible-pointer-issues.patch
  - util-add-missing-include.patch
  - psm-add-missing-declaration.patch
- Refresh 0001-Drop-real128.patch to work with patch -p0
- Switch to autopatch

OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=103
2024-09-05 10:05:51 +00:00

21 lines
710 B
Diff

commit 54cb73337039c22aed5b2b4ee7b19aeb8df33b2c
Author: Nicolas Morey <nmorey@suse.com>
Date: Thu Sep 5 10:11:46 2024 +0200
psm: add missing declaration
Signed-off-by: Nicolas Morey <nmorey@suse.com>
diff --git src/mpid/ch3/channels/psm/src/psm_entry.c src/mpid/ch3/channels/psm/src/psm_entry.c
index 125194750a0f..4ff539b65635 100755
--- src/mpid/ch3/channels/psm/src/psm_entry.c
+++ src/mpid/ch3/channels/psm/src/psm_entry.c
@@ -21,6 +21,7 @@
#include <upmi.h>
#include "coll_shmem.h"
extern int g_mv2_num_cpus;
+extern int MPIDI_Get_num_nodes();
volatile unsigned int MPIDI_CH3I_progress_completion_count = 0; //ODOT: what is this ?
volatile int MPIDI_CH3I_progress_blocked = FALSE;