Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846374 - not possible to install sci-libs/vtk with mpi implementations other than openmpi,
Summary: not possible to install sci-libs/vtk with mpi implementations other than open...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-05-18 21:29 UTC by Judge Dredd
Modified: 2022-12-12 06:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Judge Dredd 2022-05-18 21:29:14 UTC
sci-libs/vtk pulls in sys-cluster/openmpi, making it impossible to install
vtk with other mpi implementations.

Reproducible: Always

Steps to Reproduce:
1. Install an mpi implementation other than openmpi (like mpich)
2. Try to install sci-libs/vtk
3.
Actual Results:  
openmpi is pulled in requiring the user to replace the current mpi implementation
with openmpi

Expected Results:  
sci-libs/vtk should use any mpi implementation depending on user's choice

https://github.com/gentoo/gentoo/pull/25493
Comment 1 Larry the Git Cow gentoo-dev 2022-12-12 06:08:57 UTC
The bug has been closed via the following commit(s):

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

commit 588025882a58b613f5ef08e02b96efbb7d4c7445
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2022-09-29 05:18:39 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-12-12 06:08:29 +0000

    sci-libs/vtk: add 9.2.2
    
    - add a new function to check memory and disk space requirements
    - don't drop bundled external libraries, it's only a few MB which are freed
            through this and upstream does a good job to avoid automagic deps
    - request more modules to build explicitly depending on USE flag settings
    - don't export CC and friends with USE=mpi, package builds fine with gcc and still
            links to MPI libraries
    - add USE flag to build vtk-m optional
    
    Bug: https://bugs.gentoo.org/793221
    Bug: https://bugs.gentoo.org/835659
    Bug: https://bugs.gentoo.org/880759
    Closes: https://bugs.gentoo.org/820593
    Closes: https://bugs.gentoo.org/827310
    Closes: https://bugs.gentoo.org/846374
    Closes: https://bugs.gentoo.org/874798
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/28250
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sci-libs/vtk/Manifest                              |   6 +
 .../vtk-9.2.2-VTKm-respect-user-CXXFLAGS.patch     |  81 +++
 ...9.2.2-link-with-glut-library-for-freeglut.patch |  18 +
 ...metryFilter-add-missing-mutex-header-file.patch |  20 +
 sci-libs/vtk/metadata.xml                          |  11 +-
 sci-libs/vtk/vtk-9.2.2.ebuild                      | 728 +++++++++++++++++++++
 6 files changed, 863 insertions(+), 1 deletion(-)