Method
Parallel & HPC
Domain decomposition, MPI, scaling, running at size.
8 notes · search
tag:parallel-hpc · all topicsSetting Up Full Multigrid¶
Underworld can precondition a Stokes solve with geometric multigrid built from a real hierarchy of meshes, rather than with the algebraic multigrid it falls back to. What the difference is, how to build a mesh that has a hierarchy, and when the choice is worth making.
Moving the Mesh Without Remaking It¶
There are three ways to put resolution where a calculation needs it: rebuild the mesh, subdivide it, or move its nodes. The third conserves the node budget and leaves the connectivity, the parallel partition and the multigrid hierarchy untouched — nothing is created or destroyed, only relocated. How that redistribution works in Underworld3, what it is worth in numbers, and where its ceiling is.
Read doi10.6084/m9.figshare.33241170
Running Underworld in a Browser: Any Repository, Any Version¶
A notebook written against one version of Underworld should still run against that version in five years, on a machine that has nothing installed. Here is the machinery that makes that true: a compact container, a nearly empty launcher repository, and two GitHub workflows that make a release and its launcher in the same breath.
Read doi10.6084/m9.figshare.33216996
Finding Particles in a Distributed, Unstructured Mesh¶
It can be difficult to figure out where you are in an unstructured mesh of triangles or tetrahedra; worse when the mesh is distributed in parallel. We have to solve this problem for particle-in-cell type codes such as Underworld3. This is how we do it.
Read doi10.6084/m9.figshare.33193611
How many processors should we use to solve Problem X?¶
Parallel computation puts many CPUs to work on solving a problem much more quickly than one CPU alone. But this only works if the tasks are carefully scheduled and the additional CPUs are not waiting around for something to do. How do we choose the right number of processors for a given problem ?
Read doi10.6084/m9.figshare.33193554
Underworld and Singularity¶
TL; DR: Underworld is now Singularity-enabled, making it easier and somewhat quicker to use compared to traditional HPC installs. We demonstrate results using over 10,000 CPUs and more than one billion unknowns for solving the Stokes equation with Underworld 2.16
Read doi10.6084/m9.figshare.33193545
Underworld 2.11 Scaling¶
Read doi10.6084/m9.figshare.33193458
Scaling in Underworld¶
To test scalability we run weak scaling tests on various HPC machines to check the numerical framework remains robust when pushing for higher fidelity models.
Read doi10.6084/m9.figshare.33193452