I am brand new to parallel computing and I'm trying to set up a small cluster of Raspberry Pi's to fiddle around with. Whenever I went to install mpi4py, I used pip3 install mpi4py but I am still getting the following error when I try to run a simple test script. I am able to use mpiexec with a Hello World script that prints "Hello" for every core in the cluster.
Hardware is a cluster Raspberry Pi 3B+ running Rasbian Lite
test.py:
from mpi4py import MPI
print("Test")
This is the readout that I am getting from the command line:
Traceback (most recent call last):
File "test.py", line 1, in <module>
from mpi4py import MPI
ImportError: No module named mpi4py
Thanks in advance
pythonthat reads from the library thatpip3installs to?python -m pip installto make sure packages end up in the rightpythoninstallation.python -m pip install mpi4pympiexec -hostlist nodes_ips python test.pyWhen I try to runpython -m pip install mpi4py, I am getting an error that there is not module named 'pip'