# Icon : Build CMAQ executables Error building ICON

**URL:** <https://forum.cmascenter.org/t/icon-build-cmaq-executables-error-building-icon/612>\
**Category:** Compiling\
**Created:** [April 14, 2019, 7:01pm UTC](https://forum.cmascenter.org/t/icon-build-cmaq-executables-error-building-icon/612 "2019-04-14T19:01:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 14, 2019, 7:13pm UTC](https://forum.cmascenter.org/t/icon-build-cmaq-executables-error-building-icon/612/2 "2019-04-14T19:13:36Z")

</div>

Which I/O API version? Which netCDF version?

See [https://www.cmascenter.org/ioapi/documentation/all\_versions/html/AVAIL.html#ncf4:](https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html#ncf4:)  
**Evidently, starting with netCDF-Fortran 4.4.2, UCAR in their wisdom decided to silently eliminate the `CALL NC*()` Fortran interfaces in terms of which the I/O API was originally implemented. [If you can find any documentation indicating this intent on the web, I would enjoy seeing it; _I_ can’t find it.]**

I/O API Version 3.2 was tediously re-coded to replace all 943 of these calls by the newer `IERR=NF_*()` Fortran interfaces that are still supported. Prior editions of the I/O API will have link errors with netCDF-Fortran 4.4.2 or later, because routines such as `NCCLOS()` are no longer in that library.

…which is exactly what you’re seeing,

```
Carlie J. Coats, Jr., Ph.D. cjcoats@email.unc.edu
Senior Software Engineer I/O API Author/Maintainer
Center for Environmental Modeling for Policy Development,
UNC Institute for the Environment www.ie.unc.edu
100 Europa Dr., Suite 490 Rm 4051 / Campus Box 1105 919.843.5951
Chapel Hill, NC 27599-1105 Fax 919.966.9920
```

---

_[View the full topic](https://forum.cmascenter.org/t/icon-build-cmaq-executables-error-building-icon/612)._
