In addition, I am curious how the output of CHEMMECH be used in CCTM runs. I looked through the script “run_cctm.csh” (EPA’s open source code: https://github.com/USEPA/CMAQ/blob/5.2.1/CCTM/scripts/run_cctm.csh). It seems that only species lists (GC_$MECH.nml, AE_$MECH.nml, NR_$MECH.nml) and photolysis (CSQY_DATA_$MECH) are included in the script, while the output of CHEMMECH (RXNS_DATA_MODULE.F90 and RXN_FUNC_MODULE.F90) are not included.
Does CCTM actually include the chemical mechanism or only considering photolysis?
CHEMMECH is a utility that creates RXNS*F90 files (if you want to update the mechanism) which must be compiled in the executable. The default versions reside in the CMAQ/CCTM/src/MECHS folder.
If you want to change a mechanism, you should:
Modify the mech*.def and GC/AE/NR*.nml as appropriate for your update. mech*.def is not actually used in creating the executable, but is an intermediate file from which information is extracted for fortran code.
Run CHEMMECH to translate the mech*.def information into the two RXNS*.F90 files
If you want to run the ebi solver within CMAQ, propagate the RXNS*.F90 information to hr*.F files (which normally reside in CMAQ/CCTM/src/gas/ebi*) via create_ebi
The pgf90 compiler appears not have executable permissions. Talk to your system administrator about fixing the problem. You can also try a different compiler listed in the build script.
Thank you for help!!
Chemmech was successfully run. While, when I was trying to use the chemmech output to run create_ebi, it keeps showing
ifort -fixed -132 -O3 -override-limits -fno-alias -mp1 -I. -g -CB -CU -traceback -c /scratch/brown/fang63/cmaq/CMAQ-5.2.1/UTIL/create_ebi/src_RXNSU/module_envvar.F
ifort: command line remark #10411: option ‘-override-limits’ is deprecated and will be removed in a future release. Please use the replacement option ‘-qoverride-limits’ create_ebi.txt (12.6 KB)
I also attach the running log here.
any idea about it?
Compiler remark #10411 is a just warning that a used option no longer exists. The warning gives a solution but the over-limits option is not needed. You can remove the option by editing Makefile.v50xx in the UTIL/create_ebi
directory.
Based on the sent log file, the error occur because create_ebi was compiled using a racm2 mechanism but was run with settings for a cb6 mechanism. Read the run script for the correct setting. The build and run scripts
should be merged to prevent the error. They were merged in create_ebi versions 5.2beta and earlier.