Gentoo-mpi-overlay

Description
The MPI overlay serves as a set of tools and standards used when writing and building MPI software. The goal is to make it easier for users and developers of MPI software to write, build, and maintain their code. The current overlay consists of two eclasses- mpi-providers and mpi-select- which should be used in all MPI ebuilds currently in the Portage tree, and for development in the future.

Description
A collection of tools for assisting the build process for MPI software in order to support installations of multiple MPI implementations and their respective versions. This should serve as a set of standards for MPI ebuild writers, and make it as easy as possible to write and maintain MPI ebuilds.

mpi-providers.eclass
This is to support multiple MPI implementation's installations in parallel. Remove any "SLOT=" assignment from the ebuild, as this is handled by mpi-providers. Append 'sysconfdir="$(mpi-providers_sysconfdir)" ' to your econf arguments. In the install phase, insert "mpi-providers_safe_mv" to the end of the installation function, as this will move the installation destination in such a way to support parallel installs in /usr/lib/mpi.

mpi-select.eclass
This allows other mpi software to be built with multiple MPI implementations. For example, if you want to build HPL with mpich and openmpi, mpi-select will build mpich and openmpi against HPL.

Repository
GitHub link