I'm trying to output a variable (prc_coef) used in this code: E3SM/components/eam/src/physics/cam/micro_mg_utils.F90
I want to write(iulog,*) prc_coef so that the values of this variable can be checked in the log file. However, it seems impossible to add this new line into elemental subroutine kk2000_liq_autoconversion where it is calculated.
I have already added use cam_logfile, only: iulog at the beginning of micro_mg_utils.F90. But this will result in an error when building the model. Anyone have any ideas on this issue? Thank you.
I want to write(iulog,*) prc_coef so that the values of this variable can be checked in the log file. However, it seems impossible to add this new line into elemental subroutine kk2000_liq_autoconversion where it is calculated.
I have already added use cam_logfile, only: iulog at the beginning of micro_mg_utils.F90. But this will result in an error when building the model. Anyone have any ideas on this issue? Thank you.