Re: unable to install mpi4py

52 views
Skip to first unread message

Lisandro Dalcin

unread,
Apr 21, 2020, 4:16:34 AM4/21/20
to Kyle Gherardi, mpi...@googlegroups.com
There Kyle

As a general rule in free and open source software, you write these questions to a mailing list. 
In mpi4py's case, the mailing list is hosted at Google Groups, mpi...@googlegroups.com

Please re-send your future question there. I'm CCing my answer to our mailing list.
That way, my answers will be available to others that may have similar issues in the future and can get to them with Google searches.

On Tue, 21 Apr 2020 at 04:11, Kyle Gherardi <kdghe...@gmail.com> wrote:

Hi –

 

I am very new to the python environment and am attempting to install a module which is dependent on the “mpi4py” module. I have tried installing by two methods (i) pip install mpi4py , see attached for log1 and (ii) downloading from GitHub and using python setup.py install, see attached for log2. Can you help me in understanding what I’m doing wrong?

 


You are running Windows. Right now, the only thing that I can somewhat guarantee to work is using Microsoft MPI. 
You have do download and install if before using/building mpi4py. Note that there are two different packages to install, the  MSMPI runtime and the SDK.
Once you do it, please try again using `python setup.py install` and report back any problems.

Or maybe we can try to download the wheel file from mpi4py-py3.8-x64-msmpi-windows-latest from the latest CI build, then use pip to install it.

--
Lisandro Dalcin
============
Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/

kdghe...@gmail.com

unread,
Apr 22, 2020, 5:21:15 AM4/22/20
to mpi4py
Hi Lisandro - 

Thanks for you reply and guidance. I had MSMPI runtime installed, but did not have the SDK installed. This is what was preventing the installation of mpi4py. It is now working.


Thanks!
Kyle 
Reply all
Reply to author
Forward
0 new messages