常见的WRF运行错误

2023-11-06

转载至:https://wk-atmchem.github.io/2021/06/03/WRFbugandSolutions/

[WPS Errors: Ungrib.exe Segmentation Fault]

  'Parsed 29 entries in GEOGRID.TBL'
  'Processing domain 1 of 1'
  'ERROR: Could not open home/maria/Desktop/Build_WRF/WPS_GEOG/topo_gmted2010_30s/index'
  'application called MPI_Abort(MPI_COMM_WORLD, 22098) - process 0'

解决方案:
I was missing a / at the beginning of the geog_data_path.
It worked as follows with the / at the beginning and the end of the path:
geog_data_path = ‘/home/maria/Desktop/Build_WRF/WPS_GEOG/’

[WPS Errors: Ungrib.exe Segmentation Fault]

When running Ungrib.exe crashes at the ungribbing process at the end date, giving error message: “Segmentation fault …”
Causes:
Probably, it has something with computer memory, because when I set ulimit to unlimited, the problem was solved. 解决方案:
ulimit -s unlimited

[WPS Errors: Metgrid.exe error in ext_pkg_write_field]

Symptoms: Metgrid.exe crashes at the beginning of the process with messages: ‘ERROR: Error in ext_pkg_write_field’.
Causes:
This will happen when new NCEP GFS data (Version 15.1 or higher) was process using old version of ungrib.exe (< Ver. 4).
解决方案:
Install Ungrib from WPS Ver.4. (the old geogrid/metgrid still could be used).

[WRF Errors: WARNING: Field XXX has missing values]

When running metgrid.exe, I encountered the following error:

  'WARNING: Field PRES has missing values at level 200100 at (i,j)=(1,1)'
  'WARNING: Field PRES has missing values at level 200100 at (i,j)=(1,1)'
  'WARNING: Field PRESSURE has missing values at level 200100 at (i,j)=(1,1)'
  'WARNING: Field PMSL has missing values at level 200100 at (i,j)=(1,1)'
  'WARNING: Field PSFC has missing values at level 200100 at (i,j)=(1,1)'
  'WARNING: Field SOILHGT has missing values at level 200100 at (i,j)=(1,1)'
  'ERROR: Missing values encountered in interpolated fields. Stopping.'

The solution was so easy. In short, please check that your ungribbed data domain includes the domain which you are trying to extract with metgrid.
The error occurs when the intermediate files prepared by ungrib.exe (and, potentially, calc_ecmwf_p.exe) do not cover the full domain as defined in namelist.wps.
This can happen, e.g., if the meteorological fields are not global. In my case, I had downloaded ECMWF data for central Europe only, and then later extended the model domain a bit. Once I re-downloaded the meteorological data, everything went smoothly.
解决方案:
下载的再分析资料小于模型模拟设置的domain,下载更大范围的再分析资料即可.

[WRF Errors: could not find trapping x locations]

When running real.exe, I encountered the following error:

  'troubles, could not find trapping x locations'

Apparently, the x in the error message could not find trapping x locations is referring to general x values in the interpolation subroutine lagrange_setup (so x is not related to longitude!). Looking for sfcprs3 in the source code file, one can find ‘Computes the surface pressure by vertically interpolating’ ‘linearly (or log) in z the pressure, to the targeted topography.’
The solution was to download all 137 model levels by using LEVELIST=1/to/137 in the MARS request. When doing that, the lnsp is indeed contained in the model level Grib files.
解决方案:
这个报错是由于缺失垂直层数据导致的,下载ERA5再分析资料的所有垂直层的资料即可.

[WRF Errors: Mismatch Landmask ivgtyp]

When running real.exe, there might be an error named:

   '-------------- FATAL CALLED ---------------'
   'FATAL CALLED FROM FILE: LINE: 2963'
   'mismatch_landmask_ivgtyp'
   '-------------------------------------------'

解决方案:
Change the value of ‘surface_input_source’ on &physics parameter of namelist.input from ‘3’ to ‘1’
在namelist的&physics部分加上一句surface_input_source = 1, 即可解决

[WRF Errors: WRF Simulation Sudden Death]

Symptoms:
Model crashed. Real.exe and Wrf.exe are abruptly stopped, without any error messages in log files. It just stop.
Causes:
I hate this error because it might caused by many factors, but mostly because of the conflicts within the model configuration. For example, I was using WSM-3 MP parameterization schemes, with RRTM schemes for LW and SW, with domain over high latitude and complex terrain, 10 km resolution, using several computation nodes, then many strange things happened: the model crashed many times, could only stable while running on single node, etc.
On several cases, it’s also caused by too large time-step similar with CFL error.
Sometimes, it also occurs if the domain is too large, in particular when grid size < 10 km with complex terrain.
解决方案:
1.Change the model configuration. For my case, I used Lin MP scheme with new RRTM schemes, and the error was gone.
2.Reduce the time-step in the factor of 2 (half of time-step first, if still not works, try 0.25 of the original time-step, and so on).
3.Reduce the domain size.

[WRF Errors: WRF Simulation Sudden Death]

Symptoms: WRF generates messages such as : “x points exceeded cfl=x in domain d0x at time …”
Simulation speed degrades or simulation completely stops.
Causes:
Model becomes unstable, mostly because the time-step used is too large for stable solution, especially while using high-res simulation grids.
Conflicts among model physics/dynamics/domains configuration.
解决方案:
Decrease the time-step (namelist.input > &domain > time_step). The most common used convention is 6*DX in kilometers. That means, if the grid resolution is 10 km, then use at least 60 seconds time step. If the messages still appear, decrease the time step to 30 or 10 seconds.
Check the parameterization/configuration used in namelist.input which could potentially cause conflicts or model crash. I usually discard some parameterization schemes, and check them individually to see if I they are the causes of the crash.

[CMAQ compile Errors: GOMP critical name]

   '-------------------------------------------'
   'libioapi.a(init3.o): In function `init3_':'
   'init3.F:(.text+0x1cd): undefined reference to `GOMP_critical_name_start'
   'init3.F:(.text+0x203): undefined reference to `GOMP_critical_name_end''
   '-------------------------------------------'

解决方案:
报错原因是没有链接gomp的库 如果用的是gfortran 那么在Makefile里面加上-fopenmp
如果是Intel ifort 16及以后版本 那么在Makefile里面加上-qopenmp

https://forum.mmm.ucar.edu/phpBB3/viewtopic.php?f=40&p=21415

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

常见的WRF运行错误 的相关文章

  • maven报错‘has elapsed or updates are forced“

    使用 U强制更新参数运行maven命令
  • 少儿机器人编程有什么用

    少儿机器人编程有什么用 小孩的学习一直以来都是家长们非常关心和重视的一件事情 很多的家长在培养孩子的学习方面也可以说是相当的耐心的 会给孩子选择一些能更有利于孩子成长的课程 就拿现在很多的家长想要孩子去学习机器人编程的课程来说 有的家长对于

随机推荐

  • 解决Enter passphrase for key

    两种解决方案 提示 Permissions 0644 for ssh id rsa pub are too open 解决方法 使用chmod 0600 ssh id rsa pub更改将公钥权限改成 600 提示 Enter passph
  • Java中的静态变量&静态方法

    静态变量 静态方法 静态变量又叫做类变量 静态方法又被称为类方法 均被static修饰 未被static修饰的成员变量和方法分别被称为实例变量和实例方法 1 静态方法中不需要它所属类的任何实例就可以访问 所以在静态方法中不可以使用this关
  • Swift语法学习--运算符与流程控制

    文章目录 运算符 循环 条件 预处理器指令 运算符 普通的运算符加减乘除 与或非 三元运算我觉得没必要再赘述了 就记录一下我不熟悉的 循环 条件 预处理器指令
  • SQL Server 数据库中添加文件组和数据文件

    SQL Server 现有数据库中添加文件组和数据文件 use CURRENT DB 进入当前操作数据库 go alter database CURRENT DB add filegroup FG1 向CURRENT DB 数据库添加FG1
  • idea安装插件plugin(主要针对网络连接不上的情况)

    STEP1 ctrl alt s 打开settings STEP2 在输入框键入 Plugins STEP3 输入你想要的插件名称 我这边输入的是nodejs 因为最近在学 我这边是安装过的 所以这样显示 STEP4 点开中下方的前两个按钮
  • 在windows下编译glib库

    glib库是跨平台的C语言函数库 是Gtk 库和Gnome的基础 glib可以在多个平台下使用 比如Linux Unix Windows等 glib为许多标准的 常用的C语言结构提供了相应的替代物 先从官网下载下载 https downlo
  • Linux网络通信总结

    网络IO之阻塞 非阻塞 同步 异步 单播 多播 组播 广播 多路复用POLL SELECT epoll 超时 read write accept connect 超时 实现 1 用select来设置超时机制 2 使用setsockopt 函
  • React 子向父级组件通信时,state为旧的数据

    问题描述 当嵌套太深的子组件触发更新父组件时 父组件获取到的state map传入子组件 是旧的 问题场景 初始子组件仅为1个Input输入框 新增后有2个Input输入框 此时触发222输入框的修改 通知上级组件保存修改的内容时 父组件存
  • 数据结构—单链表C语言刷题2

    目录 1 链表分割 2 链表的回文结构 3 相交链表 4 环形链表 5 环形链表II 1 链表分割 题目链接 链表分割 题目描述 现有一链表的头指针 ListNode pHead 给一定值x 编写一段代码将所有小于x的结点排在其余结点之前
  • Debug下出现debug assertion failed

    出现debug assertion failed界面后点击重试跳到这句ASSERT m hObject NULL 采用注释查找错误的方式定位至 if CFrameWnd OnCreate lpCreateStruct 1 return 1
  • 获取referer中的请求参数_Http请求头中的referer

    Referer是 HTTP请求header 的一部分 当浏览器 或者模拟浏览器行为 向web 服务器发送请求的时候 头信息里有包含 Referer 比如我在www google com 里有一个www baidu com 链接 那么点击这个
  • 在Linux内核中添加自己的驱动程序

    就说一下怎么添加进去吧 首先你要把驱动程序写好 我已添加 首先在drivers目录下面创建GPIO文件夹 文件夹下面创建三个文件 分别是 gpio c Kconfig Makefile 三个文件 gpio c是你的驱动程序 Kconfig是
  • Spring复习笔记

    1 Spring 1 1 简介 优点 Spring是一个轻量级控制反转 IoC 和面向切面 AOP 的容器 轻量级 低侵入 松耦合 框架粘合剂 更容易整合其他框架 支持事务处理 官网 https spring io projects spr
  • 不怕死就上这些网站

    1 hxxp www dj3344 com 打开后 重启时你的主页就变成它的 并通过QQ向他人传播 现在正飙行 奇坏无比 2 hxxp www qq168 net 打开后 重启时你的主页就变成它的 并通过QQ向他人传播 而且传波病毒 还狠些
  • 我的GIT练习Four

    目录 前言 GIT安装教程 Git作者 GIT优点 GIT缺点 为什么要使用 Git GIT练习Four C1 初始化项目 C2 设计项目首页 C3 设计登录页面 C4 实现登录功能 C5 设计后台页面 C6 设计注册页面 C7 实现注册功
  • 拼搏百天!上月喜获阿里内推,交叉面把面试官面傻眼了

    阿里内推一面 项目 1 面试官让我描述一个自己印象最深的项目 手画设计图 2 针对项目中的技术进行发问 比如 架构设计 部署图 模块之间的通信等 3 因为我描述项目存储数据比较多 让我重新设计数据库的表 怎么设计 后面都是针对项目技术的问题
  • iOS 蓝牙扫描枪扫描内容不正确

    背景 在移动设备上 使用蓝牙扫描枪 相当于接入了一下外接键盘 我们的客户使用我们的App 并连接蓝牙扫码枪 将扫描的内容传输到我们的App中 App再做出对应的响应 举个例子 较为常见的应用场景就是 拣货员拿着扫码枪 扫描产品上的UPC码
  • HttpClient的ssl方式发送请求

    最近因为项目需要 需要以rest方式和第三方平台交互 由于需要ssl方式连接 所以记录一下 maven依赖如下
  • openssl做HMAC实例(C++)

    1 HMAC简介 1 MAC Message Authentication Code 消息认证码算法 可以将其认为是含有秘钥的散列 Hash 函数算法 即兼容了MD和SHA算法 并在此基础上加上了秘钥 因此MAC算法也经常被称作HMAC算法
  • 常见的WRF运行错误

    转载至 https wk atmchem github io 2021 06 03 WRFbugandSolutions WPS Errors Ungrib exe Segmentation Fault Parsed 29 entries