Commit 5ccb48ba authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'introduce_mpi_namespace' into 'NIFTy_6'

Introduce `nifty6.mpi` namespace

See merge request !395
parents 7a3ef9b3 db75cb31
Pipeline #67728 passed with stages
in 15 minutes and 27 seconds
......@@ -17,8 +17,8 @@ onto each other exactly. We experienced that preconditioning in the `MetricGauss
via `napprox` breaks the inference scheme with the new model so `napprox` may not
be used here.
Removal of the standard parallelization scheme:
Removal of the standard MPI parallelization scheme:
When several MPI tasks are present, NIFTy5 distributes every Field over these
tasks by splitting it along the first axis. This approach to parallelism is not
......@@ -37,3 +37,11 @@ User-visible changes:
- the property `local_shape` has been removed from `Domain` (and subclasses)
and `DomainTuple`.
Transfer of MPI parallelization into operators:
As was already the case with the `MetricGaussianKL_MPI` in NIFTy5, MPI
parallelization in NIFTy6 is handled by specialized MPI-enabled operators.
They are accessible via the `nifty6.mpi` namespace, from which they can be
imported directly: `from nifty6.mpi import MPIenabledOperator`.
from .minimization.metric_gaussian_kl_mpi import MetricGaussianKL_MPI
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment