You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run the psum.py example on a ipcluster with 4 nodes/engines with the follwing input (compared to the presented example the array a is different on each engine in my case)
view['s'] returns [6.0, 22.0, 38.0, 54.0] instead of the expected output [120,120,120,120]
However, if i run the psum example manually (in the bash with mpirun -np 4 python psum.py ) the output is correct. The psum.py file used for this test contains
and edit the file IPYTHONDIR/profile_mpi/ipcluster_config.py.
There, instruct ipcluster to use the MPI launchers by adding the lines:
c.IPClusterEngines.engine_launcher_class = 'MPIEngineSetLauncher'
When trying to run the psum.py example on a ipcluster with 4 nodes/engines with the follwing input (compared to the presented example the array
a
is different on each engine in my case)view['s']
returns[6.0, 22.0, 38.0, 54.0]
instead of the expected output[120,120,120,120]
However, if i run the psum example manually (in the bash with
mpirun -np 4 python psum.py
) the output is correct. Thepsum.py
file used for this test containsand when run with
mpirun
it outputsAny ideas?
The text was updated successfully, but these errors were encountered: