diff options
Diffstat (limited to 'Examples/Tests/pass_mpi_communicator')
-rwxr-xr-x | Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py | 1 | ||||
-rwxr-xr-x | Examples/Tests/pass_mpi_communicator/analysis.py | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py b/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py index 540766152..fbb108a0e 100755 --- a/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py +++ b/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py @@ -8,6 +8,7 @@ from mpi4py import MPI import pywarpx from pywarpx import picmi + constants = picmi.constants ########################## diff --git a/Examples/Tests/pass_mpi_communicator/analysis.py b/Examples/Tests/pass_mpi_communicator/analysis.py index 9c1be3e51..db23c7047 100755 --- a/Examples/Tests/pass_mpi_communicator/analysis.py +++ b/Examples/Tests/pass_mpi_communicator/analysis.py @@ -4,15 +4,18 @@ # the script `PICMI_inputs_2d`. import sys + import matplotlib + matplotlib.use('Agg') import yt + yt.funcs.mylog.setLevel(50) import numpy as np + sys.path.insert(1, '../../../../warpx/Regression/Checksum/') import checksum - # this will be the name of the first plot file fn1 = "Python_pass_mpi_comm_plt1_00010" # second plot file |