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

error while installing wrf after editing the source code (module_first_rk_step_part1.F, module_sf_noahdrv.F, module_

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
I have some doubts in compiling the WRF and WPS after the source code change. The method I followed to implement in WRF (3.5 , 3.9 & 4.0) is that, first updated the source code of corresponding files (module_first_rk_step_part1.F, module_sf_noahdrv.F, module_surface_driver.F & Registry.EM_COMMON) in different WRF version and run the compilation. It seems the compilation of WRF is not successful. When I change the code and run compilation, it is not creating the wrf.exe or real.exe files.

please find the attached file for details...
The error you are getting in an internal compiler error. This is possibly a problem related to the version of GNU compiler you are using. Take a look at the first item listed on this 'known problems' page (

This is for V4.0 of the code, but it's likely that it was also a problem with V3.9.1.1. See if the suggested fix corrects that problem for you. If you are no longer getting the internal compiler error after this, then that was the problem. If you still unable to compile, please attach your new compile log, your configure.wrf file, and your modified code files.