Problem:
When running the benchmark case with CMAQv5.5, the model fails to write to AELMO at the end of the first hour.
>>--->> WARNING in subroutine WRITE3
Invalid file. FNAME="CTM_AELMO_1
M3WARN: DTBUF 0:00:00 July 1, 2018 (2018182:000000)
*** ERROR ABORT in subroutine WRITE_ELMO on PE 001
Could not write CTM_AELMO_1 file
PM3EXIT: DTBUF 0:00:00 July 1, 2018
Date and time 0:00:00 July 1, 2018 (2018182:000000)
In my output directory, I can see that the AELMO output file has been created with a name that matches CTM_AELMO_1 in my run_cctm.csh. The file has the correct dimensions, variables, etc. when I check with ncdump.
What might be causing the model to be unable to find the AELMO file at the end of the hour?
Some more details:
I have tried running in debug mode, but that did not add any additional information beyond pointing to ELMO_PROC.F because of the WRITE_ELMO subroutine. Iāve not modified the source code in any way.
When I turn off AELMO and ELMO output in CMAQ_Control_Misc.nml, the model runs the 2 day benchmark with no problems and my ACONC output compares well with the benchmark output.
Iāve included two example LOG files, as well as the output.txt file. In one LOG file, the processor creates a new AELMO file at the beginning of the simulation and then has no error at the end (until the whole simulation is aborted). The other LOG file does not report creating an AELMO output file at the beginning and reports the error message at the end of the hour. Is it potentially problematic that not all processors report creating a new AELMO file at the beginning of the simulation?
CTM_LOG_000_createsAELMO.txt (329.5 KB)
starting line 2757:
"CTM_AELMO_1" opened as NEW(READ-WRITE )
File name "/lustre/scafellpike/local/HT05673/ddb06/axh49-ddb06/CMAQ/benchmark_output/CCTM_AELMO_v55_intel_Bench_2018_12NE3_cb6r5_ae7_aq_m3dry_20180701.nc"
File type UNKNOWN
Execution ID "CMAQ_CCTMv55_axh49-ddb06_20250423_155926_809459766"
Grid name "2018_12NE3"
Dimensions: 105 rows, 100 cols, 1 lays, 151 vbles
NetCDF ID: 0 opened as VOLATILE READWRITE
Starting date and time 2018182:000000 (0:00:00 July 1, 2018)
Timestep 010000 (1:00:00 hh:mm:ss)
Maximum current record number 0
CTM_LOG_001_noAELMO.txt (317.4 KB)
No AELMO file created, and the final error in the LOG file is that the model canāt find CTM_AELMO_1
output.txt (34.6 KB)
run_cctm_Bench_2018_12NE3_CB6R5_mpi.csh (39.4 KB)
Thanks for any help!