---
title: 安装ScaLAPACK
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/openmind_kunpengsiesta_02_0006.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/openmind_kunpengsiesta_02_0006.html
indexId: 508e01e9b624d5c720d2e91a9b9ef48a82f73eba42a39c881cab265c4f39e6a577
---
# 安装ScaLAPACK

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令解压ScaLAPACK安装包。

```
tar -xvf scalapack-2.0.2.tgz
```


3. 执行以下命令进入解压后的目录。

```
cd scalapack-2.0.2
```


4. 执行以下命令生成“SLmake.inc”文件，然后编译安装。

```
cp SLmake.inc.example SLmake.inc
make
```


5. 执行以下命令将生成的链接库拷贝到安装目录。

```
cp libscalapack.a
/path/to/SCALAPACK
```
