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

Handle parallel execution without mpi4py. #117

Open
JuanPedroGHM opened this issue Apr 3, 2024 · 0 comments
Open

Handle parallel execution without mpi4py. #117

JuanPedroGHM opened this issue Apr 3, 2024 · 0 comments

Comments

@JuanPedroGHM
Copy link
Member

perun crashes when run on an MPI context without having mpi4py installed. This happens when writing the hdf5 and other output files, as multiple perun processes try to write to the same path.

What needs to happen:

  • perun needs to catch the error and provide a usefull error or warning message to the user indicating about the missing mpi4py library.
  • Ideally, each perun process will write the report with a different file name to avoid write conflicts. The file name could include the hostname and a process identifier (PID, MPI rank from env variables, ...) to ensure this. Optionally, just check what already exist and add a "_n" suffix to the filename.
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