Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684750 - sci-libs/scalapack-2.0.2-r1 : /.../igamx2d_.c:221:12: error: expected expression before _Static_assert
Summary: sci-libs/scalapack-2.0.2-r1 : /.../igamx2d_.c:221:12: error: expected express...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-29 18:33 UTC by Toralf Förster
Modified: 2020-04-30 04:55 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.20 KB, text/plain)
2019-04-29 18:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,176.83 KB, text/plain)
2019-04-29 18:33 UTC, Toralf Förster
Details
environment (environment,114.11 KB, text/plain)
2019-04-29 18:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.20 KB, application/x-bzip)
2019-04-29 18:33 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.38 KB, application/x-bzip)
2019-04-29 18:33 UTC, Toralf Förster
Details
sci-libs:scalapack-2.0.2-r1:20190428-230007.log (sci-libs:scalapack-2.0.2-r1:20190428-230007.log,26.90 KB, text/plain)
2019-04-29 18:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.10 KB, application/x-bzip)
2019-04-29 18:33 UTC, Toralf Förster
Details
patch to compile with openmpi-4.x (scalapack-2.0.2-mpi.patch,6.31 KB, patch)
2019-06-16 09:52 UTC, Helmut Jarausch
Details | Diff
MPI-3+ updates required by Open MPI 4 (scalapack-2.0.2-mpi-3-compat.patch,6.23 KB, patch)
2019-10-30 05:07 UTC, Viktor Yu. Kovalskii
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-04-29 18:33:32 UTC
                 from /var/tmp/portage/sci-libs/scalapack-2.0.2-r1/work/scalapack-2.0.2/BLACS/SRC/Bdef.h:7,
                 from /var/tmp/portage/sci-libs/scalapack-2.0.2-r1/work/scalapack-2.0.2/BLACS/SRC/igamx2d_.c:1:
/var/tmp/portage/sci-libs/scalapack-2.0.2-r1/work/scalapack-2.0.2/BLACS/SRC/igamx2d_.c:221:12: error: expected expression before ‘_Static_assert’
       ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
            ^~~~~~~~~~~~~~~
/var/tmp/portage/sci-libs/scalapack-2.0.2-r1/work/scalapack-2.0.2/BLACS/SRC/igamx2d_.c:278:6: warning: implicit declaration of function ‘BI_ivmcopy’; did you mean ‘BI_cvmcopy’? [-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_test_20190424-221203

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

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

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-bin-1.34.1
  [2]   rust-1.34.1 *



emerge -qpvO sci-libs/scalapack
[ebuild  N    ] sci-libs/scalapack-2.0.2-r1  USE="-static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2019-04-29 18:33:35 UTC
Created attachment 574660 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-29 18:33:38 UTC
Created attachment 574662 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-29 18:33:40 UTC
Created attachment 574664 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-29 18:33:43 UTC
Created attachment 574666 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-29 18:33:46 UTC
Created attachment 574668 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-29 18:33:49 UTC
Created attachment 574670 [details]
sci-libs:scalapack-2.0.2-r1:20190428-230007.log
Comment 7 Toralf Förster gentoo-dev 2019-04-29 18:33:52 UTC
Created attachment 574672 [details]
temp.tbz2
Comment 8 François Bissey 2019-04-29 21:51:14 UTC
And you are using openmpi-4.0.1 which is the important bit I would say. It compiles with mpich-3.0.4 but I haven't tested other mpi.
Comment 9 Helmut Jarausch 2019-06-16 09:52:37 UTC
Created attachment 579892 [details, diff]
patch to compile with openmpi-4.x
Comment 10 Viktor Yu. Kovalskii 2019-10-30 05:07:20 UTC
Created attachment 594500 [details, diff]
MPI-3+ updates required by Open MPI 4

Upstream fix:

https://github.com/Reference-ScaLAPACK/scalapack/commit/14fb599e1675e70667858eec1febeebbbb2f9ac1
Comment 11 Alexander B. Ustinov 2020-04-07 18:32:27 UTC
It can be fixed now by trivial bump to scalapack-2.1.0.
Anyone here got time to do it?
If not, should i leave 2.0.2-r1 after adding 2.1.0?
Comment 12 Larry the Git Cow gentoo-dev 2020-04-30 04:55:08 UTC
The bug has been closed via the following commit(s):

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

commit 19089ede16991afb7044047e5848f21e0757d442
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2020-04-30 04:48:04 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2020-04-30 04:53:54 +0000

    sci-libs/scalapack: version bump to 2.1.0
    
    Closes: https://bugs.gentoo.org/511150
    Closes: https://bugs.gentoo.org/675636
    Closes: https://bugs.gentoo.org/684750
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 sci-libs/scalapack/Manifest               |  1 +
 sci-libs/scalapack/scalapack-2.1.0.ebuild | 71 +++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)