mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
Closes: https://bugs.gentoo.org/656422 Closes: https://bugs.gentoo.org/708994 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Christoph Junghans <junghans@gentoo.org>
25 lines
806 B
Diff
25 lines
806 B
Diff
From 0b396b62ac314ae509ac3ca5fa9d5119e862be51 Mon Sep 17 00:00:00 2001
|
|
From: Scott Pakin <pakin@lanl.gov>
|
|
Date: Wed, 19 Feb 2020 13:43:40 -0700
|
|
Subject: [PATCH] Replace deprecated MPI_Errhandler_set with newer
|
|
MPI_Comm_set_errhandler
|
|
|
|
Resolves #17.
|
|
---
|
|
src/init.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/init.c b/src/init.c
|
|
index cd070a7..46b1127 100644
|
|
--- a/src/init.c
|
|
+++ b/src/init.c
|
|
@@ -77,7 +77,7 @@ mpi_init_builtin (WORD_LIST *list)
|
|
|
|
/* Make MPI errors return instead of crash. Also, store our rank
|
|
* and number of ranks. */
|
|
- MPI_Errhandler_set (MPI_COMM_WORLD, MPI_ERRORS_RETURN);
|
|
+ MPI_Comm_set_errhandler (MPI_COMM_WORLD, MPI_ERRORS_RETURN);
|
|
MPI_Comm_rank (MPI_COMM_WORLD, &mpibash_rank);
|
|
MPI_Comm_size (MPI_COMM_WORLD, &mpibash_num_ranks);
|
|
|