Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310663 - Some apps need metis, other parmetis. Can't a virtual/metis be created?
Summary: Some apps need metis, other parmetis. Can't a virtual/metis be created?
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 310671 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-22 09:09 UTC by Daniel Tourde
Modified: 2023-05-02 15:43 UTC (History)
1 user (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 Daniel Tourde 2010-03-22 09:09:31 UTC
Hello,

I am trying to have OpenFOAM and Salome installed on my box. OpenFOAM requires parmetis and Salome requires metis. Parmetis and metis and mutually exclusive (you can have one, but not both at the same time...). So, I end up in a situation where I can OpenFOAM _or_ Salome on my machine but not both...

I don't really know the difference between parmetis and metis (if any) but my first reaction is to wonder if a vitual/metis could not be created, allowing applications to get built against the chosen metis implementation.

Daniel

Reproducible: Always

Steps to Reproduce:
1. emerge openfoam
2. emerge -upDNv salome-meta


Actual Results:  
metis and parmetis block each others.

Expected Results:  
Both applications built on the machine.
Comment 1 Justin Bronder (RETIRED) gentoo-dev 2010-03-23 22:23:36 UTC
*** Bug 310671 has been marked as a duplicate of this bug. ***
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2010-03-24 05:40:48 UTC
I don't think a virtual is needed. I included a pkg-config file for both metis and parmetis.
For OpenFOAM, use pkg-config --libs parmetis
For Salome, use pkg-config --libs metis.
In both case, you can use parmetis with pkg-config --libs metis.
See the cholmod ebuild for how it is done when both are possible such as in the case of Salome.
Comment 3 Andrew Ammerlaan gentoo-dev 2023-05-02 15:43:49 UTC
Parmetis depends on metis so I agree a virtual doesn't make much sense here