Currently numerical/grid/grid.f90:grid_check() does some basic sanity checks. However a lot of bad cases can get through, causing a non-obvious error like putting NaNs in plasma variables or MUMPS failing to solve. Normally, the Python front-end will only give "good" number of MPI images. However if a user manually specifies the number of MPI images, grid_check() often doesn't catch the problem, and so we get NaN check errors or MUMPS memory errors.
Examples triggering error
there are many more cases that will fail, this is just one example of each.
NaN in v1
python scripts/run_test.py 2dew_fang mpiexec.exe build/gemini.bin.exe build/test2dew_fang -np 3
(now fixed)
mumps error
python scripts/run_test.py 2dew_fang mpiexec.exe build/gemini.bin.exe build/test2dew_fang -np 7
Currently numerical/grid/grid.f90:grid_check() does some basic sanity checks. However a lot of bad cases can get through, causing a non-obvious error like putting NaNs in plasma variables or MUMPS failing to solve. Normally, the Python front-end will only give "good" number of MPI images. However if a user manually specifies the number of MPI images, grid_check() often doesn't catch the problem, and so we get NaN check errors or MUMPS memory errors.
Examples triggering error
there are many more cases that will fail, this is just one example of each.
NaN in v1
(now fixed)
mumps error