Skip to content

Conversation

F-Ross
Copy link
Collaborator

@F-Ross F-Ross commented Sep 5, 2025

The aim of this pull request is to enable pytest-isolate-mpi to work with apptainer on an HPC system. For this two command line options were added:

  • --python_executable, which allows to set the path to a custom python with which to run the spawned subsessions, the intention being that this will be the python inside the container.
  • --custom_ini_for_subsession that allows the subsession to use a different ini than the outer pytest call. Some of the mpi args can cause problems when used inside an apptainer container, so this is a very flexible way to remove those.

@F-Ross F-Ross self-assigned this Sep 5, 2025
@F-Ross F-Ross marked this pull request as ready for review September 18, 2025 09:21
@F-Ross F-Ross requested a review from sebasgo September 18, 2025 09:21
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