Install Open MPI in Ubuntu

来源:互联网 发布:剑三男神捏脸数据下载 编辑:程序博客网 时间:2024/04/28 11:30

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.gzsudo apt-get install libibnetdisc-dev

– Decompress the downloaded file

tar -xvf openmpi-1.8.1.tar.gzcd openmpi-1.8.1

– Configure the installation file

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

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

makesudo 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 0
原创粉丝点击