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_Comm_free called twice? #46

Open
ykempf opened this issue Feb 28, 2023 · 0 comments
Open

MPI_Comm_free called twice? #46

ykempf opened this issue Feb 28, 2023 · 0 comments

Comments

@ykempf
Copy link
Contributor

ykempf commented Feb 28, 2023

I was trying to run with TAU and got crashes in MPI_Comm_free with invalid communicator. I found two here:
https://github.com/fmihpc/vlsv/blob/master/vlsv_writer.cpp#L60 (destructor)
https://github.com/fmihpc/vlsv/blob/master/vlsv_writer.cpp#L196 (close())
and disabling the latter allows it to run.

What's better style? Dropping this one or the destructor one? Or should we dig deeper to make sure there's no other obscure issues involved?

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