Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
8520a542
Commit
8520a542
authored
Nov 15, 2021
by
Philipp Arras
Browse files
SampleList: Do not enforce MPI communicator
parent
804bd9fd
Pipeline
#115280
passed with stages
in 23 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/minimization/sample_list.py
View file @
8520a542
...
...
@@ -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`."
)
@
property
def
n_local_samples
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment