Computer Setup

[Python] Setup mpi4py (intel compiled) in Cygwin Window

astrodoo 2020. 2. 3. 22:32

source: https://stackoverflow.com/questions/14004457/error-loading-mpi-dll-in-mpi4py

 

1. download MS MPI, install both .mis and SDK.
2. set up environmental variables
control panel --> advanced system settings --> environmental variables --> add
(1) C:\Program Files (x86)\Microsoft SDKs\MPI and
(2) C:\Program Files\Microsoft MPI\Bin. There are my paht, you may need to change the path here.
3. install MS visual studio, community version is enough
4. Anaconda prompt, use conda install -c intel mpi4py. I read most replies but not mentioned this way.