Replies: 1 comment 1 reply
-
Problem seems to be solved now - a Python dependency of a package installed with CondaPkg included its own |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an external MPI-enabled program that I need Julia to call as a
Cmd
, for example:This launches the program over 32 parallel MPI processes as expected, with the main process taking the lead and communicating with the other processes, as well as doing the logging.
However, if
using PythonCall
is run before this, I get entirely different behaviour. Instead of distributing computation among the processes,mpirun
creates 32 separate processes, which all run the entire program individually and do not communicate, as evidenced by the fact that they all output their own logs to stdout at the same time.I have no idea why PythonCall could be responsible here as I can't find it ever mentioning MPI, but this is the only thread I've found to fix this behaviour so far. The actual problem involves PythonCall running
subprocess.Popen
with this program from inside Julia, but it seems like the issue starts with only loading PythonCall and not even interacting with it.Does anyone have any idea why this would be happening?
Beta Was this translation helpful? Give feedback.
All reactions