# wrf **Repository Path**: AmonCode/wrf ## Basic Information - **Project Name**: wrf - **Description**: Weather Research and Forecasting Model - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-08-02 - **Last Updated**: 2023-01-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wrf #### 介绍 基于openEuler系统的WRF(Weather Research and Forecasting Model) 迁移解决方案 #### 软件架构 | 项目 | 版本 | | :------: | :-------------------------------: | | 操作系统 | openEuler 20.03 LTS SP3 (aarch64) | | 内核 | 4.19.90 | | MPI库 | Hyper MPI 1.1.1 | | 编译器 | Bisheng Compiler 2.1.0 | | HPC应用 | WRF 4.2 | #### 安装教程 1. 登录到openEuler 20.03SP3机器 2. 获取wrf安装构建脚本,并执行 + 若本机访问github不受限, 执行如下命令 ```shell bash git clone https://gitee.com/src-oepkgs/wrf.git cd wrf bash build.sh ``` * 若本机访问github受限, 执行如下命令(以wget为例,也可选择其他下载方式) ```shell bash # --contine 继续获取部分下载的文件(断点续传),简写为 -c # --tries=NUMBER 将尝试次数设置为NUMBER.指定0或'inf'用于无限重试.默认是重试 20 次,但"connection refused"或"not found"(404)等致命错误不会重试, 简写为 -t # --output-documrnt=FILE 将下载的文件写入FILE,简写为 -O wget --continue --tries=10 --output-document=wrf-4.2.zip --verbose \ https://gitee.com/src-oepkgs/wrf/repository/archive/master.zip unzip wrf-4.2.zip mv wrf-master wrf-4.2 bash ./wrf-4.2/build.sh ``` ```tex 注:wget相关参数信息可查看官方文档 https://www.gnu.org/software/wget/manual/wget.html#Invoking ``` 3. 待命令执行完成后,在当前目录查看pkg文件夹内容,包含wrf-4.2-hpc及wrf-4.2-hpc.tar.gz #### 使用说明 1. 解压wrf-4.2-hpc.tar.gz文件 ```shell tar -zxvf wrf-4.2-hpc.tar.gz ``` 2. 配置wrf环境变量 ```shell source run.sh ``` 3. 使用wrf相关命令 #### 参与贡献 1. Fork 本仓库 2. 提交代码 3. 新建Pull Request 4. 等待committer合入 #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)