# Error when running CMAQ-ISAM benchmark case

**URL:** <https://forum.cmascenter.org/t/error-when-running-cmaq-isam-benchmark-case/1146>\
**Category:** CMAQ-ISAM\
**Created:** [November 26, 2019, 8:28am UTC](https://forum.cmascenter.org/t/error-when-running-cmaq-isam-benchmark-case/1146 "2019-11-26T08:28:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ree](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@ree](https://forum.cmascenter.org/u/ree)\
**Post date:** [November 26, 2019, 8:28am UTC](https://forum.cmascenter.org/t/error-when-running-cmaq-isam-benchmark-case/1146/1 "2019-11-26T08:28:49Z")

</div>

Hi All,  
I encountered an error while running CCTM\_ISAM benchmark case, I didn’t change any options in scripts, ICON and BCON program were completed successfully. Below is the error message in the log file.

**forrtl: severe (47): write to READONLY file, unit 5, file /dev/pts/17**

when I checked the permission of file /dev/pts/17, it will show as

**[zdhjkx02@mu02 cctm\_isam]$ ls -l /dev/pts/17**  
**crw–w---- 1 zdhjkx02 tty 136, 17 Nov 26 16:16 /dev/pts/17**

Any ideas?

Thanks,  
Ree

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [December 9, 2019, 8:32pm UTC](https://forum.cmascenter.org/t/error-when-running-cmaq-isam-benchmark-case/1146/2 "2019-12-09T20:32:29Z")

</div>

Hi Ree,  
I can’t tell from the information that you have provided what the issue is. Typically there are two types of log files, the CTM\_LOG\_xxx file, where messages are written by each processor as the job is running, and the log file that is written at the end of the program.  
Did you obtain any CTM\_LOG\_xxx files when you ran the benchmark case? If so, use grep to look for an ERROR message in those files

```auto
grep ERROR CTM_LOG*

```

One thing to verify is that you have edited the run script to specify correct location of the input directory. The run script that comes with the benchmark case needs to be updated:

```auto
 setenv INPDIR /work/MOD3DATA/2016_12SE1    

```

Change it to something local to your machine, such as:

```auto
setenv INPDIR ${CMAQ_DATA}/2016_12SE1
```
