install mpi4py on MacPro

Anacondaを使って、Mac Pro にmpi4pyをインストール。

 

$ conda install -c anaconda mpi4py
Fetching package metadata ...............
Solving package specifications: .

Package plan for installation in environment /Users/_my_username_/anaconda:

The following NEW packages will be INSTALLED:

mpi4py: 2.0.0-py27_0 anaconda
openmpi: 1.6.3-1 anaconda

The following packages will be UPDATED:

conda: 4.3.29-py27_0 conda-forge --> 4.4.8-py27_0 anaconda
pycosat: 0.6.1-py27_1 --> 0.6.3-py27h6c51c7e_0 anaconda

The following packages will be SUPERSEDED by a higher-priority channel:

conda-env: 2.6.0-0 conda-forge --> 2.6.0-h36134e3_0 anaconda

Proceed ([y]/n)? y

conda-env-2.6. 100% |###########################################################################| Time: 0:00:00 1.66 MB/s
openmpi-1.6.3- 100% |###########################################################################| Time: 0:00:00 10.75 MB/s
mpi4py-2.0.0-p 100% |###########################################################################| Time: 0:00:00 23.69 MB/s
pycosat-0.6.3- 100% |###########################################################################| Time: 0:00:00 4.53 MB/s
conda-4.4.8-py 100% |###########################################################################| Time: 0:00:00 5.07 MB/s

 

$ python

Python 2.7.12 |Anaconda custom (x86_64)| (default, Jul 2 2016, 17:43:17)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import mpi4py
>>>