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

How to find a subroutine is belonged to which module?


I am quite confused how to know a subroutine belongs to which module. For example, in dir /WRF/dyn_em/solve_em, there is a subroutine called SUBROUTINE solve_em, but how can I know this subroutine belongs to which module? thank you for any explanation.
Probably you can try the command (suppose you at at top WRF directory)
grep -iw "subroutine name" */*.F

Most of the physics and dynamics subroutines are located at dyn_em and phys