- Notifications
You must be signed in to change notification settings - Fork0
hpcgroup/AMG2023
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
AMG2023 is a parallel algebraic multigrid solver for linear systems arising fromproblems on unstructured grids. The driver provided here builds linearsystems for various 3-dimensional problems. It requires an installation ofhypre-2.27.0 or higher.
AMG2023 is written in C. It is a SPMD code which uses MPI and OpenMP threading within MPI tasks.Parallelism is achieved by data decomposition, which is here achieved by simply subdividingthe grid into logical P x Q x R (in 3D) chunks of equal size.It can also be used on NVIDIA, AMD, and Intel GPUs via CUDA, HIP, and SYCL.
AMG2023 is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
AMG2023 uses a simple Makefile system for building the code. All compiler andlink options are set by modifying it appropriately.
To build the code, first install hypre, which can be cloned fromhttps://github.com/hypre-space/hypre .
Then modify the 'Makefile' file appropriately.
Then type
make
Other available targets are
make clean (deletes .o files)
make veryclean (deletes .o files, libraries, and executables)
Further information is available in the 'amg-doc' file.
We have also provided a cmake build
mkdir build && cd buildcmake -DHYPRE_PREFIX=<path/to/hypre/> ..make install
To edit configurations:
cd buildccmake ..
For more information, see the 'amg-doc' file in the distribution.
LLNL-CODE-846758