-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adds a simple example using the MPI evaluator * Make MPI work with WorkingDirectoryModels * Code reorganization, moving mpi-specific code into a separate module * Adds an initializer for mpi worker processes * update to tests to cover new code * update to docs and mpi tutorial to reflect updated code Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f132400
commit a968cc8
Showing
10 changed files
with
526 additions
and
215 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,6 +79,7 @@ | |
SequentialEvaluator, | ||
Samplers, | ||
) | ||
|
||
from .optimization import ( | ||
Convergence, | ||
EpsilonProgress, | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name="Python_test" | ||
#SBATCH --time=00:02:00 | ||
#SBATCH --ntasks=10 | ||
#SBATCH --cpus-per-task=1 | ||
#SBATCH --partition=compute | ||
#SBATCH --mem-per-cpu=4GB | ||
#SBATCH --account=research-tpm-mas | ||
|
||
module load 2023r1 | ||
module load openmpi | ||
module load python | ||
module load py-numpy | ||
module load py-scipy | ||
module load py-mpi4py | ||
module load py-pip | ||
|
||
pip install ipyparallel | ||
pip install --user -e git+https://github.com/quaquel/EMAworkbench@mpi_update#egg=ema-workbench | ||
|
||
mpiexec -n 1 python3 example_mpi_lake_model.py |
Binary file not shown.
Oops, something went wrong.