Skip to content
GitLab
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
4e71a7b5
Commit
4e71a7b5
authored
May 12, 2017
by
Theo Steininger
Browse files
Removed direct dependency on mpi4py from Plotter.
parent
c5832e8b
Pipeline
#12353
passed with stage
in 5 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/plotting/plotter/plotter.py
View file @
4e71a7b5
...
...
@@ -5,6 +5,8 @@ import os
import
numpy
as
np
import
d2o
from
keepers
import
Loggable
from
nifty.config
import
dependency_injector
as
gdi
...
...
@@ -22,9 +24,8 @@ try:
except
AttributeError
:
pass
from
mpi4py
import
MPI
comm
=
MPI
.
COMM_WORLD
rank
=
comm
.
rank
rank
=
d2o
.
config
.
dependency_injector
[
d2o
.
configuration
[
'mpi_module'
]].
COMM_WORLD
.
rank
class
Plotter
(
Loggable
,
object
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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