Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPI Test fails with OpenMPI 4.1.3 from homebrew #227

Open
tkoskela opened this issue May 13, 2022 · 0 comments
Open

MPI Test fails with OpenMPI 4.1.3 from homebrew #227

tkoskela opened this issue May 13, 2022 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@tkoskela
Copy link
Member

tkoskela commented May 13, 2022

On my (Intel) MacOS 12.3.1, running Julia 1.7.2 and MPI.jl 0.19.2, the MPI test of ParticleDA.jl fails when tests are run from the package manger with (@v1.7) pkg> test ParticleDA. Calling the same test from the command line using

mpiexec -n 3 /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia --project=./test --startup-file=no -q -t1 /Users/tkoskela/.julia/dev/ParticleDA/test/mpi.jl

runs successfully. There is no error message, after some debugging with @giordano it seems the mpiexec command just silently fails. My MPI.jl was built against the system MPI, which was OpenMPI 4.1.3 installed from homebrew. You can see which implementation MPI.jl is using by calling MPI.identify_implementation().

As a workaround, rebuilding MPI.jl against its self-provided MPICH 4.1.2, using

julia -e 'ENV["JULIA_MPI_BINARY"]="MPICH_jll"; using Pkg; Pkg.build("MPI"; verbose=true)'

Seems to have resolved the error.

Edit: Seeing inconsistent behaviour with the OpenMPI provided by MPI.jl. Have had it both run successfully and fail without any error message. Not clear why.

@tkoskela tkoskela added bug Something isn't working documentation Improvements or additions to documentation labels May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant