Commit 8520a542 authored by Philipp Arras's avatar Philipp Arras
Browse files

SampleList: Do not enforce MPI communicator

parent 804bd9fd
Pipeline #115280 passed with stages
in 23 minutes and 12 seconds
......@@ -53,9 +53,6 @@ class SampleListBase:
self._comm = comm
self._domain = makeDomain(domain)
utilities.check_MPI_equality(self._domain, comm)
global_comm, size, _, _ = utilities.get_MPI_params()
if global_comm is not None and size > 1 and comm is None:
raise ValueError("MPI is present. Please pass an MPI communicator to `SampleList`.")
def n_local_samples(self):
Markdown is supported
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