Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pylammpsmpi/wrapper/concurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Distributed under the terms of "New BSD License", see the LICENSE file.

import os
import sys
from concurrent.futures import Future
from queue import Queue
from pympipool.shared import (
Expand Down Expand Up @@ -35,7 +36,7 @@ def execute_async(
executable = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "..", "mpi", "lmpmpi.py"
)
cmds = ["python", executable]
cmds = [sys.executable, executable]
if cmdargs is not None:
cmds.extend(cmdargs)
interface = interface_bootup(
Expand Down