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

PhononWorkChain: add max concurrent running pw workchains #84

Merged
merged 3 commits into from
Dec 22, 2024

Conversation

bastonero
Copy link
Owner

Fixes #52

Add the settings.max_concurrent_base_workchains input to the PhononWorkChain to run only up to a maximum number of PwBaseWorkChain at the same time. This is particularly useful for low symmetry materials where many displacements are generated. This avoids to overload both the AiiDA daemon and especially the HPC. Moreover, this even allows for running on the local machine (where AiiDA is installed) this workflow.

Fixes #52

Add the `settings.max_concurrent_base_workchains` input to the `PhononWorkChain`
to run only up to a maximum number of PwBaseWorkChain at the same time. This is
particularly useful for low symmetry materials where many displacements are generated.
This avoids to overload both the AiiDA daemon and especially the HPC. Moreover, this
even allows for running on the local machine (where AiiDA is installed) this workflow.
Copy link

codecov bot commented Dec 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.77%. Comparing base (388d648) to head (70438f9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
+ Coverage   86.59%   86.77%   +0.17%     
==========================================
  Files          34       34              
  Lines        2491     2502      +11     
==========================================
+ Hits         2157     2171      +14     
+ Misses        334      331       -3     
Flag Coverage Δ
pytests 86.77% <100.00%> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bastonero
Copy link
Owner Author

@cpignedoli here you go! A bit late, but they say better late than never :D

@bastonero bastonero merged commit 07c67bf into main Dec 22, 2024
10 checks passed
@bastonero bastonero deleted the max-concurrent branch December 22, 2024 16:03
@aiida-cla-bot aiida-cla-bot bot locked and limited conversation to collaborators Dec 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the possibility of submitting max_concurrent_base_workchains
1 participant