Skip to content

error in Fortran MPI image count check #17

Description

@scivision

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions