美文网首页
MPI environment on MacOS Sierra

MPI environment on MacOS Sierra

作者: 王德瑞 | 来源:发表于2017-04-05 17:57 被阅读0次

    1. Install Xcode

    Launch commands in terminal:

    $ xcode-select --install

    $ ln -s  ~/.bash_frofile  ~/.bashrc

    2. Download the source code form  https://www.open-mpi.org/software/ompi/v2.1/    Usually you may choose openmpi-2.1.0.tar.gz

    Launch commands in terminal:

    $ tar zxvf openmpi-2.1.0.tar.gz

    $ ./configure --prefix=/usr/local

    $ make all

    $ sudo make install

    Then finally use     $ pip install MPI4py

    相关文章

      网友评论

          本文标题:MPI environment on MacOS Sierra

          本文链接:https://www.haomeiwen.com/subject/vfjxattx.html