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.
solve_em.f90(4590): error #6460: This is not a field name that is defined in the encompassing structure. [EFFC]
& ,EFFC=grid%EFFC)
------------------------------^
solve_em.f90(4385): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic. [EFFC]
CALL microphysics_driver( &
----------^
compilation aborted for solve_em.f90 (code 1)
Ming Chen said:EFFC shouldn't be a scalar variable. You need to understand the physical meaning of EFFC and how it works in the code. More important, you also need to understand how Registry works. For example, what does the code do with the definition of "ikjftb" for a state variable, and what variable should be scalar variable and what shouldn't.
As a first try, please change the definition in Registry as:
state real EFFC ikj misc 1 - h "EFFC" "EFFC physics meaning" "EFFC unit"
Then type ./clean -a and recompile. I notice you made some other changes in Registry, too. Please make sure these changes follow the rules of WRF.