Hello. I am running CMAQ v5.3.2 with the Intel compiler, and I am encountering a persistent log-file opening error.
I am using two servers (Server 1 and Server 2). I originally ran the BASE scenario on Server 1 without any problems, and now I am trying to run additional scenarios on Server 2 using three different emission files. I copied the original script from Server 1 to Server 2.
However, the following error occurs at runtime:
*** ERROR in INIT3/INITLOG3 ***
Error opening log file on unit 99
I/O STATUS = 10
File: CTM_LOG_000.v532_intel_AJ_M03_02_20240321
Even though this error appears, the model still continues to run normally, which makes the issue more confusing.
I am a new user on the CMAS Forum, so I am unable to upload my full run script.
I apologize for that.
I have already checked the paths for LOGDIR, OUTDIR, and WORKDIR, and they are all correct.
I also do not believe that this is an MPI-related issue.
If you need to see a specific section of my script, please let me know, and I will provide it.
FOR$IOS_CANOVEEXI. Specified file xxx already exists when OPEN statement specified STATUS=‘NEW’ (create new file) using I/O unit x. Make sure correct file name, directory path, unit, and so forth were specified in the source program. Decide whether to:
* Rename or remove the existing file before rerunning the program.
* Modify the source file to specify different file specification, I/O unit, or OPEN statement STATUS.
The first of these is the right one: for system integrity reasons, the system will not “clobber” log-files (which may still contain needed information).
The log files in the directory were all deleted, but the same error still appears..
After reviewing the log, I found the following warnings:
ATTENTION: The Emissions Stream Label (WBDUST) applied for Rule 1
in the Emissions Control Namelist does not match any of the emissions streams
labels or families provided to CMAQ. Please check the
runscript against your emissions control inputs
confirm that this stream should be ignored.
This label mismatch occurs not only for WBDUST, but also for PT_FIRES, PT_RXFIRES, PT_AGFIRES, PT_OTHFIRES, PT_FIRES_MXCA, and others.
Could you advise me on how to resolve this issue?
I am now able to upload log files, so I am sharing both the executed log file and the run script.
Hello, cjcoats.
I am writing again to let you know that the issue has been resolved.
After correcting the MPI path and re-running the configuration and build steps, the model executed successfully. By reconfiguring MPI_LIB_DIR in config_cmaq.csh, the error was resolved.
The error occurred because the MPI process that CMAQ was attempting to use (OpenMPI) differed from the MPI process I had specified (MVAPICH).
Thank you very much for your assistance.