# CCTM running error using SLURM：/bin/rm: No match

**URL:** <https://forum.cmascenter.org/t/cctm-running-error-using-slurm-bin-rm-no-match/5743>\
**Category:** Run Time Errors and Issues\
**Created:** [April 17, 2025, 6:19am UTC](https://forum.cmascenter.org/t/cctm-running-error-using-slurm-bin-rm-no-match/5743 "2025-04-17T06:19:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sher](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sher](https://forum.cmascenter.org/u/sher)\
**Post date:** [April 17, 2025, 6:19am UTC](https://forum.cmascenter.org/t/cctm-running-error-using-slurm-bin-rm-no-match/5743/1 "2025-04-17T06:19:42Z")

</div>

Dear Sir/Madam, I tried to run CMAQv5.3.3, using SLURM but the SLURM doesn’t work with /bin/rm error message.

Compiler is set to intel

Working Directory is /fs2/home/qiaozhi/software/cmaq/CMAQV5.3.3/CCTM/scripts  
Build Directory is /fs2/home/qiaozhi/software/cmaq/CMAQV5.3.3/CCTM/scripts/BLD\_CCTM\_v533\_intel  
Output Directory is /fs2/home/qiaozhi/software/cmaq/CMAQV5.3.3/data/output\_CCTM\_v533\_intel\_2020case  
Log Directory is /fs2/home/qiaozhi/software/cmaq/CMAQV5.3.3/data/output\_CCTM\_v533\_intel\_2020case/LOGS  
Executable Name is CCTM\_v533.exe

—CMAQ EXECUTION ID: CMAQ\_CCTMv533\_qiaozhi\_20250417\_031510\_478465942 —  
(standard\_in) 1: syntax error

Set up input and output files for Day 2020-01-05.

Existing Logs and Output Files for Day 2020-01-05 Will Be Deleted  
/bin/rm: No match.

CMAQ Processing of Day 20200105 Began at Thu Apr 17 11:15:10 CST 2025

/usr/bin/time: Command not found.

* * *

\*\* Runscript Detected an Error: CGRID file was not written. \*\*  
\*\* This indicates that CMAQ was interrupted or an issue \*\*  
\*\* exists with writing output. The runscript will now \*\*  
\*\* abort rather than proceeding to subsequent days. \*\*

* * *

(standard\_in) 2: syntax error  
(standard\_in) 1: syntax error  
(standard\_in) 1: syntax error

# ================================== \*\*\*\*\* CMAQ TIMING REPORT \*\*\*\*\*

Start Day: 2020-01-05  
End Day: 2020-01-20  
Number of Simulation Days: 1  
Domain Name: 2020case  
Number of Grid Cells: (ROW x COL x LAY)  
Number of Layers: 32  
Number of Processes: 32  
All times are in seconds.

Num Day Wall Time  
01 2020-01-05  
Total Time =  
Avg. Time =  
I hope you could help me solve the problem, thanks a lot!  
[cctm.txt](https://forum.cmascenter.org/uploads/short-url/lKkz476lYIpDshCcg5VfcrQRpEf.txt) (1.7 KB)  
[run\_cctm\_Bench\_2016\_12SE1.csh](https://forum.cmascenter.org/uploads/short-url/l4oVQ6nv2w1e9C8jPAbhKHlnDwI.csh) (35.5 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:** [April 17, 2025, 1:07pm UTC](https://forum.cmascenter.org/t/cctm-running-error-using-slurm-bin-rm-no-match/5743/2 "2025-04-17T13:07:23Z")

</div>

There are several commands in the run script that may not work on your computer.  
These include the specific location of the rm command. The run script assumes this is located under the /bin directory. If this is not the case, then you will see the error message

```auto
/bin/rm: No match

```

One solution is to remove the path and only use

```auto
rm

```

The second issue is the availability of the time command. If `time` is not installed on your system, you can install it yourself, and then specify the path to that `time` command.

> **[Linux 'time' Command | Installation and Usage Guide](https://ioflood.com/blog/install-time-command-linux/)**
>
> Are you looking to install the time command on your Linux system but aren't sure where to start? Many Linux users might find the task intimidating, yet it's a

---

<div class="post-metadata">

**Author:** ![sher](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sher](https://forum.cmascenter.org/u/sher)\
**Post date:** [April 17, 2025, 1:47pm UTC](https://forum.cmascenter.org/t/cctm-running-error-using-slurm-bin-rm-no-match/5743/3 "2025-04-17T13:47:41Z")

</div>

Sorry, I tried but it didn’t work. I can find the path to time and rm but the problem still exists. Could there be something wrong with my script?  
Here is my information:  
[slurm-5675955.txt](https://forum.cmascenter.org/uploads/short-url/4TPFzb28lO9wRcKGzUfGxs3IinE.txt) (1.8 KB)  
 ![20250417213816](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/5/5e8d0e06aaaeffcbf3f5a65df22e9407eddca695.png)

---

<div class="post-metadata">

**Author:** ![hogrefe.christian](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hogrefe.christian](https://forum.cmascenter.org/u/hogrefe.christian)\
**Post date:** [April 17, 2025, 2:21pm UTC](https://forum.cmascenter.org/t/cctm-running-error-using-slurm-bin-rm-no-match/5743/4 "2025-04-17T14:21:12Z")

</div>

This might not help, but try changing the first line of your script from ‘#!/bin/csh -f’ to ‘#!/bin/csh’. I think this will make the script source your .cshrc file which then might give you the same environment that you see in your interactive shell, including the “/usr/bin/time” command.
