ECP-copa / ExaMPM

Material point method proxy application based on Cabana.
BSD 3-Clause "New" or "Revised" License
9 stars 11 forks source link

Incorporate liball load balancing library #26

Closed aetx closed 3 years ago

aetx commented 3 years ago

The corresponding changes in https://github.com/ECP-copa/Cabana/pull/439 (or the all_lb branch) are needed for this to work.

This will incorporate the load balancer https://gitlab.jsc.fz-juelich.de/SLMS/loadbalancing into the ExaMPM setup.

Note: The dam break partitioning is in z-direction to create a larger load imbalance.

Current state seems to be a bit broken when reading the local grid location and extent, but the number of particles seems to be balanced.

junghans commented 3 years ago

@aetx I had it so it pulls your all_lb branch from Cabana, but it still fails to build.

junghans commented 3 years ago

Great it works now, so we should merge https://github.com/ECP-copa/Cabana/pull/439 first and then revert ee32eebef2842443697462db208b35ce44afe508.

junghans commented 3 years ago

Ist there a chance to make liball an optional dependency?

aetx commented 3 years ago

This should make ALL optional in the same way that, e.g., ArborX is optional in Cabana. I.e. if found automatically it is enabled and it can be required as well. Although it might also be useful to forcefully disable it I suppose.

aetx commented 3 years ago

Still need to propagate the preprocessor define.

aetx commented 3 years ago

The load balancer will be integrated into Cabana/Cajita itself, so this explicit usage is no longer needed.