安装mpi4py的方法
直接pip install mpi4py不可取。
需要安装以下依赖包:
https://bitbucket.org/mpi4py/mpi4py/src
Dependencies
Python 2.6, 2.7, 3.2 or above, or PyPy 2.0 or above.
A functional MPI 1.x/2.x/3.x implementation like MPICH or Open MPI built with shared/dynamic libraries.
To work with the in-development version, you need to install Cython.
默认已安装有anaconda python 2.7.11
依赖包:
1. openmpi
http://blog.csdn.net/swuteresa/article/details/9405383
1.1 编译器的检查
gcc --version
g++ --version
python --version
1.2.下载(可先cd /opt/目录下再wget)
URL: http://www.open-mpi.org/software/ompi/v1.10/
wget https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.2.tar.gz
tar xvzf openmpi-1.10.x.tar.gz
cd openmpi-xxx/
1.3.安装openMPI(默认至目录:/usr/local/lib)&#x
直接pip install mpi4py不可取。
需要安装以下依赖包:
https://bitbucket.org/mpi4py/mpi4py/src
Dependencies
Python 2.6, 2.7, 3.2 or above, or PyPy 2.0 or above.
A functional MPI 1.x/2.x/3.x implementation like MPICH or Open MPI built with shared/dynamic libraries.
To work with the in-development version, you need to install Cython.
默认已安装有anaconda python 2.7.11
依赖包:
1. openmpi
http://blog.csdn.net/swuteresa/article/details/9405383
1.1 编译器的检查
gcc --version
g++ --version
python --version
1.2.下载(可先cd /opt/目录下再wget)
URL: http://www.open-mpi.org/software/ompi/v1.10/
wget https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.2.tar.gz
tar xvzf openmpi-1.10.x.tar.gz
cd openmpi-xxx/
1.3.安装openMPI(默认至目录:/usr/local/lib)&#x