$\mathcal{H}$-HIGNN Toolkit: A Software for Efficient and Scalable Simulation of Large-Scale Particulate Suspensions Using GNNs and $\mathcal{H}$-Matrices
$\mathcal{H}$-HIGNN Toolkit: A Software for Efficient and Scalable Simulation of Large-Scale Particulate Suspensions Using GNNs and $\mathcal{H}$-Matrices - Published in JOSS (2026)
Science Score: 90.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in JOSS metadata -
○Academic publication links
-
○Academic email domains
-
✓Institutional organization owner
Organization pan-group-uw-madison has institutional domain (pan.labs.wisc.edu) -
✓JOSS paper metadata
Published in Journal of Open Source Software
Repository
HIGNN-HMatrix
Basic Info
Statistics
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 3
- Releases: 0
Metadata Files
Readme.md
H-HIGNN Toolkit
Introduction
$\mathcal{H}$-HIGNN is a framework designed for efficient and scalable simulation of large-scale particulate suspensions. It effectively captures both short- and long-range HIs and their many-body effects and enables substantial computational acceleration by harvesting the power of machine learning and hierarchical matrix.
Prerequisites
Nvidia driver (currently, it requires >= 11.8), docker engine and Nvidia container toolkit.
Prepare the docker environment
One can build the docker image locally
shell
git clone https://github.com/Pan-Group-UW-Madison/hignn/tree/main --recursive
cd hignn/script
docker build --rm -f Dockerfile.hignn.Ampere -t hignn .
or pull the image from the docker hub. By default, it assumes the Ampere architecture
shell
docker pull panlabuwmadison/hignn:latest
On Ada Lovelace architecture
shell
docker pull panlabuwmadison/hignn:adalovelace
If using CPU only, one can pull the image via
docker pull panlabuwmadison/hignn:cpu
Initialize
Rename the image with
shell
docker image tag panlabuwmadison/hignn:{ARCH} hignn
where {ARCH} can be latest/ampere/adalovelace/cpu.
On Linux
shell
docker run --privileged -it --rm -v $PWD:/local -w /local --entrypoint /bin/bash --gpus=all --shm-size=4g --hostname hignn hignn
On Windows
shell
docker run --privileged -it --rm -v ${PWD}:/local -w /local --entrypoint /bin/bash --gpus=all --shm-size=4g --hostname hignn hignn
If using cpu only, please use
shell
docker run --privileged -it --rm -v $PWD:/local -w /local --entrypoint /bin/bash --shm-size=4g --hostname hignn hignn:cpu
Compile the code
After entering the docker, you can run the Python script at the root directory as follows:
shell
python3 python/compile.py --rebuild
The above command only need once, the argument --rebuild is no more needed after the first time. One only needs
shell
python3 python/compile.py
Also, re-entering to the docker environment won't need to compile the code again if the code is unchanged.
Run the code
shell
python3 python/engine.py $config_file $new_cmd
One can select $new_cmd from one of --generate, --simulate and --visualize, which can be used to generate the initial configuration of particles, perform the simulation and post-processing the data, respectively.
Test
The test can be launched via
pytest test/test_engine.py
within the docker image.
Documentation
HIGNN uses Doxygen for the generation of API documentation. To generate the documentation, one only needs to run the folllowing command:
[bash]
doxygen Doxyfile
Owner
- Name: Pan Group@UW-Madison
- Login: Pan-Group-UW-Madison
- Kind: organization
- Location: United States of America
- Website: https://pan.labs.wisc.edu/
- Repositories: 1
- Profile: https://github.com/Pan-Group-UW-Madison
We develop accurate, robust, and scalable numerical methods, machine learning and data-driven model order reduction techniques, and quantum computing algorithms
JOSS Publication
H-HIGNN Toolkit: A Software for Efficient and Scalable Simulation of Large-Scale Particulate Suspensions Using GNNs and H-Matrices
Authors
Department of Mechanical Engineering, University of Wisconsin-Madison, Madison, WI, USA
Department of Mechanical Engineering, University of Wisconsin-Madison, Madison, WI, USA
Department of Mechanical Engineering, University of Wisconsin-Madison, Madison, WI, USA
Tags
Python/C++ Complex Fluids Fluid Dynamics Graph Neural Networks Hierarchical MatricesGitHub Events
Total
- Delete event: 3
- Member event: 1
- Pull request event: 3
- Fork event: 1
- Issues event: 5
- Watch event: 2
- Issue comment event: 16
- Push event: 36
- Create event: 4
Last Year
- Delete event: 3
- Member event: 1
- Pull request event: 3
- Fork event: 1
- Issues event: 5
- Watch event: 2
- Issue comment event: 16
- Push event: 35
- Create event: 4
