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

Incorporate Cajita load balancer #104

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open

Conversation

aetx
Copy link
Collaborator

@aetx aetx commented Aug 26, 2021

Incorporate Cajita::LoadBalancer instead of directly using ALL.

Cleanup and tests are still todo.

aetx added 30 commits July 28, 2021 18:38
Using a slighlty higher minimum cmake version allows
for automatic detection of dependencies via *_ROOT
environment variables
@streeve streeve self-requested a review August 26, 2021 20:39
@streeve streeve added the enhancement New feature or request label Aug 26, 2021
@junghans
Copy link
Member

junghans commented Feb 4, 2022

@streeve please review

@aetx can you add an example

@aetx
Copy link
Collaborator Author

aetx commented Feb 5, 2022

The runs shown in the presentation are done using the default input/in.lj just with more steps and less frequent VTK output.

The main change to make the system sparse is, however, hardcoded in cabanamd_impl.h. The input scheme does not support a partially filled system box. The patch is simple, but sadly hardcoded (and here with the extension .txt since GitHub does not recognize .patch...):
Unbalance.patch.txt

--- inputFile_impl.h	2021-11-12 15:29:27.030136901 +0100
+++ inputFile_impl_unbalanced.h	2022-02-03 17:19:10.312665687 +0100
@@ -557,9 +557,9 @@
     std::array<T_X_FLOAT, 3> global_low = { 0.0, 0.0, 0.0 };
     std::array<T_X_FLOAT, 3> global_high = { max_x, max_y, max_z };
     // Uncomment the following to create a vacuum for an unbalanced system.
-    // global_high[0] *= 2;
-    // global_high[1] *= 2;
-    // global_high[2] *= 2;
+    global_high[0] *= 2;
+    global_high[1] *= 2;
+    global_high[2] *= 2;
     system->create_domain( global_low, global_high, comm_ghost_cutoff );
     s = *system;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants