NCAR / ccpp-physics

GFS physics for CCPP
Other
56 stars 145 forks source link

Type mismatch when compile #1011

Open dongli opened 1 year ago

dongli commented 1 year ago

Description

Face type mismatch compilation error as following:

ccpp/physics/physics/surface_perturbation.F90(51): error #6633: The type of the actual argument differs from the type of the dummy argument.   [0.5]
          call cdfgam(x,0.5,del,iflag, cdfx)
------------------------^

It seems that 0.5 should be 0.5_kind_phys?

Steps to Reproduce

Add CCPP codes in a host model, and build.

Additional Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Output