Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Build Issue with CAM5 and COSP

jgvirgin@uwaterloo_ca

Jack Virgin
New Member
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:

/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
 

Attachments

  • srccam_cloud.zip
    16.2 KB · Views: 2
Top