Skip to content

Commit

Permalink
Merge pull request #153 from issp-center-dev/mpi4py_run
Browse files Browse the repository at this point in the history
Avoid deadlocks in calling SumkDFTWorkers
  • Loading branch information
j-otsuki authored Dec 4, 2024
2 parents 828b134 + b5af871 commit 54819d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dcore/sumkdft_workers/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run_sumkdft(runner_cls, model_file, work_dir, mpirun_command, params):
with HDFArchive('./input.h5', 'w') as h:
h['params'] = params

commands = [sys.executable, "-m", "dcore.sumkdft_workers.mpi_main"]
commands = [sys.executable, "-m", "mpi4py", "-m", "dcore.sumkdft_workers.mpi_main"]
commands.append(runner_cls)
commands.append(model_file)
commands.append(os.path.abspath('./input.h5'))
Expand Down

0 comments on commit 54819d9

Please sign in to comment.