# CCTM error running CMAQ5.2

**URL:** <https://forum.cmascenter.org/t/cctm-error-running-cmaq5-2/2470>\
**Category:** CMAQ\
**Created:** [July 5, 2021, 2:29pm UTC](https://forum.cmascenter.org/t/cctm-error-running-cmaq5-2/2470 "2021-07-05T14:29:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rainzmh](https://avatars.discourse-cdn.com/v4/letter/r/b5a626/32.png) [@Rainzmh](https://forum.cmascenter.org/u/Rainzmh)\
**Post date:** [July 5, 2021, 2:29pm UTC](https://forum.cmascenter.org/t/cctm-error-running-cmaq5-2/2470/1 "2021-07-05T14:29:31Z")

</div>

Dear Sir,  
I have errors when I ran CCTM run script.My Linux version is Centos7.7, the version of CMAQ is 5.2.  
**The errors are as follows:**

[run.txt](https://forum.cmascenter.org/uploads/short-url/waGQ51zHD28AECNySS0gQsUwetP.txt) (180.1 KB)

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [July 5, 2021, 3:41pm UTC](https://forum.cmascenter.org/t/cctm-error-running-cmaq5-2/2470/2 "2021-07-05T15:41:37Z")

</div>

When you run into an error, please use your editor to search for ‘error’.  
When I did that on the run.txt file that you provided, it went to this section.

```auto
mpirun -np 4 --allow-run-as-root /home/zhouminghui/CMAQ5.2/CCTM/scripts/BLD_CCTM_v52_gcc9.1.0/CCTM_v52.exe
[mpiexec@localhost.localdomain] match_arg (utils/args/args.c:163): unrecognized argument allow-run-as-root
[mpiexec@localhost.localdomain] HYDU_parse_array (utils/args/args.c:178): argument matching returned error
[mpiexec@localhost.localdomain] parse_args (ui/mpich/utils.c:1642): error parsing input array
[mpiexec@localhost.localdomain] HYD_uii_mpx_get_parameters (ui/mpich/utils.c:1694): unable to parse user arguments
[mpiexec@localhost.localdomain] main (ui/mpich/mpiexec.c:148): error parsing parameters

```

WIth this error  
[mpiexec@localhost.localdomain] main (ui/mpich/mpiexec.c:148): **error parsing parameters**

I then looked to your mpirun command that is used to run CMAQ, and found

```auto
--allow-run-as-root 

```

This option is unrecognized.

Please change your run script.

```auto
mpirun -np 4 --allow-run-as-root /home/zhouminghui/CMAQ5.2/CCTM/scripts/BLD_CCTM_v52_gcc9.1.0/CCTM_v52.exe

```

to use

```auto
mpirun -np 4 /home/zhouminghui/CMAQ5.2/CCTM/scripts/BLD_CCTM_v52_gcc9.1.0/CCTM_v52.exe
```
