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

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 (1.7 KB)
run_cctm_Bench_2016_12SE1.csh (35.5 KB)

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

/bin/rm: No match

One solution is to remove the path and only use

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.

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 (1.8 KB)
20250417213816

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.