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

Fix unit tests environment variables #4607

Merged
merged 2 commits into from
Nov 21, 2022
Merged

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Nov 18, 2022

Description of changes:

  • properly set unit test environment variables related to sanitizers
  • address Open MPI version 4.x singleton mode bug on NUMA architectures
    • disable MCA binding policy on unit tests running in singleton mode on affected NUMA architectures
    • print a warning in pypresso when running in singleton mode on affected NUMA architectures (can be disabled with a CMake option)

@jngrad jngrad marked this pull request as ready for review November 18, 2022 18:37
On AMD Ryzen and AMD EPYC, Open MPI version 4.x does not properly
work in singleton mode if the MCA binding policy is set to "numa".
Print a harmless warning in pypresso/ipypresso if the CPU is
affected to help users troubleshoot the ORTE error message.
@jngrad jngrad added the automerge Merge with kodiak label Nov 21, 2022
@kodiakhq kodiakhq bot merged commit 2d7bb27 into espressomd:python Nov 21, 2022
@jngrad jngrad added this to the Espresso 4.2.1 milestone Nov 21, 2022
@jngrad jngrad deleted the openmpi_guards branch November 21, 2022 15:40
jngrad pushed a commit to jngrad/espresso that referenced this pull request Nov 30, 2022
Description of changes:
- properly set unit test environment variables related to sanitizers
- address Open MPI version 4.x singleton mode bug on NUMA architectures
   - disable MCA binding policy on unit tests running in singleton mode on affected NUMA architectures
   - print a warning in pypresso when running in singleton mode on affected NUMA architectures (can be disabled with a CMake option)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants