Install Open MPI in Ubuntu

Open MPI is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available.


Open MPI offers advantages for system and software vendors, application developers and computer science researchers

Features

  • Full MPI-2 standards conformance
  • Thread safety and concurrency
  • Dynamic process spawning
  • High performance on all platforms
  • Reliable and fast job management
  • Network and process fault tolerance
  • Support network heterogeneity
  • Single library supports all networks
  • Run-time instrumentation
  • Many job schedulers supported
  • Internationalized error messages
  • Component-based design, documented APIs

The latest stable release 1.8 is focused on bug fixes and stability

Install Open MPI 1.8 in Ubuntu 14.04

– Download the package

wget https://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.1.tar.gz

sudo apt-get install libibnetdisc-dev

– Decompress the downloaded file

tar -xvf openmpi-1.8.1.tar.gz

cd openmpi-1.8.1

– Configure the installation file

./configure --prefix="/home/$USER/.openmpi"

– Install OpenMPI (This path will take time to complete)

make

sudo make install

– Setup path in Environment Variable

export PATH="$PATH:/home/$USER/.openmpi/bin"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/$USER/.openmpi/lib/"

– Test if install was successful

mpirun

Result should show ‘How to use’ message

openmpi-01

reprinted from: http://sysads.co.uk/2014/05/install-open-mpi-1-8-ubuntu-14-04-13-10/
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值