-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add option to disable MPI (#68)
CalcJob plugins can specify default values for whether codes should use MPI or not: using the `metadata.options.withmpi` variable. aiida-testing can run calculations with a single MPI process if an MPI library is installed. However, the MPI library is then also required in order to fetch the results from the test database, because the mock executable will be run with `mpirun -np 1 ...`. Here we add an option `--mock-disable-mpi` that allows users to disable the use of MPI. If supported by the AiiDA version (>=2.1.0), this option is enabled automatically by `--mock-fail-on-missing`. The documentation now recommends using `--mock-fail-on-missing` on CI by default.
- Loading branch information
Leopold Talirz
authored
Feb 1, 2023
1 parent
43f838a
commit 2bf9dfa
Showing
4 changed files
with
95 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters