Hello teachers, I got a problem in runing CCTM, could anyone help me ? The run time I set when running CCTM is START_DATE = 2020-01-03
set END_DATE = 2020-01-30, but why does the model automatically stop at the end of the first day of normal operation and not run the next day?
run_cctm.csh (25.3 KB)
CTM_LOG_001.v52_intel_china1_20200103.txt (1.9 MB)
CTM_LOG_002.v52_intel_china1_20200103.txt (1.9 MB)
CTM_LOG_003.v52_intel_china1_20200103.txt (1.9 MB)
As suggested by @Fortuna in the other thread on the same topic, you will need to look at the main log file to see what is happening at the end of the while
loop in the run script when TODAYG
and TODAYJ
are being incremented, the script loops to the next day, and a new 24 hour model execution is started. The CTM_LOG files you posted show that the first day finishes successfully, so it’s something in the looping that’s not working as intended. This would be captured in the main log file, not the CTM_LOG files.
By the way, if the main log file and the CTM_LOG files are not reporting obvious errors, and you are running the script in the background, maybe you can try running the script in the foreground.
When I ran CMAQ only, the model worked fine whether it was running in the foreground or background. But for some unknown reason, when running a version of the coupled model, I encounter a problem that the background running cannot loop, and everything goes well when running in the foreground.
Thank you for your reply, I did run the program in the background before, according to what you said, I tried to run it in the foreground, and now the program can realize the loop. It’s a strange thing. 
Glad to hear you solved this problem. At first I used WRFv4.5-CMAQv5.3.2 and the model worked fine. Then I used WRFv4.5-CMAQv5.4, and it can only ran in the foreground.
If I run only CMAQ without the coupled model, both versions will run in the background on my server. I have no idea what the problem comes from. 
Liu