# DDM Jacobian files for other chemical mechanisms

**URL:** <https://forum.cmascenter.org/t/ddm-jacobian-files-for-other-chemical-mechanisms/498>\
**Category:** CMAQ-DDM-3D\
**Created:** [January 28, 2019, 11:19pm UTC](https://forum.cmascenter.org/t/ddm-jacobian-files-for-other-chemical-mechanisms/498 "2019-01-28T23:19:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![noitul](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@noitul](https://forum.cmascenter.org/u/noitul)\
**Post date:** [January 28, 2019, 11:19pm UTC](https://forum.cmascenter.org/t/ddm-jacobian-files-for-other-chemical-mechanisms/498/1 "2019-01-28T23:19:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sergey](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sergey](https://forum.cmascenter.org/u/sergey)\
**Post date:** [February 8, 2019, 4:11pm UTC](https://forum.cmascenter.org/t/ddm-jacobian-files-for-other-chemical-mechanisms/498/2 "2019-02-08T16:11:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hml](https://avatars.discourse-cdn.com/v4/letter/h/9fc29f/32.png) [@hml](https://forum.cmascenter.org/u/hml)\
**Post date:** [May 6, 2019, 7:37am UTC](https://forum.cmascenter.org/t/ddm-jacobian-files-for-other-chemical-mechanisms/498/3 "2019-05-06T07:37:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![DennisWong](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@DennisWong](https://forum.cmascenter.org/u/DennisWong)\
**Post date:** [June 5, 2019, 6:46am UTC](https://forum.cmascenter.org/t/ddm-jacobian-files-for-other-chemical-mechanisms/498/4 "2019-06-05T06:46:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yyxzzdggb](https://avatars.discourse-cdn.com/v4/letter/y/c57346/32.png) [@yyxzzdggb](https://forum.cmascenter.org/u/yyxzzdggb)\
**Post date:** [March 24, 2022, 3:14am UTC](https://forum.cmascenter.org/t/ddm-jacobian-files-for-other-chemical-mechanisms/498/5 "2022-03-24T03:14:29Z")

</div>

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 ) \*()
