---
title: 编译和安装
description: 1. 使用PuTTY工具，以root用户登录服务器。
url: "https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kylin_kunpeng_memp_103_02_0006.html"
---

# 编译和安装

#### 操作步骤

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

```
tar -xvf memP-1.0.3.tar.gz
```


3. 执行以下命令进入源码目录。

```
cd memP-1.0.3/
```


4. 执行以下命令进行编译安装。

```
./configure --build=aarch64-unknown-linux-gnu --prefix=
/path/to/memP
CC=mpicc CXX=mpicxx F77=mpifort
make
make install
make test
```


5. 执行以下命令查看.exe文件。

```
cd testing/
ls
```
