Skip to content

MPI test do not select the correct (system) MPI implementation #561

@luraess

Description

@luraess

Testing MPI v0.20-dev (master) branch on Linux (Ubuntu 20.04) with system MPI

julia> MPIPreferences.use_system_binary()
┌ Info: MPI implementation
│   libmpi = "libmpi"
│   version_string = "Open MPI v4.1.2, package: Open MPI luraess@superzack Distribution, ident: 4.1.2, repo rev: v4.1.2, Nov 24, 2021\0"
│   impl = "OpenMPI"
│   version = v"4.1.2"
└   abi = "OpenMPI"

does not pick up the correct MPI implementation although LocalPreferences.toml contains the above info. Tests would always pick up MPICH_jll

┌ Info: Running MPI tests
│   ArrayType = Array
│   nprocs = 1
│   MPIPreferences.abi = "MPICH"
└   MPIPreferences.binary = "MPICH_jll"

Copying manually LocalPreferences.toml does not solve the issue.

Note that MPI selects the correct implementation outside of test

julia> MPI.MPI_LIBRARY_VERSION_STRING
"Open MPI v4.1.2, package: Open MPI luraess@superzack Distribution, ident: 4.1.2, repo rev: v4.1.2, Nov 24, 2021\0"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions