Hi, everyone! This repo provides a parallel version of 2-D multigrid method based on Pytorch.
Install necessary python packages:
pip install -r requirements.txtRun single node version:
python main.py -n 64 -p 1Run multi-node version:
torchrun --nproc_per_node 4 main.py -n 64 -p 2