Skip to content

Give an explicit error message if MPI can't be called from a sub-process #18

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BerengerBerthoul
Copy link
Member

See #17 . At least OpenMPI 4.0.5 does not allow mpirun to be called from a sub-process.

This PR now gives an explicit error message with the shell scheduler if the MPI implementation can't be called from a sub-process.

Also implement two minor misc improvements :

  • for the shell and SLURM scheduler, give the absolute path of the error log files
  • use 3 error classes (to raise usage, environment or internal pytest_parallel errors)

…st if MPI works with sub-processes. Added exception.py
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

Successfully merging this pull request may close these issues.

1 participant