diff options
author | Christoph Junghans <junghans@gentoo.org> | 2020-02-19 14:09:04 -0700 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2020-02-19 14:09:59 -0700 |
commit | 2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6 (patch) | |
tree | ba9823367b437d582074c2152511d2edb664d5a3 /app-shells/mpibash/files | |
parent | media-sound/sonata: 1.7_beta1_p20200212 version bump (diff) | |
download | gentoo-2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6.tar.gz gentoo-2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6.tar.bz2 gentoo-2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6.zip |
app-shells/mpibash: fix build with mpi-3
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>
Diffstat (limited to 'app-shells/mpibash/files')
-rw-r--r-- | app-shells/mpibash/files/mpi-3.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-shells/mpibash/files/mpi-3.patch b/app-shells/mpibash/files/mpi-3.patch new file mode 100644 index 000000000000..7b7e1ec820de --- /dev/null +++ b/app-shells/mpibash/files/mpi-3.patch @@ -0,0 +1,24 @@ +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); + |