# CMAQV 5.2.1 config\_cmaq.csh flags

**URL:** <https://forum.cmascenter.org/t/cmaqv-5-2-1-config-cmaq-csh-flags/732>\
**Category:** CMAQ\
**Created:** [June 4, 2019, 6:49pm UTC](https://forum.cmascenter.org/t/cmaqv-5-2-1-config-cmaq-csh-flags/732 "2019-06-04T18:49:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)\
**Post date:** [June 4, 2019, 6:49pm UTC](https://forum.cmascenter.org/t/cmaqv-5-2-1-config-cmaq-csh-flags/732/1 "2019-06-04T18:49:17Z")

</div>

![flags_forum](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/e3f565e7ef91f7413f7a84ba19be341693245012.png)

Hello ,  
Am trying to install CMAQV5.2.1.  
complier is gcc  
installed the below using package manager.  
netcdf and openmpi  
installed ioapi 3.2

At the moment trying to set the flags in config\_cmaq.csh.  
i have attached the screenshot of the same.  
Could kindly update where and wat changes has to be made so that the the file would work properly.

Thanks in advance,  
Akhila

---

<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:** [June 5, 2019, 1:59pm UTC](https://forum.cmascenter.org/t/cmaqv-5-2-1-config-cmaq-csh-flags/732/2 "2019-06-05T13:59:25Z")

</div>

At a first cut, I see a lot of file-paths without the leading slash – e.g.,  
` setenv IOAPI_MOD_DIR home/creator/ioapi/ioapi`  
(and, by the way, the I/O API “.mod” files will be in the same directory as the “.a” files).

Note also that you will probably have trouble with the package-manager netCDF and OpenMPI:  
as the I/O API installation instructions [https://www.cmascenter.org/ioapi/documentation/all\_versions/html/AVAIL.html#warn](https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html#warn)state,

> In general, you are best off if you can build your whole modeling system (libnetcdf.a, libpvm3.a, libioapi.a, and your model(s) CMAQ, SMOKE, etc. with a common compiler set and common set of compile-flags. In particular, Linux-distribution-vendor supplied libnetcdf.a rarely works with CMAS-supported compiler sets.

That should get you at least a little further along…

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

```
