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

Bug 686134

Summary: sys-cluster/mpich-3.3 : /.../cdesc.h:118:107: error: unknown type name MPIO_Request
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: CONFIRMED ---    
Severity: normal CC: cluster, pavanbalaji.work, steven, vityokster
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18085
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-cluster:mpich-3.3:20190517-045030.log.bz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-17 07:24:01 UTC
In file included from /var/tmp/portage/sys-cluster/mpich-3.3/work/mpich-3.3/src/binding/fortran/use_mpi_f08/wrappers_c/send_cdesc.c:10:
/var/tmp/portage/sys-cluster/mpich-3.3/work/mpich-3.3/src/binding/fortran/use_mpi_f08/wrappers_c/cdesc.h:118:107: error: unknown type name ‘MPIO_Request’; did you mean ‘MPI_Request’?
  118 | extern int MPIR_File_iread_at_cdesc(MPI_File x0, MPI_Offset x1, CFI_cdesc_t* x2, int x3, MPI_Datatype x4, MPIO_Request * x5);
      |                                                                                                           ^~~~~~~~~~~~
      |                                                                                                           MPI_Request

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_20190510-222116

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.7 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1
  [2]   rust-1.34.2 *



emerge -qpvO sys-cluster/mpich
[ebuild  N    ] sys-cluster/mpich-3.3  USE="cxx fortran -doc -mpi-threads -romio -threads" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2019-05-17 07:24:04 UTC
Created attachment 576998 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-17 07:24:07 UTC
Created attachment 577000 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-17 07:24:10 UTC
Created attachment 577002 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-17 07:24:13 UTC
Created attachment 577004 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-17 07:24:16 UTC
Created attachment 577006 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-17 07:24:19 UTC
Created attachment 577008 [details]
sys-cluster:mpich-3.3:20190517-045030.log.bz2
Comment 7 Toralf Förster gentoo-dev 2019-05-17 07:24:22 UTC
Created attachment 577010 [details]
temp.tbz2
Comment 8 Viktor Yu. Kovalskii 2019-05-25 04:35:00 UTC
sys-cluster/mpich-3.3 compiles with USE="romio".

Seems upstream knows about this issue:

https://github.com/pmodels/mpich/pull/3093

and 

https://github.com/pmodels/mpich/pull/3143

Right now upstrem doesn't have correct solution for this issue.
Comment 9 Larry the Git Cow gentoo-dev 2020-11-14 22:47:32 UTC
The bug has been referenced in the following commit(s):

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

commit 4ace770098e8e3bc0880c2845c6c427223d7fd8b
Author:     Aisha Tammy <gentoo@aisha.cc>
AuthorDate: 2020-11-14 22:47:16 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-14 22:47:16 +0000

    sys-cluster/mpich: various fixes
    
    * mpi-threads forces threads
    * fix automagic dependency on libunwind
    * build with romio by default
    
    Bug: https://bugs.gentoo.org/686134
    Closes: https://github.com/gentoo/gentoo/pull/18085
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-cluster/mpich/{mpich-3.3.ebuild => mpich-3.3-r1.ebuild} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Comment 10 Pavan Balaji 2020-11-14 22:57:40 UTC
Upstream is aware of this error.  It is a bad interaction between Fortran 2008 compilers and the disabling of ROMIO support.

This patch should fix it:  https://github.com/pmodels/mpich/pull/4900

The patch will also be included in the next release of MPICH.