OpenMPI-Ubuntu installation and configuration

OpenMPI- Ubuntu installation and configuration#

OpenMPIInstall##

  1. Download OpenMPI v2.0.2
  2. Unzip the file, enter the folder, and specify the installation path (default path: /usr/local/lib)
wget https://www.open-mpi.org/software/ompi/v2.0/downloads/openmpi-2.0.2.tar.gz
tar zxvf openmpi-2.0.2.tar.gz
cd openmpi-2.0.2
sudo ./configure --prefix=/usr/local
  1. Compile and install
sudo make
sudo make install 
  1. Configure environment variables (~/.bashrc)
export PATH=$PATH:/usr/local/openmpi/bin  
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openmpi/lib/  
source ~/.bashrc  
sudo ldconfig  
  1. test
cd examples
make
mpirun -np 8 hello_c

Recommended Posts

OpenMPI-Ubuntu installation and configuration
Centos mysql installation and configuration
Centos7 installation and configuration prometheus
CentOS 7 installation and configuration PPTP
Ubuntu16.04 installation and simple configuration
CentOS installation and configuration cmake
Centos7.5 installation and configuration MongoDB4.0.4
CentOS 7 installation and configuration PPTP
Ubuntu PostgreSQL installation and configuration
Centos7 installation and configuration of Jenkins
Centos7 hadoop cluster installation and configuration
Java-JDK installation and configuration under CentOS
CentOS 7 Tomcat service installation and configuration
Ubuntu 19.1 installation and configuration Chinese environment
CentOS NTP server installation and configuration
Configuration and beautification after Ubuntu installation (1)
Nginx installation and configuration load (ubuntu12.04)
Ubuntu configuration source and installation software
Centos7 mysql database installation and configuration
Tomcat installation and configuration under CentOS 7 (Tomcat startup)
MySQL 8.0 installation, deployment and configuration under CentOS 6/7
Installation and configuration of redis under centos7
Centos7 hive stand-alone mode installation and configuration
DLNA/UPnP Server installation and configuration under Ubuntu 12.04
Installation and configuration of JDK in CentOS 7 system
PyCUDA-Ubuntu 14.04 installation and testing
Debian and Ubuntu installation source configuration file description
CentOS 6.5 system installation and configuration graphic tutorial (detailed graphic)
Virtual machine installation and configuration ubuntu shared folder_
Ubuntu introduction and installation
CentOS 7 installation and configuration graphic tutorials under VMware10
Mysql8.0.15 installation configuration (centos7)
Installation and configuration of rsync server under CentOS 6.5
Kaldi installation and configuration graphic tutorials under Ubuntu
Basic configuration and common software installation after ubuntu 18.04 installation
Installation and configuration of CentOS 7 in VMware Workstation
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
Python3 configuration and entry.md
MySQL 8.0 installation, deployment and configuration tutorial on CentOS 8
Ubuntu16.04 mirror complete installation and configuration tutorial under VMware
Ubuntu12 step-by-step installation and configuration (system, FTP, TELNET.. settings)
Common exceptions and solutions for Ubuntu system installation and configuration
Python introduction and environment installation
Anaconda introduction and Ubuntu/windows installation Anaconda
GitLab installation and basic use
centos7 kvm installation and use
CentOS7 postgresql installation and use
Ubuntu16.04 install SVN and configuration
Caffe-Ubuntu installation and problem solving
Centos7 elk7.1.1 installation and use
Enterprise self-built GitLab code warehouse installation and basic configuration use
Detailed explanation of Spark installation and configuration tutorial under centOS7
CentOS 8 install Git and basic configuration
Centos6.5 installation and deployment of KVM
CentOS7 installation and maintenance of Gitlab
CentOS7.2 and Nginx configuration virtual host
Ubuntu16.04 configuration OpenCV3.4.2 and basic use
Redis installation under ubuntu and windows
Python's jieba module installation and download
CentOS 7.X system installation and optimization
Centos 7 RAID 5 detailed explanation and configuration