Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686134 - sys-cluster/mpich-3.3 : /.../cdesc.h:118:107: error: unknown type name MPIO_Request
Summary: sys-cluster/mpich-3.3 : /.../cdesc.h:118:107: error: unknown type name MPIO_R...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
Keywords: PullRequest
Depends on:
Reported: 2019-05-17 07:24 UTC by Toralf Förster
Modified: 2020-11-14 22:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge-info.txt (emerge-info.txt,16.59 KB, text/plain)
2019-05-17 07:24 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,279.29 KB, text/plain)
2019-05-17 07:24 UTC, Toralf Förster
environment (environment,113.06 KB, text/plain)
2019-05-17 07:24 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,19.69 KB, application/x-bzip)
2019-05-17 07:24 UTC, Toralf Förster
logs.tbz2 (logs.tbz2,63.48 KB, application/x-bzip)
2019-05-17 07:24 UTC, Toralf Förster
sys-cluster:mpich-3.3:20190517-045030.log.bz2 (sys-cluster:mpich-3.3:20190517-045030.log.bz2,77.01 KB, application/x-bzip)
2019-05-17 07:24 UTC, Toralf Förster
temp.tbz2 (temp.tbz2,184.81 KB, application/x-bzip)
2019-05-17 07:24 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 Toralf Förster gentoo-dev 2019-05-17 07:24:07 UTC
Created attachment 577000 [details]
Comment 3 Toralf Förster gentoo-dev 2019-05-17 07:24:10 UTC
Created attachment 577002 [details]
Comment 4 Toralf Förster gentoo-dev 2019-05-17 07:24:13 UTC
Created attachment 577004 [details]
Comment 5 Toralf Förster gentoo-dev 2019-05-17 07:24:16 UTC
Created attachment 577006 [details]
Comment 6 Toralf Förster gentoo-dev 2019-05-17 07:24:19 UTC
Created attachment 577008 [details]
Comment 7 Toralf Förster gentoo-dev 2019-05-17 07:24:22 UTC
Created attachment 577010 [details]
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:


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):

commit 4ace770098e8e3bc0880c2845c6c427223d7fd8b
Author:     Aisha Tammy <>
AuthorDate: 2020-11-14 22:47:16 +0000
Commit:     David Seifert <>
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
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Aisha Tammy <>
    Signed-off-by: David Seifert <>

 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:

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