How to run mpirun bw venv on two nodes

37 Views Asked by At

I have to execute mpirun command on two python virtual environments between two separate nodes. I have named venv same along with path towards code file. My machinefile looks like this:

[email protected] max_slots=2 
[email protected] max_slots=1

where second entry is master node.

When I execute mpirun command from venv of master node, it failed saying moduleNotFoundERROR but package is already installed in venv of worker node. If I remove machinefile, command run successfully.

Is something else required in configurations while communicating with venvs?

0

There are 0 best solutions below