# Error in INIT3/INITLOG3, Error opening log file on unit 99

**URL:** <https://forum.cmascenter.org/t/error-in-init3-initlog3-error-opening-log-file-on-unit-99/6093>\
**Category:** CMAQ\
**Tags:** cmaq\
**Created:** [December 8, 2025, 3:06am UTC](https://forum.cmascenter.org/t/error-in-init3-initlog3-error-opening-log-file-on-unit-99/6093 "2025-12-08T03:06:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minseo](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Minseo](https://forum.cmascenter.org/u/Minseo)\
**Post date:** [December 8, 2025, 3:06am UTC](https://forum.cmascenter.org/t/error-in-init3-initlog3-error-opening-log-file-on-unit-99/6093/1 "2025-12-08T03:06:59Z")

</div>

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:

```auto
 ***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.

Thank you.  
Dear Minseo

---

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [December 8, 2025, 1:19pm UTC](https://forum.cmascenter.org/t/error-in-init3-initlog3-error-opening-log-file-on-unit-99/6093/2 "2025-12-08T13:19:30Z")

</div>

Well, the first thing to do is to look up the Intel run-time errors: [https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2023-0/list-of-runtime-error-messages.html](https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2023-0/list-of-runtime-error-messages.html)  
and see what shows up under `STATUS=10`:

> **severe (10): Cannot overwrite existing file**
> 
> `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).

---

<div class="post-metadata">

**Author:** ![Minseo](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Minseo](https://forum.cmascenter.org/u/Minseo)\
**Post date:** [December 9, 2025, 4:36am UTC](https://forum.cmascenter.org/t/error-in-init3-initlog3-error-opening-log-file-on-unit-99/6093/3 "2025-12-09T04:36:59Z")

</div>

Hello, cjcoats.

The log files in the directory were all deleted, but the same error still appears..

After reviewing the log, I found the following warnings:

```auto
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.

Thank you.

[run\_cctm\_2024\_senario.txt](https://forum.cmascenter.org/uploads/short-url/lYyJA3bO2wytaczg7ZdyZGMDxVd.txt) (39.0 KB)

[20251209\_log\_error.txt](https://forum.cmascenter.org/uploads/short-url/v41sDGMHI5ZscmZkguQahdQ2xGO.txt) (120.8 KB)

---

<div class="post-metadata">

**Author:** ![Minseo](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Minseo](https://forum.cmascenter.org/u/Minseo)\
**Post date:** [December 10, 2025, 2:32am UTC](https://forum.cmascenter.org/t/error-in-init3-initlog3-error-opening-log-file-on-unit-99/6093/4 "2025-12-10T02:32:43Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/9a72c78e529465c3f1053af404e3033b0875428c.png) [@system](https://forum.cmascenter.org/u/system)\
**Post date:** [December 17, 2025, 2:33am UTC](https://forum.cmascenter.org/t/error-in-init3-initlog3-error-opening-log-file-on-unit-99/6093/5 "2025-12-17T02:33:25Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
