Gentoo Archives: gentoo-dev

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Reliably find MPI implementation
Date: Wed, 08 Jun 2022 17:13:24
Message-Id: CACfyCdXLTUeevF-YKNRPahdJ2DZto_hban945oeUK9YSV2as+w@mail.gmail.com
1 I have a package that uncorrectly guesses the mpi implementation because
2 it's grepping the /usr/include/mpi.h and since it's a multilib wrapper, it
3 doesn't contain the defines. I can specify the mpi implementation while
4 configuring.
5
6 How to reliably detect the MPI implementation?
7 I need something (eclass ?) that return one the following:
8 openmpi/mpich/mpich2/mpich3/lam/etc. based on the current installed status