---
title: Hyper IO测试
description: "| 测试目的 | 使用Hyper IO加速应用软件性能测试 |"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpckit/devg/userg_hyperio_0136.html
sourcePath: /source/zh/kunpenghpcs/hpckit/devg/userg_hyperio_0136.html
indexId: 8bd7f1ccaba574c6fac2a3f8ace77aa31f3413110711e75bb3df5b6ca21eba2858
---
# Hyper IO测试

| 测试目的 | 使用Hyper IO加速应用软件性能测试 |
| --- | --- |
| 用例编号 | HyperIO\_WRF\_1 |
| 预置条件 | 8台Kunpeng 920服务器，共享存储挂载正常，ROCE网络通信正常。 OS版本为OpenEuler22.03，已部署并健康运行。 编译器使用系统默认版本。 Hyper MPI版本为1.3.1，已部署并正确加载Hyper MPI环境变量。 应用软件WRF版本为4.2.2，应用算例准备完成。 Hyper IO已解压部署。 用户已登录服务器控制终端。 |
| 操作步骤 | 获取算例文件： mkdir \-p /path/to/WRFTEST cd /path/to/WRFTEST wget https://www2.mmm.ucar.edu/WG2bench/conus\_2.5\_v3/1\-RST/RST/ \-r \-c \-np \-nH \-\-cut\-dirs 2 \-\-restrict\-file\-names=nocontrol \-e robots=off \-\-reject "index.html\*" wget https://www2.mmm.ucar.edu/WG2bench/conus\_2.5\_v3/wrfbdy\_d01.gz \-r \-c \-np \-nH \-\-cut\-dirs 2 \-\-restrict\-file\-names=nocontrol \-e robots=off \-\-reject "index.html\*" wget https://www2.mmm.ucar.edu/WG2bench/conus\_2.5\_v3/1\-RST/namelist.input \-r \-c \-np \-nH \-\-cut\-dirs 2 \-\-restrict\-file\-names=nocontrol \-e robots=off \-\-reject "index.html\*" 生成算例： cat rst\_6hr\* \| gunzip \-c > wrfrst\_d01\_2005\-06\-04\_06\_00\_00 拷贝WRF\-4.2.2/run/\*到目录“/path/to/WRFTEST”下： cp /path/to/WRF/WRF\-4.2.2/run/\* ./ rm \-rf wrf.exe ln \-s /path/to/WRF/WRF\-4.2.2/main/wrf.exe wrf.exe 解压“wrfbdy\_d01”文件： gunzip wrfbdy\_d01.gz 修改namelist.input文件。 运行WRF程序，记录运行时间： time mpirun \-\-allow\-run\-as\-root \-N 8 \-np 640 \-x PATH \-x LD\_LIBRARY\_PATH \-\-hostfile hf4 OMP\_NUM\_THREADS=1 /path/to/WRFTEST/wrf.exe 使用Hyper IO运行WRF程序，记录运行时间： time mpirun \-\-allow\-run\-as\-root \-N 8 \-np 640 \-x PATH \-x LD\_LIBRARY\_PATH \-x LD\_PRELOAD=/path/to/IO\_Middleware\_version\_aarch64/lib/libock\_shore\_pnetcdf.so \-x OCK\_IO\_CONFIG=/path/to/wrf.json \-\-hostfile hf4 OMP\_NUM\_THREADS=1 /path/to/WRFTEST/wrf.exe 对比6和7应用运行的时长。 |
| 预期输出 | WRF应用运行时长提升10%以上。 |
| 测试结果 | \- |
| 备注 | \- |
