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

experiment with AMReX WorkEstType #3009

Open
zingale opened this issue Dec 8, 2024 · 0 comments
Open

experiment with AMReX WorkEstType #3009

zingale opened this issue Dec 8, 2024 · 0 comments

Comments

@zingale
Copy link
Member

zingale commented Dec 8, 2024

Previously we had an option to do a separate distribution map in the reactions, but that was removed in #877.

AMReX added the WorkEstType() in 17.10:

 -- Added a load balance approach to Amr/AmrLevel.  The runtime
     parameters for this is amr.loadbalance_with_workestimates and
     amr.loadbalance_level0_int.  The latter is for single level
     (i.e., amr.max_level=0) only.  For multi-level runs, load balance
     is done during regrid and thus the load balance interval is
     controlled by amr.regrid_int.  To use this approach, AmrLevel
     derivative must has a StateData for work estimates and its index
     is returned by virtual function int WorkEstType().

We can try using this to balance based on the number of RHS evaluations. However, I think the reason it was removed originally is because on a GPU this may not be much of a win, since all of the threads will wait for the last zone to burn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant