make develop LLVM_PREBUILD_DOWNLOAD_URL=https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/clang+llvm-14.0.6-x86_64-linux-gnu-rhel-8.4.tar.xz
make build
Notes:
make developis one-time setup (rerun only if toolchain/deps change).- Rebuild with
make buildonly when C++/CUDA sources change; skip for Python/README edits.
Use --help to see parameters. You must use --verbose to print the grid.
Example:
./bin/Heat2D_PlaceV2 --interval 1 --verbose
Max size as of MASS v0.7.2, this implementation as of 5/10/2024, is 3083.
run.sh runs the full pipeline:
- Run the simulation and write
log.txt. - Parse
log.txtintoheat2d_long.csvandheat2d_grids.npz. - Install Plotly if needed.
- Launch
visualize_plotly.py.
Run it like this:
sh run.sh
If you want to run each step yourself:
./bin/Heat2D_PlaceV2 --interval 1 --verbose > log.txt
python3 parse_heat2d.py
python3 -m pip install --user plotly
python3 visualize_plotly.py
make build-simviz
./bin/simviz heat2d.viz
If you are on UB, you can create a Python virtual environment to isolate packages:
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install plotly