-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26bcb1f
commit 13e9ff0
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Mpich | ||
Высокопроизводительная реализация MPI для параллельных вычислений. | ||
|
||
## Сбор из исходников | ||
Устанавливаем `gcc`: | ||
```shell | ||
su - | ||
apt-get install gcc-c++ | ||
``` | ||
|
||
Скачиваем, разархивировываем и переходим в неё: | ||
```shell | ||
wget https://github.com/pmodels/mpich/releases/download/v4.1.2/mpich-4.1.2.tar.gz | ||
tar -xvf mpich-4.1.2.tar.gz | ||
cd mpich-4.1.2 | ||
``` | ||
|
||
Собираем: | ||
```shell | ||
su - | ||
./configure --prefix=/home/USER/mpich-install --disable-fortran | ||
make | ||
make install | ||
``` | ||
где `USER` - имя пользователя, для которого собираем, `--disable-fortran` отключает сборку для Fortran (если нужно, уберите). | ||
|
||
Для удобства можно добавить в PATH (от имени пользователя, которому собрали): | ||
```shell | ||
export PATH=/home/$USER/mpich-install/bin:$PATH | ||
``` |