# Airs2m3 error 2 while compiling ioapi3.2

**URL:** <https://forum.cmascenter.org/t/airs2m3-error-2-while-compiling-ioapi3-2/2061>\
**Category:** m3tools\
**Tags:** admin\
**Created:** [February 9, 2021, 3:04pm UTC](https://forum.cmascenter.org/t/airs2m3-error-2-while-compiling-ioapi3-2/2061 "2021-02-09T15:04:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [February 9, 2021, 5:06pm UTC](https://forum.cmascenter.org/t/airs2m3-error-2-while-compiling-ioapi3-2/2061/4 "2021-02-09T17:06:39Z")

</div>

OK: this is a PGI-compiler-configuration problem: your library uses single trailing underscores for `nf_put_att_int__` etc., whereas in the I/O API compile _pgf90_ is generating double trailing underscores.  
[There are various Makeinclude._pg_ to go with various C-compiler choices…]

You need to make sure that your _ioapi/Makeinclude.$BIN_ has the following, so that pgf90 does not generate double trailing underscores:

`FOPTFLAGS = -O2 -V -Mnosecond_underscore`

---

_[View the full topic](https://forum.cmascenter.org/t/airs2m3-error-2-while-compiling-ioapi3-2/2061)._
