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

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令解压算例文件。

```
cd
/path/to/CASE
tar -xvf v7.10.specific.inputs.210105.tgz
tar -xvf CAMx7-10-test_run-inputs_met-201215.tgz
tar -xvf CAMx7-10-test_run-inputs_emiss-210105.tgz
tar -xvf CAMx7-10-test_run-inputs_other-201215.tgz
```


3. 执行以下命令进入测试目录。

```
cd runfiles
```


4. 执行以下命令修改测试脚本。

  a. 打开测试脚本。

```
vi CAMx_v7.10.36.12.20160610-11.MPICH3.job
```


  b. 按“i”进入编辑模式，修改如下内容。

```
set EXEC = "/path/to/CAMX/src.v7.10/CAMx.v7.10.MPICH3.NCF4.gfortran"
cat << ieof > nodes
172.35.153.48
set NUMPROCS = 8
if( ! { mpirun --allow-run-as-root -machinefile nodes -np $NUMPROCS $EXEC } ) then
```


  c. 按“Esc”键，输入:wq!，按“Enter”保存并退出编辑。
5. 执行以下命令运行测试。

```
./CAMx_v7.10.36.12.20160610-11.MPICH3.job
```


  输出的结果样例如图所示，说明程序正常运行结束。
