My undergraduate graduation project.
gcc13, g++13, cmake, mpich, hdf5, silo
Run the following commands.
./configure.sh
./compile.shRun the following command.
mpirun -np 4 ./bin/AMRPoisson example/AMRPoisson/Poisson-MultiGaussian-rect.jsonThe number after -np is the number of processes. The last argument is the json input file. You can try other json files or use your own json file.
Also, if your equation has no analytic solution, run the following command.
mpirun -np 4 ./bin/AMRPoissonNoAnalyticSol example/AMRPoissonNoAnalyticSol/Poisson-Constant-L.jsonRun the following command.
mpirun -np 4 ./bin/PerformUnitTestsThe number after -np is the number of processes. The unit test whose default number of processes is not the np you set will be skipped.