# Error when running Benchmark data of CMAQ v5.3 on Ubuntu18

**URL:** <https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092>\
**Category:** CMAQ\
**Created:** [November 4, 2019, 6:32am UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092 "2019-11-04T06:32:34Z")\
**Posts on this page:** 8\
**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:** [November 4, 2019, 6:32am UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092/1 "2019-11-04T06:32:35Z")

</div>

Dear Sir:  
I am using CMAQ5.3 on the ubuntu18.04, I have compiled CCTM to get CCTM\_v53.exe. My Compiler is gcc 7.4.0, when i am going to run benchmark data(2016\_12SE1),the command line Tip is: “source: Too many arguments.”  
Could you tell me what should I do?  
$ ./run\_cctm\_Bench\_2016\_12SE1.csh gcc 7.4.0  
Start Model Run At Mon Nov 4 14:14:55 CST 2019  
source: Too many arguments.

Best wishes  
MingHui Chou

---

<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:** [November 7, 2019, 3:43pm UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092/2 "2019-11-07T15:43:28Z")

</div>

I believe the error “source Too many arguments” is telling you that the script is only expecting one input, rather than 2.  
Please try runnning without the version number  
./run\_cctm\_Bench\_2016\_12SE1.csh gcc

---

<div class="post-metadata">

**Author:** ![lwu127](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lwu127](https://forum.cmascenter.org/u/lwu127)\
**Post date:** [October 27, 2020, 1:52pm UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092/3 "2020-10-27T13:52:23Z")

</div>

I have the same error as Minghui, and running without the version does not work either. Could you help with this?  
Lin

---

<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:** [October 27, 2020, 2:50pm UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092/4 "2020-10-27T14:50:58Z")

</div>

Please examine the run script for CMAQv5.3.

The version of the run script that I have does not expect any inputs, as it uses environment variables to set the compiler and version number. This approach has been modified over time.

```auto
#> Choose compiler and set up CMAQ environment with correct 
#> libraries using config.cmaq. Options: intel | gcc | pgi
 if ( ! $?compiler ) then
   setenv compiler gcc
 endif
 if ( ! $?compilerVrsn ) then
   setenv compilerVrsn Empty
 endif

#> Source the config.cmaq file to set the build environment
 cd ../..
 source ./config_cmaq.csh $compiler $compilerVrsn

```

If your run script looks identical to the above, then please try running the script without any inputs as follows:

```auto
./run_cctm_Bench_2016_12SE1.csh 

```

---

<div class="post-metadata">

**Author:** ![lwu127](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lwu127](https://forum.cmascenter.org/u/lwu127)\
**Post date:** [October 27, 2020, 3:39pm UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092/5 "2020-10-27T15:39:20Z")

</div>

Thanks liz, my run script looks identical to yours, and i tried running it without any inputs but it still does not work. Attached is my run script.  
[run\_cctm\_cb6mp.csh.txt](https://forum.cmascenter.org/uploads/short-url/P8FxctxArJ1lJRSy7y9SIHVpTc.txt) (36.4 KB)

---

<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:** [October 27, 2020, 4:35pm UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092/6 "2020-10-27T16:35:33Z")

</div>

Can you try to modify the line

```auto
cd ../..
source ./config_cmaq.csh $compiler $compilerVrsn

```

to

```auto
cd ../..
source ./config_cmaq.csh $compiler

```

I can’t seem to reproduce your error, but perhaps this will solve it.

---

<div class="post-metadata">

**Author:** ![lwu127](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lwu127](https://forum.cmascenter.org/u/lwu127)\
**Post date:** [October 27, 2020, 5:05pm UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092/7 "2020-10-27T17:05:00Z")

</div>

Yes, my problem is solved! Thank you so much!!  
Lin

---

<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:** [November 19, 2020, 2:39am UTC](https://forum.cmascenter.org/t/error-when-running-benchmark-data-of-cmaq-v5-3-on-ubuntu18/1092/8 "2020-11-19T02:39:40Z")

</div>

I still could not solve this problem, Could you contact me? I am Cheinese, My QQ is 237577653
