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

set num threads to avoid hanging #619

Merged

Conversation

RTSandberg
Copy link
Member

As documented in PyAMReX issue 322, the multithreaded PyTorch defaults interfere with MPI-enabled AMReX and these sometimes result in programs that hang. This PR updates the 15-LPA-stage surrogate model example to avoid this hanging.

@RTSandberg RTSandberg added bug Something isn't working workaround warning labels May 21, 2024
@ax3l ax3l self-requested a review May 22, 2024 19:05
@ax3l ax3l added bug: affects latest release Bug also exists in latest release version component: third party Changes in ImpactX that reflect a change in a third-party library component: python Python bindings labels May 22, 2024
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🎉

@ax3l ax3l enabled auto-merge (squash) May 22, 2024 19:10
@ax3l ax3l self-assigned this May 22, 2024
@ax3l ax3l removed the warning label May 22, 2024
@ax3l ax3l merged commit 9e63ff3 into ECP-WarpX:development May 22, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: python Python bindings component: third party Changes in ImpactX that reflect a change in a third-party library workaround
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants