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

How to activate prescribed modal aerosol in cam5

Hi All,I am trying to run CAM in single column model mode with prescribed modal aerosol. I used $CAM_ROOT/models/atm/cam/bld/configure -s -chem none -nlev $levarr -dyn eul -res 64x128 -nospmd -nosmp -cppdefs -DDISABLE_TIMERS -scam -usr_src $SCAM_MODS -fc $USER_FC $DBUG -ldflagsand I am getting the following errorPGF90-F-0004-Unable to open MODULE file modal_aero_data.mod (/p/lscratche/lebassi/modes/doe_polar-cesm1.2/models/atm/cam/src/chemistry/bulk_aero/wetdep.F90: 168)line 168 in wetdep.F90 is  use modal_aero_data, only: HD_mods !BSINGH - For HD_modshowever the modal_aero_data.mod is not created in the bld dirAny help on this is apreciated.Regards,Bereket
 

jedwards

CSEG and Liaisons
Staff member
You'll need to look in the build log to determine whether there is an error building modal_aero_data.F90 or if the dependance is missing and it's trying to build wetdep first.   If it is just a dependancy issue you can add it by hand with the following line in the Depends file:wetdep.o: modal_aero_data.o    
 
Top