diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /sci-chemistry/mpqc/files/mpqc-2.3.1-MPI-3.0.patch | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'sci-chemistry/mpqc/files/mpqc-2.3.1-MPI-3.0.patch')
-rw-r--r-- | sci-chemistry/mpqc/files/mpqc-2.3.1-MPI-3.0.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-chemistry/mpqc/files/mpqc-2.3.1-MPI-3.0.patch b/sci-chemistry/mpqc/files/mpqc-2.3.1-MPI-3.0.patch new file mode 100644 index 000000000000..d03d1f9b0566 --- /dev/null +++ b/sci-chemistry/mpqc/files/mpqc-2.3.1-MPI-3.0.patch @@ -0,0 +1,37 @@ +https://bugs.gentoo.org/801682 +rename MPI 1.0 to 3.0+ functions: +- MPI_Errhandler_set -> MPI_Comm_set_errhandler + +--- a/src/lib/util/group/memmtmpi.cc ++++ b/src/lib/util/group/memmtmpi.cc +@@ -241,8 +241,8 @@ + MPI_Comm_dup(comm, &comp_comm_); + MPI_Comm_dup(comm, &comm_comm_); + +- MPI_Errhandler_set(comp_comm_, MPI_ERRORS_ARE_FATAL); +- MPI_Errhandler_set(comm_comm_, MPI_ERRORS_ARE_FATAL); ++ MPI_Comm_set_errhandler(comp_comm_, MPI_ERRORS_ARE_FATAL); ++ MPI_Comm_set_errhandler(comm_comm_, MPI_ERRORS_ARE_FATAL); + + serial_ = 0; + req_tag_ = 15001; +--- a/src/lib/util/group/messmpi.cc ++++ b/src/lib/util/group/messmpi.cc +@@ -129,7 +129,7 @@ + if (keyval->booleanvalue("errors_return")) { + if (me()==0) + ExEnv::outn() << indent << "MPIMessageGrp: errors_return is true" << endl; +- MPI_Errhandler_set(commgrp, MPI_ERRORS_RETURN); ++ MPI_Comm_set_errhandler(commgrp, MPI_ERRORS_RETURN); + } + + if (debug_) { +@@ -200,7 +200,7 @@ + MPI_Comm_dup(comm, &commgrp); + global_commgrp = commgrp; + +- MPI_Errhandler_set(commgrp, MPI_ERRORS_ARE_FATAL); ++ MPI_Comm_set_errhandler(commgrp, MPI_ERRORS_ARE_FATAL); + + if (!nmpi_grps) { + threadgrp = ThreadGrp::get_default_threadgrp(); |