3 releases

Uses old Rust 2015

0.1.2 Aug 5, 2022
0.1.1 Feb 24, 2018
0.1.0 Jun 5, 2017

#102 in Build Utils

Download history 153/week @ 2022-12-01 245/week @ 2022-12-08 117/week @ 2022-12-15 195/week @ 2022-12-22 131/week @ 2022-12-29 136/week @ 2023-01-05 220/week @ 2023-01-12 749/week @ 2023-01-19 810/week @ 2023-01-26 351/week @ 2023-02-02 219/week @ 2023-02-09 240/week @ 2023-02-16 231/week @ 2023-02-23 236/week @ 2023-03-02 216/week @ 2023-03-09 429/week @ 2023-03-16

1,130 downloads per month
Used in 8 crates (3 directly)

MIT/Apache

9KB
201 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

~9KB