Skip to content

Crash with system-provided OpenMPI and HDF5_jll v1.14 #1079

@mfsch

Description

@mfsch

When I set up a simple project with the latest MPI and HDF5 packages and configure it to use the system-provided OpenMPI installation, the call to MPI.Init() crashes with “orte_init failed” errors. I am observing issue on both Ubuntu 18.04 (OpenMPI 3.1.2) and 20.04 (OpenMPI 4.0.3). Downgrading to HDF5_jll v1.12 fixes the issue.

Steps to reproduce:

  • create a new folder and launch Julia with julia --project=.
  • install dependencies with ]add MPI HDF5
  • run using MPI; MPI.MPIPreferences.use_system_binary()
  • attempt to run mpirun -n 4 julia --project -e "using MPI, HDF5; MPI.Init()" (or mpiexecjl), observe crash
  • downgrade with ]add [email protected], rerun without crash

On Ubuntu 18.04, the error includes the line mca_base_component_repository_open: unable to open mca_pmix_pmix3x: /home/user/.julia/artifacts/f9744710560ba3ddc00cd9df62ac7dfcd18c8649/lib/openmpi/mca_pmix_pmix3x.so: undefined symbol: opal_envar_t_class, in case this is helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions