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

WRF 4.3 Compilation Error - Registry Processing Failure

water

New member
Hi,
I'm adding microphysics source/sink terms to WRF output by modifying:

  1. Registry/Registry.EM_COMMON - Added variables (EPRDO, EPRDGO, etc.)
  2. phys/module_mp_morr_two_moment.F - Calculated variables in microphysics scheme
  3. phys/module_microphysics_driver.F - Passed variables through driver
  4. dyn_em/solve_em.F - Added to microphysics_driver call
I have successfully made the same modifications in WRF 4.5, but due to project requirements, I must use WRF 4.3. Compilation fails with registry processing errors.

module_comm_dm_4.G:31:2: fatal error: REGISTRY_COMM_DM_PERIOD_subs.inc: No such file or directory
module_comm_dm_4.f90(26): error #5082: Syntax error, found END-OF-FILE

The vars added to the registry is as follows:
state real EPRDO ikj dyn_em - - h "EPRDO" "Sublimation of cloud ice" "kg kg-1"
state real EPRDGO ikj dyn_em - - h "EPRDGO" "Sublimation of graupel" "kg kg-1"
state real EPRDSO ikj dyn_em - - h "EPRDSO" "Sublimation of snow" "kg kg-1"
state real PRDO ikj dyn_em - - h "PRDO" "Deposition of cloud ice" "kg kg-1"
state real PRDGO ikj dyn_em - - h "PRDGO" "Deposition of graupel" "kg kg-1"
state real PRDSO ikj dyn_em - - h "PRDSO" "Deposition of snow" "kg kg-1"
 

Attachments

  • Registry.EM_COMMON.txt
    419.3 KB · Views: 0
  • compile.log
    1,007.3 KB · Views: 0
Top