In the documentation, there are two different MPI run examples (in Section 5.3 MPI-Based Execution (High-Resolution Models) and Section 8. Examples, for MPI parallelization)
One with src/main.py and the other with src/main_mpi.py
For example, in Section 8
mpirun -np 12 python src/main.py -g examples/HF-model/HFmodel.msh -p examples/HF-model/parameter.txt
In this example, src/main.py throws an MPI parallelization error. src/main_mpi.py runs successfully. src/main.py seems to have a bug for MPI parallelization, which I did not thoroughly look at.
In the documentation, there are two different MPI run examples (in Section 5.3 MPI-Based Execution (High-Resolution Models) and Section 8. Examples, for MPI parallelization)
One with
src/main.pyand the other withsrc/main_mpi.pyFor example, in Section 8
mpirun -np 12 python src/main.py -g examples/HF-model/HFmodel.msh -p examples/HF-model/parameter.txt
In this example,
src/main.pythrows an MPI parallelization error.src/main_mpi.pyruns successfully. src/main.py seems to have a bug for MPI parallelization, which I did not thoroughly look at.