ccpp-physics
ccpp-physics copied to clipboard
Type mismatch when compile
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.
- Machine: Mac
- Compiler: ifort version 2021.9.0
- Suite Definition File or Scheme: FV3_GFS_v17_p8_rrtmgp
- Reference other issues or PRs in other repositories that this is related to, and how they are related: No.