Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Macro –DCLWRFGHG added to configure.wrf, then wrf fails to compile

yuan

New member
Hello. I try to use the time-varying GHG and find relevant posts in the forums (Figure 1) , then i operate according to the method described, but WRF fails to compile (Figure 2 :the first error presents) . configure.wrf is shown in Figure 3.
I would be thankful if you could help.

Figure 1
fig 1



Figure 2
1719827465280.png


Figure 3

1719827955556.png
 
The reason for wrf compilation failure is that DCLWRFGHG was added in the wrong position. The correct method for adding is shown in the figure.
1719994411505.png
 
Hi,
Does this mean you have overcome the problem now? If you're using WRF version 4.4 or later, this configuration is no longer necessary, and this is simply controlled with a namelist option "ghg_input=1" in the &physics record. See the Radiation section of the WRF Users' Guide (scroll down to the section "Input to Radiation Options."
 
Hi,
Does this mean you have overcome the problem now? If you're using WRF version 4.4 or later, this configuration is no longer necessary, and this is simply controlled with a namelist option "ghg_input=1" in the &physics record. See the Radiation section of the WRF Users' Guide (scroll down to the section "Input to Radiation Options."
Yes, i have overcome the problem. How can I confirm if external data has been correctly read? Thanks.
 
Yes, i have overcome the problem. How can I confirm if external data has been correctly read? Thanks.
I'm happy to hear you were able to overcome the issue. Since your new question isn't related to compiling, please start a new thread to ask the question, if you're still experiencing the problem. Thanks!
 
Top