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

strange bug with MPI #193

Open
jsjie opened this issue Nov 22, 2023 · 0 comments
Open

strange bug with MPI #193

jsjie opened this issue Nov 22, 2023 · 0 comments

Comments

@jsjie
Copy link

jsjie commented Nov 22, 2023

Under some circumstances, a MWE:

julia> using EzXML

julia> EzXML.XML_GLOBAL_ERROR_STACK
EzXML.XMLError[]

julia> using MPI

julia> EzXML.XML_GLOBAL_ERROR_STACK
EzXML.XMLError[]

julia> MPI.Init()
MPI.ThreadLevel(2)

julia> EzXML.XML_GLOBAL_ERROR_STACK
1-element Vector{EzXML.XMLError}:
 EzXML.XMLError(1, 5, "Extra content at the end of the document", 3, 183)

Then everything is in problems.

I ran it on a Utuntu 20.04 WSL in Windows11. If I use the Julia MPI,there will be no problem. However, if I use the system MPI with using MPIPreferences; MPIPreferences.use_system_binary(), then the above error occurs. I'm using MPI v0.20.18. The system MPI info is

$ mpirun --version
mpirun (Open MPI) 4.0.3
$ mpiexec --version
mpiexec (OpenRTE) 4.0.3

I'm using Julia v1.9.1. Just use the default v1.9 environment, add MPI MPIPreferences EzXML, using MPIPreferences; MPIPreferences.use_system_binary(), then restart Julia, then the error occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant