Skip to content

Commit

Permalink
Update the SingFELPDBDiffractionCalculator for mpirun v5
Browse files Browse the repository at this point in the history
  • Loading branch information
JunCEEE committed Jul 24, 2024
1 parent 44bcbd1 commit 136bcc7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ def backengine(self):
'--numDP', str(number_of_diffraction_patterns),
]
# fmt: on
args = shlex.split(mpi_command) + command_sequence
# Using the -v option to make sure the parameters are passed to the mpirun.
args = shlex.split(mpi_command + " -v") + command_sequence
print(args)
proc = Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE)
# proc.wait()
# The above one can be replaced by proc.communicate()
Expand Down

0 comments on commit 136bcc7

Please sign in to comment.