Recently, I downloaded and installed Fedora Scientific 20 as I was
impressed with the list of included software. My interest in the software
is due to the inclusion of the MPI framework. I was able to compile and
execute a simple C program using mpicc and mpiexec. However, I need some
help using MPI4PY to call OpenMPI.
At the terminal prompt, if I try:
$ /lib64/openmpi/bin/mpiexec -n 2 python3 helloworld.py
The Traceback reports that an ImportError: No module named 'mpi4py' has
been raised. The helloworld.py program was an example found online with
line 6 being "from mpi4py import MPI".
Since Apper indicates that mpi4py has been installed for both Python2 and
Python3 for OpenMPI, I'm not sure what might be wrong. Could somebody
please advise as to how to use this package?
Thank you for your time.
Show replies by date