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

where can I add CPPDEF ?

Is there a place in the setup directory after the case is created where I can add to

CPPDEFS

I am trying to avoid having to modify config_compsets.xml, adding a compset, specifying

CAM_CONFIG_OPTS

etc etc?

Thank you
Daniele
 

santos

Member
To add to CPPDEFS for the whole build, you can edit the Macros file in your case directory. For adding to a specific component, such as CAM, using CAM_CONFIG_OPTS is actually not a bad option.
 
Hi Sean Patrick,Thanks. Did you mean changing CAM_CONFIG_OPTS in less Tools/config_compsets.xml or anywhere else after the case is created or chaning it before you create the case? 
 

santos

Member
CAM_CONFIG_OPTS can be set in your case directory, in env_build.xml (for CESM 1.0, it was in env_conf.xml). You shouldn't have to change anything in config_compsets. 
 
Top