Город МОСКОВСКИЙ
00:04:29

How to install OpenMPI on Linux?

Аватар
Python приключения
Просмотры:
38
Дата загрузки:
03.12.2023 19:50
Длительность:
00:04:29
Категория:
Обучение

Описание

1.Go to http://www.open-mpi.org and download the latest .tar.gz package

2. Create a directory to install OpenMPI and go into it

$ mkdir $HOME/openmpi
$ cd $HOME/openmpi

3. Copy the .tar.gz file into this directory:

$ cp $HOME/Downloads/openmpi-1.8.7.tar.gz $HOME/openmpi

4. Extract the package and go into the extracted directory:

$ tar -xzvf openmpi-1.8.7.tar.gz
$ cd openmpi-1.8.7

5. Configure and compile (this step may take about 5-10 minutes):

$ ./configure --prefix=$HOME/openmpi
$ make all

6. Finally install using the following command:

$ make install

Add OpenMPI to your PATH and LD_LIBRARY_PATH environment variable.

More detailed description of all these steps together with more options which can be used to install openmpi can be found at:
http://www.simunano.com/2015/07/how-to-install-openmpi.html

Follow us on Twitter: https://twitter.com/simunano

Рекомендуемые видео