5 releases

0.1.4 May 3, 2024
0.1.3 Oct 21, 2023
0.1.2 Aug 5, 2022
0.1.1 Feb 24, 2018
0.1.0 Jun 5, 2017

#184 in Build Utils

Download history 376/week @ 2024-03-13 504/week @ 2024-03-20 440/week @ 2024-03-27 431/week @ 2024-04-03 416/week @ 2024-04-10 304/week @ 2024-04-17 338/week @ 2024-04-24 516/week @ 2024-05-01 376/week @ 2024-05-08 297/week @ 2024-05-15 430/week @ 2024-05-22 421/week @ 2024-05-29 306/week @ 2024-06-05 285/week @ 2024-06-12 568/week @ 2024-06-19 208/week @ 2024-06-26

1,412 downloads per month
Used in 14 crates (3 directly)

MIT/Apache

13KB
310 lines

Probe an environment for an installed MPI library

Probing is done in several steps on Unix:

  1. Try to find an MPI compiler wrapper either from the environment variable MPICC or under the name mpicc then run the compiler wrapper with the command line argument -show and interpret the resulting output as gcc compatible command line arguments.
  2. Query the pkg-config database for an installation of mpich.
  3. Query the pkg-config database for an installation of openmpi.

On Windows, only MS-MPI is looked for. The MSMPI_INC and MSMPI_LIB32/64 environment variables are expected.

The result of the first successful step is returned. If no step is successful, a list of errors encountered while executing the steps is returned.

Dependencies

~60KB