Hello,
I'm trying to run a simple pre-industrial control test case with CESM1.2.2 and CAM5 with COSP enabled but I'm running into an error at the build step. For reference, I have no problems running B-compsets with CAM4 and COSP on my machine, this build error only arises when I use CAM5:
I assume this has to do with an issue somewhere in cloud_diagnostics.F90 specifically when using RRTMG with CAM5, but I'm not entirely sure. I've attached the file for reference.
Any help would be appreciated, thanks!
Jack
I'm trying to run a simple pre-industrial control test case with CESM1.2.2 and CAM5 with COSP enabled but I'm running into an error at the build step. For reference, I have no problems running B-compsets with CAM4 and COSP on my machine, this build error only arises when I use CAM5:
/gpfs/fs1/home/c/cgf/jgvirgin/cesm1_2_2/models/atm/cam/src/physics/cam/cloud_diagnostics.F90(186): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [RADIATION]
use radiation, only: radiation_do
--------^
/gpfs/fs1/home/c/cgf/jgvirgin/cesm1_2_2/models/atm/cam/src/physics/cam/cloud_diagnostics.F90(246): error #6404: This name does not have a type, and must have an explicit type. [RADIATION_DO]
dosw = radiation_do('sw') ! do shortwave heating calc this timestep?
------------------^
/gpfs/fs1/home/c/cgf/jgvirgin/cesm1_2_2/models/atm/cam/src/physics/cam/cloud_diagnostics.F90(186): error #6580: Name in only-list does not exist or is not accessible. [RADIATION_DO]
use radiation, only: radiation_do
-----------------------------^
compilation aborted for /gpfs/fs1/home/c/cgf/jgvirgin/cesm1_2_2/models/atm/cam/src/physics/cam/cloud_diagnostics.F90 (code 1)
gmake: *** [cloud_diagnostics.o] Error 1
gmake: *** Waiting for unfinished jobs....
ar cr libcosp.a cosp_radar.o cosp_types.o cosp_constants.o cosp_simulator.o cosp_utils.o scops.o prec_scops.o cosp.o cosp_stats.o pf_to_mr.o cosp_lidar.o radar_simulator_types.o zeff.o array_lib.o atmos_lib.o dsd.o format_input.o gases.o load_hydrometeor_classes.o math_lib.o mrgrnk.o optics_lib.o radar_simulator.o lidar_simulator.o llnl_stats.o lmd_ipsl_stats.o cosp_isccp_simulator.o icarus.o cosp_misr_simulator.o MISR_simulator.o cosp_modis_simulator.o modis_simulator.o
gmake[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/jgvirgin/cesm1_2_2/runs/b.e12.B1850C5.f19_g16.JGV.1/bld/atm/obj/cosp'
I assume this has to do with an issue somewhere in cloud_diagnostics.F90 specifically when using RRTMG with CAM5, but I'm not entirely sure. I've attached the file for reference.
Any help would be appreciated, thanks!
Jack