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

Issue with chemistry preprocessor

Paul F

Paul Farron
New Member
Hi all,

I am currently trying to add a new tracer to CAM-Chem in CESM2.1.5. My first step to do so is to copy the chem_mech.in file from pp_trop_mam4_vbs elsewhere and modify it to add the new aerosol.

However, when doing so I encounter the following error:

ERROR: Command: '/cluster/pfarron/cesm215/components/cam/bld/configure -s -fc_type gnu -ccsm_seq -dyn fv -hgrid 0.9x1.25 -usr_src /cluster/pfarron/cesm215/cime/scripts/new_tracer_test_215/SourceMods/src.cam -spmd -nosmp -ocn docn -phys cam6 -chem trop_strat_mam4_vbs -age_of_air_trcs -usr_mech_infile /cluster/pfarron/New_tracer/chem_mech_cesm215.in' failed with error 'b'*** Chem preprocessor FAILED.

I am confused as to what are the next steps I should take to solve this issue as the error does not tell much.

Does anyone have an idea of how to solve this ?

Thanks in advance for your help,

Best,
Paul
 

Danny Leung

New Member
Hi Paul-
Did you reset the setup and rebuild the case? Did this error occur when you rebuild the case?
Could you upload your error file and your edited chem_mech.in? I can take a look and see if I find anything.
Danny
 

Paul F

Paul Farron
New Member
Hi Danny,

Thanks again for the help !

The error occurs when rebuilding the case. I did reset and rebuild the case with:
./case.setup --reset
./case.build --clean-all
./case.build

Even with the base "chem_mech.in" it does not work.

Please find attached my log file.

Best,
Paul
 

Attachments

  • log_file.txt
    14.3 KB · Views: 1

Danny Leung

New Member
Hi Paul-
Hmm, if even the original chem_mech.in doesn't work, then maybe the error is not related to your implementation of new tracers. Maybe you can try creating a new case directory that works and then change the CAM_CONFIG_OPTS there before rebuilding.
But I suspect if that's the issues... because it did say there is a chem preprocessor error. I do think it's something wrong inside the modified chem_mech.in. Could you send me the original chem_mech.in and the modified chem_mech.in? I can see if I spot anything obvious from there.
It might also be helpful for you to see if there is any useful information in the following fiile...
/cluster/work/climate/pfarron/cesm215/cime/scripts/new_tracer_test_215/Buildconf/camconf/chem_proc/chem_mech.doc
Danny
 
Top