Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 801682

Summary: sci-chemistry/mpqc-2.3.1-r4 - memmtmpi.cc: error: static assertion failed: MPI_Errhandler_set was removed in MPI-3.0. Use MPI_Comm
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 831358    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-chemistry:mpqc-2.3.1-r4:20210712-001230.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-12 08:00:05 UTC
                 from memmtmpi.cc:39:
memmtmpi.cc: In member function ‘void sc::MTMPIMemoryGrp::init_mtmpimg(MPI_Comm, int)’:
memmtmpi.cc:244:3: error: static assertion failed: MPI_Errhandler_set was removed in MPI-3.0.  Use MPI_Comm_set_errhandler instead.
  244 |   MPI_Errhandler_set(comp_comm_, MPI_ERRORS_ARE_FATAL);
      |   ^~~~~~~~~~~~~~~~~~
memmtmpi.cc:245:3: error: static assertion failed: MPI_Errhandler_set was removed in MPI-3.0.  Use MPI_Comm_set_errhandler instead.
  245 |   MPI_Errhandler_set(comm_comm_, MPI_ERRORS_ARE_FATAL);

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j3-20210710-212045

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 4ace7a0aa6dbf5a061750534dfb0ac36def67ee9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jul 11 23:37:03 2021 +0000

    2021-07-11 23:37:03 UTC

emerge -qpvO sci-chemistry/mpqc
[ebuild  N    ] sci-chemistry/mpqc-2.3.1-r4  USE="mpi -doc -static-libs -threads -tk"
Comment 1 Toralf Förster gentoo-dev 2021-07-12 08:00:06 UTC
Created attachment 723397 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-12 08:00:08 UTC
Created attachment 723400 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-07-12 08:00:09 UTC
Created attachment 723403 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-07-12 08:00:11 UTC
Created attachment 723406 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-07-12 08:00:12 UTC
Created attachment 723409 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-12 08:00:13 UTC
Created attachment 723412 [details]
sci-chemistry:mpqc-2.3.1-r4:20210712-001230.log
Comment 7 Toralf Förster gentoo-dev 2021-07-12 08:00:14 UTC
Created attachment 723415 [details]
temp.tar.bz2
Comment 8 David Seifert gentoo-dev 2022-01-28 23:39:07 UTC
*** Bug 691512 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2022-01-29 00:00:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4bd2f6d1e878c5075eaebeab1a66b073cc1f43e

commit e4bd2f6d1e878c5075eaebeab1a66b073cc1f43e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-01-29 00:00:17 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-01-29 00:00:17 +0000

    sci-chemistry/mpqc: fix build system and MPI
    
    Closes: https://bugs.gentoo.org/710822
    Closes: https://bugs.gentoo.org/801682
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-chemistry/mpqc/files/mpqc-2.3.1-MPI-3.0.patch | 37 +++++++++++++++++
 sci-chemistry/mpqc/mpqc-2.3.1-r4.ebuild           | 48 +++++++++++------------
 2 files changed, 61 insertions(+), 24 deletions(-)