我要评分文档获取效率文档正确性内容完整性文档易理解0/200提交在线提单论坛求助 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%以上。 测试结果 - 备注 - 父主题: Hyper IO库开发指南