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

Crash in MPIBuildParticleNNExportListUsingMesh() #131

Open
MatthieuSchaller opened this issue Jan 18, 2024 · 2 comments
Open

Crash in MPIBuildParticleNNExportListUsingMesh() #131

MatthieuSchaller opened this issue Jan 18, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@MatthieuSchaller
Copy link

Running a simulation with 752^3 gas and 4*752^3 DM particles in a 12Mpc box. 64 nodes with 16 OMP threads each.
I get a crash in MPIBuildParticleNNExportListUsingMesh().

The array nbuffer on line 3743 overflows somehow for some of the entries and we crash in the subsequent MPI call (line 3748).

@MatthieuSchaller
Copy link
Author

MatthieuSchaller commented Jan 18, 2024

Different numbers of MPI ranks leads to the same problem.
What is odd is that there are fewer than 2^32 particles so even sending everything should not overflow.

@pelahi
Copy link
Collaborator

pelahi commented Feb 29, 2024

@MatthieuSchaller, can you try #132, this is the quick fix that should address this issue. I've got updates to the MPI routines that makes it more efficient but that is a larger change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants