---
title: 运行验证
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengswan_02_0011.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengswan_02_0011.html
indexId: f90c0eb38fb49690e0203bafc9d13534e9a5882b6b0323aa5c011670275d014066
---
# 运行验证

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令创建算例目录并将算例上传到该目录。

```
mkdir -p
/path/to/
SWAN
/swan-testcse
cd
/path/to/
SWAN
/swan-testcse
tar -zxvf refrac.tar.gz
```


3. 执行以下命令进入该目录并创建一个软连接。

```
cd
refract
ln -s
/path/to/SWAN
/swan4131/swan.exe ./
```


4. 执行以下命令运行算例。

```
cp a11refr.swn INPUT
time mpirun --allow-run-as-root -np 40 ./swan.exe
```


  输出的CPU运行时间结果样例如图1所示。 图1 结果样例
