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

#237 in Build Utils

Download history 965/week @ 2024-11-15 867/week @ 2024-11-22 995/week @ 2024-11-29 1045/week @ 2024-12-06 925/week @ 2024-12-13 483/week @ 2024-12-20 742/week @ 2024-12-27 770/week @ 2025-01-03 1106/week @ 2025-01-10 1126/week @ 2025-01-17 1109/week @ 2025-01-24 1330/week @ 2025-01-31 1131/week @ 2025-02-07 1615/week @ 2025-02-14 1136/week @ 2025-02-21 1230/week @ 2025-02-28

5,382 downloads per month
Used in 31 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

~61KB