DDM Jacobian files for other chemical mechanisms

Dear CMAQ users,

I’m trying to set up CMAQv5.2 DDM with SAPRC07 mechanism. I found that only cb6r3 has a Jacobian code for DDM compile (jac_cb6r3_ae6nvPOA_aq.F). Could you let me know how to generate the “jac” files for saprc07tc_ae6nvPOA_aq?

Thank you for your time.

That jacobian, saprc07tc_ae6nvPOA_aq, should be the same as the one in the volatile directory (jac_saprc07tc_ae6_aq.F). Please, try to pull it out of there and see it works. If you can’t get to work, post here again, and I can help you with it further. Here is the path where you can find it:

CCTM/src/gas/ebi_saprc07tc_ae6_aq/jac_saprc07tc_ae6_aq.F

Hello,I found jac_cb05tucl_ae6_aq.F was not imperfect when I compile CMAQv5.2_DDM-3D with cb05tucl_ae6_aq mechanism.

jac_cb05tucl_ae6_aq.F(2021): error #6351: The number of subscripts is incorrect. [C]
PD( CLNO2 ,H2NO3PIJ ) = RK( 212 ) * C( )
--------------------------------------------------------^
jac_cb05tucl_ae6_aq.F(2022): error #6351: The number of subscripts is incorrect. [C]
& + RK( 213 ) * C( )
--------------------------------------------------------^
jac_cb05tucl_ae6_aq.F(2023): error #6351: The number of subscripts is incorrect. [C]
PD( CLNO2 ,H2NO3PK ) = RK( 214 ) * C( )
--------------------------------------------------------^
jac_cb05tucl_ae6_aq.F(2102): error #6351: The number of subscripts is incorrect. [C]
& - RK( 212 ) * C( )
--------------------------------------------------------^
jac_cb05tucl_ae6_aq.F(2103): error #6351: The number of subscripts is incorrect. [C]
& - RK( 213 ) * C( )
--------------------------------------------------------^
jac_cb05tucl_ae6_aq.F(2110): error #6351: The number of subscripts is incorrect. [C]
& - RK( 214 ) * C( )
--------------------------------------------------------^
compilation aborted for jac_cb05tucl_ae6_aq.F (code 1)
make: *** [jac_cb05tucl_ae6_aq.o] Error 1
ERROR while running make command

Could you help me?
Thank you for your time.

Just delete all “C()”. And it will work. That is what I did when I compiled CMAQ-DDM

Hello, you can see that you will eventually JAC_ cb05tucl_ ae6_ aq. Have you changed the f file? As you said, after I deleted “C ()”, it prompted me with the following error:
jac_cb05tucl_ae6_aq.F(2022): error #5082: Syntax error, found ‘)’ when expecting one of: ( <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> <INTEGER_CONSTANT> …
& + RK( 213 ) *()
--------------------------------------------------------^
jac_cb05tucl_ae6_aq.F(2023): error #5082: Syntax error, found ‘)’ when expecting one of: ( <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> <INTEGER_CONSTANT> …
PD( CLNO2 ,H2NO3PK ) = RK( 214 ) *()