# Compiling

**URL:** https://forum.cmascenter.org/c/cmaq/compiling/13.md?page=1

[Latest](https://forum.cmascenter.org/latest.md) · [Categories](https://forum.cmascenter.org/categories.md) · [Tags](https://forum.cmascenter.org/tags.md)

**Page:** 2

---

## [CMAQ-5.0.2 compile error](https://forum.cmascenter.org/t/cmaq-5-0-2-compile-error/2326)

<div class="topic-metadata">

**Author:** [@lwu127](https://forum.cmascenter.org/u/lwu127)\
**Replies:** 7\
**Last updated:** [October 21, 2021, 6:59am UTC](https://forum.cmascenter.org/t/cmaq-5-0-2-compile-error/2326 "2021-10-21T06:59:18Z")

</div>

Hi everyone, When i compile CMAQ-5.0.2, i got the following error: My ioapi-3.1 is successfully installed and it is linked to the lib directory. What should be the reason that causes this error? Any suggestion is a…

---

## [CCTM compiling error](https://forum.cmascenter.org/t/cctm-compiling-error/2594)

<div class="topic-metadata">

**Author:** [@YoonB](https://forum.cmascenter.org/u/YoonB)\
**Replies:** 1\
**Last updated:** [August 18, 2021, 9:51pm UTC](https://forum.cmascenter.org/t/cctm-compiling-error/2594 "2021-08-18T21:51:19Z")

</div>

Hello all. I am building the modules for CMAQ modeling system and while the libraries(stenex,pario,build) and other modules(ICON, BCON, MCIP) went pretty well, I’m having some difficulties with CCTM. The following erro…

---

## [Error in compiling BCON](https://forum.cmascenter.org/t/error-in-compiling-bcon/2581)

<div class="topic-metadata">

**Author:** [@xiaofen](https://forum.cmascenter.org/u/xiaofen)\
**Replies:** 7\
**Last updated:** [August 17, 2021, 1:45pm UTC](https://forum.cmascenter.org/t/error-in-compiling-bcon/2581 "2021-08-17T13:45:19Z")

</div>

Hi all, When I tried to compile BCON, I found an error I have never met before and did not find it in the forum. Makefile generated mpif90 -c -ffixed-form -ffixed-line-length-132 -funroll-loops -finit-character=32 -O3…

---

## [Cannot open include file 'mpif.h'](https://forum.cmascenter.org/t/cannot-open-include-file-mpif-h/2485)

<div class="topic-metadata">

**Author:** [@manhnt\_vn](https://forum.cmascenter.org/u/manhnt_vn)\
**Replies:** 3\
**Last updated:** [August 7, 2021, 4:01am UTC](https://forum.cmascenter.org/t/cannot-open-include-file-mpif-h/2485 "2021-08-07T04:01:23Z")

</div>

Hi everyone, I have been compiling the CMAQ\_V5.3.2 with Intel Compiler, however, when compiled CCTM, I got the error related to the MPI like that: Blockquotese\_global\_min\_module.f(75): error #5102: Cannot open include…

---

## [Se\_util\_module.f:(.text+0x32e): undefined reference to \`mpi\_reduce\_'](https://forum.cmascenter.org/t/se-util-module-f-text-0x32e-undefined-reference-to-mpi-reduce/2533)

<div class="topic-metadata">

**Author:** [@manhnt\_vn](https://forum.cmascenter.org/u/manhnt_vn)\
**Replies:** 1\
**Last updated:** [July 23, 2021, 1:29pm UTC](https://forum.cmascenter.org/t/se-util-module-f-text-0x32e-undefined-reference-to-mpi-reduce/2533 "2021-07-23T13:29:21Z")

</div>

Hi everyone, I got the error related to compile the CCTM like that: se\_data\_send\_module.o: In function se\_data\_send\_module\_mp\_se\_1d\_data\_send\_': se\_data\_send\_module.f:(.text+0x42b): undefined reference to mpi\_send\_’ …

---

## [Errors compiling vppm](https://forum.cmascenter.org/t/errors-compiling-vppm/2502)

<div class="topic-metadata">

**Author:** [@afernandez](https://forum.cmascenter.org/u/afernandez)\
**Replies:** 0\
**Last updated:** [July 13, 2021, 1:50pm UTC](https://forum.cmascenter.org/t/errors-compiling-vppm/2502 "2021-07-13T13:50:34Z")

</div>

Hello, Most of the CMAQv5.3.2 files are compiling OK (lots of warning messages aside) but the compilation of vppm.F keeps producing the error: vppm.F:341:11: 341 | DO NP = 1, NPMAX | 1 Error: S…

---

## [CMAQ v5.3 compiling error](https://forum.cmascenter.org/t/cmaq-v5-3-compiling-error/2398)

<div class="topic-metadata">

**Author:** [@phy](https://forum.cmascenter.org/u/phy)\
**Replies:** 4\
**Last updated:** [June 6, 2021, 2:08am UTC](https://forum.cmascenter.org/t/cmaq-v5-3-compiling-error/2398 "2021-06-06T02:08:11Z")

</div>

Hi, all! I’m trying to compile CMAQ v5.3.1 with Intel19 compiler. Compiling with nvidia 21.3 compiler was successful to get CCTMv531.exe. But I got errors during compiling with intel19 compiler. The error messages ar…

---

## [Library error when attempting to run CCTM--bad compile?](https://forum.cmascenter.org/t/library-error-when-attempting-to-run-cctm-bad-compile/2190)

<div class="topic-metadata">

**Author:** [@mkharkey](https://forum.cmascenter.org/u/mkharkey)\
**Replies:** 4\
**Last updated:** [March 29, 2021, 2:28pm UTC](https://forum.cmascenter.org/t/library-error-when-attempting-to-run-cctm-bad-compile/2190 "2021-03-29T14:28:39Z")

</div>

Hello, our sysadmin recently updated our compilers and libraries, and I’ve been working to install CMAQv5.3. I had a little trouble building CCTM, and had to add flags to where NETCDF is set and force it to recognize th…

---

## [Compiling CMAQ on Cheyenne at NCAR](https://forum.cmascenter.org/t/compiling-cmaq-on-cheyenne-at-ncar/1995)

<div class="topic-metadata">

**Author:** [@ckuo6](https://forum.cmascenter.org/u/ckuo6)\
**Replies:** 24\
**Last updated:** [January 17, 2021, 2:49am UTC](https://forum.cmascenter.org/t/compiling-cmaq-on-cheyenne-at-ncar/1995 "2021-01-17T02:49:05Z")

</div>

Hi Guys, I tried to compile CMAQ on Cheyenne in NCAR. My ioapi version is 3.1, the compiler is intel, and the related environment settings in config\_cmaq.csh (line 80-105) is: case intel: #\> I/O API, netCDF, and …

---

## [CMAQ Fortran code compiling: POA VBS input scaling factors please help!](https://forum.cmascenter.org/t/cmaq-fortran-code-compiling-poa-vbs-input-scaling-factors-please-help/1970)

<div class="topic-metadata">

**Author:** [@jczhao](https://forum.cmascenter.org/u/jczhao)\
**Replies:** 0\
**Last updated:** [December 8, 2020, 3:34am UTC](https://forum.cmascenter.org/t/cmaq-fortran-code-compiling-poa-vbs-input-scaling-factors-please-help/1970 "2020-12-08T03:34:02Z")

</div>

Dear expert, I want to know the calculation logic of CMAQ V5.2. Specifically, I would like to know the names of some variables that hold the hourly (if every timestep is better) calculation results of all pollutants in…

---

## [Warning: size of symbol \`bstate3\_' changed](https://forum.cmascenter.org/t/warning-size-of-symbol-bstate3-changed/1950)

<div class="topic-metadata">

**Author:** [@skunwar](https://forum.cmascenter.org/u/skunwar)\
**Replies:** 1\
**Last updated:** [November 30, 2020, 12:54pm UTC](https://forum.cmascenter.org/t/warning-size-of-symbol-bstate3-changed/1950 "2020-11-30T12:54:33Z")

</div>

I was recompiling CMAQv5.3.2 after a small correction aqchem.F (changed maximum iterations from default 60,000 to 100,000) using ‘make clean’ followed by ‘make’ under BLD directory when I got this last line on my standar…

---

## [CMAQv5.3 compiling: Makefile:448: recipe for target 'se\_global\_sum\_module.o' failed](https://forum.cmascenter.org/t/cmaqv5-3-compiling-makefile-recipe-for-target-se-global-sum-module-o-failed/1892)

<div class="topic-metadata">

**Author:** [@huangj1311](https://forum.cmascenter.org/u/huangj1311)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 8:01pm UTC](https://forum.cmascenter.org/t/cmaqv5-3-compiling-makefile-recipe-for-target-se-global-sum-module-o-failed/1892 "2020-11-05T20:01:51Z")

</div>

Hey all, I am using PGI 18.5 to compile CMAQv5.3, somehow it fails to build the following files, detailed configuration file, build script, and log file are attached. Does anyone know how can I fixed those issues? It l…

---

## [I made an error when Compiling CMAQ20200828 for CCTM](https://forum.cmascenter.org/t/i-made-an-error-when-compiling-cmaq20200828-for-cctm/1822)

<div class="topic-metadata">

**Author:** [@qinch18](https://forum.cmascenter.org/u/qinch18)\
**Replies:** 3\
**Last updated:** [October 8, 2020, 7:40pm UTC](https://forum.cmascenter.org/t/i-made-an-error-when-compiling-cmaq20200828-for-cctm/1822 "2020-10-08T19:40:59Z")

</div>

build.txt (304.4 KB) config\_cmaq.csh (10.7 KB) bldit\_cctm.csh (29.7 KB) mpiifort -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /home/qinch18/CMAQ…

---

## [Bldit\_cctm.csh error](https://forum.cmascenter.org/t/bldit-cctm-csh-error/1660)

<div class="topic-metadata">

**Author:** [@xiangyu](https://forum.cmascenter.org/u/xiangyu)\
**Replies:** 6\
**Last updated:** [July 20, 2020, 9:07pm UTC](https://forum.cmascenter.org/t/bldit-cctm-csh-error/1660 "2020-07-20T21:07:17Z")

</div>

Hi CMAQ users, I met a problem when tried to compile the CCTM by runing “./bldit\_cctm.csh intel |& tee bldit.log”. The error message is as follows: /CMAQv5.3.1/lib/x86\_64/intel/ioapi/include\_files/STATE3.EXT(174): erro…

---

## [Pario build error. please help!](https://forum.cmascenter.org/t/pario-build-error-please-help/690)

<div class="topic-metadata">

**Author:** [@sahir](https://forum.cmascenter.org/u/sahir)\
**Replies:** 9\
**Last updated:** [July 13, 2020, 6:01pm UTC](https://forum.cmascenter.org/t/pario-build-error-please-help/690 "2020-07-13T18:01:37Z")

</div>

BLD set flist = ( pinterpb\_mod.f piomaps\_mod.f alloc\_data\_mod.f boundary.f get\_write\_map.f growbuf.f gtndxhdv.f interpol.f pinterpb.f pio\_init.f pio\_re\_init.f pm3err.f pm3exit.f pm3warn.f pshut3.f pwrite3.f ptrwrite3.f …

---

## [Mvapich2 CCTM build -- "cannot find -libmad"](https://forum.cmascenter.org/t/mvapich2-cctm-build-cannot-find-libmad/1593)

<div class="topic-metadata">

**Author:** [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Replies:** 1\
**Last updated:** [July 7, 2020, 10:35pm UTC](https://forum.cmascenter.org/t/mvapich2-cctm-build-cannot-find-libmad/1593 "2020-07-07T22:35:16Z")

</div>

System is CENTOS-7.2 with the following compilers etc. fails on the link-step for the CCTM from CMAQ-git master, as indicated below; wth is this strange " cannot find -libmad" thing? \[Note that leading minus; this is no…

---

## ["NUL character seen" error when compiling jproc (CMAQ5.3.1)](https://forum.cmascenter.org/t/nul-character-seen-error-when-compiling-jproc-cmaq5-3-1/1620)

<div class="topic-metadata">

**Author:** [@Hungnt](https://forum.cmascenter.org/u/Hungnt)\
**Replies:** 4\
**Last updated:** [July 6, 2020, 10:00pm UTC](https://forum.cmascenter.org/t/nul-character-seen-error-when-compiling-jproc-cmaq5-3-1/1620 "2020-07-06T22:00:40Z")

</div>

Dear all, I am having the following error when compiling jproc program: file RXNS\_DATA\_MODULE.F90 Makefile:68: warning: NUL character seen; rest of line ignored The error happened to the path to the ioapi library but …

---

## [CCTM Build Script: Warning: alignment 32 of symbol \`bstate3\_'](https://forum.cmascenter.org/t/cctm-build-script-warning-alignment-32-of-symbol-bstate3/1082)

<div class="topic-metadata">

**Author:** [@lawless](https://forum.cmascenter.org/u/lawless)\
**Replies:** 10\
**Last updated:** [May 11, 2020, 9:08pm UTC](https://forum.cmascenter.org/t/cctm-build-script-warning-alignment-32-of-symbol-bstate3/1082 "2020-05-11T21:08:59Z")

</div>

Hello, I am trying to run the build script to compile CMAQ and I keep ending up with this errror /usr/bin/ld: Warning: alignment 32 of symbol \`bstate3\_’ in /home/colethatcher/53\_CMAQ/lib/x86\_64/gcc/ioapi/lib/libioapi.a…

---

## [CMAQ Compiling Issue](https://forum.cmascenter.org/t/cmaq-compiling-issue/1464)

<div class="topic-metadata">

**Author:** [@deeksha](https://forum.cmascenter.org/u/deeksha)\
**Replies:** 19\
**Last updated:** [May 8, 2020, 3:48pm UTC](https://forum.cmascenter.org/t/cmaq-compiling-issue/1464 "2020-05-08T15:48:47Z")

</div>

Hi, I compiled ioapi3.2 with gnu8.1.0 compilers. Now, when I try to compile CMAQ, I run into following error. Let me know if I can provide more information that may help. Thanks $HOME/CMAQ\_install/lib/x86\_64/gcc/ioapi…

---

## [CAMx v6.50 compilation](https://forum.cmascenter.org/t/camx-v6-50-compilation/1470)

<div class="topic-metadata">

**Author:** [@nguyennhathachi](https://forum.cmascenter.org/u/nguyennhathachi)\
**Replies:** 7\
**Last updated:** [May 5, 2020, 10:32am UTC](https://forum.cmascenter.org/t/camx-v6-50-compilation/1470 "2020-05-05T10:32:11Z")

</div>

Dear CMAS community, Is it possible to raise a question of CAMx (Comprehensive Air quality Modeling with Extension) in this forum? I am trying to compiling the CAMx latest version (v6.50) in my Linux system, but it fac…

---

## [Error in compile CCTM](https://forum.cmascenter.org/t/error-in-compile-cctm/873)

<div class="topic-metadata">

**Author:** [@jliu](https://forum.cmascenter.org/u/jliu)\
**Replies:** 18\
**Last updated:** [April 19, 2020, 9:30am UTC](https://forum.cmascenter.org/t/error-in-compile-cctm/873 "2020-04-19T09:30:52Z")

</div>

Hi, I compile the CCTM, but find the errors below: /JLIU/Build\_WRF/CMAQ/lib/x86\_64/gcc/ioapi/modules -I /kwork/JLIU/Build\_WRF/CMAQ/lib/x86\_64/gcc/ioapi/include\_files -I /kwork/JLIU/Build\_WRF/CMAQ/lib/x86\_64/gcc/mpi -I.…

---

## [CCTM Compile Error](https://forum.cmascenter.org/t/cctm-compile-error/1260)

<div class="topic-metadata">

**Author:** [@yvsathe](https://forum.cmascenter.org/u/yvsathe)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 9:57pm UTC](https://forum.cmascenter.org/t/cctm-compile-error/1260 "2020-02-04T21:57:06Z")

</div>

I am getting following error while building CCTM: wrtflag.F90:(.text+0x156): undefined reference to GOMP\_critical\_name\_end' /data/CMAQ/CMAQ\_V5.3.1/lib/x86\_64/gcc/ioapi/lib/libioapi.a(rdatt3.o): In function master.0.rdat…

---

## [CMAQ5.3 CCTM undefined reference error](https://forum.cmascenter.org/t/cmaq5-3-cctm-undefined-reference-error/997)

<div class="topic-metadata">

**Author:** [@jliu](https://forum.cmascenter.org/u/jliu)\
**Replies:** 5\
**Last updated:** [December 4, 2019, 10:00pm UTC](https://forum.cmascenter.org/t/cmaq5-3-cctm-undefined-reference-error/997 "2019-12-04T22:00:32Z")

</div>

Hello, Any one has any suggestions on the compiling errors below: Many thanks! I used the gcc version 8.3.0; netcdf-c-4.6.0; netcdf-fortran-4.5.0; mpich-3.3.1; ioapi-3.2; no errors on icon, bcon ad micp distr\_env.o:…

---

## [CCTM build error](https://forum.cmascenter.org/t/cctm-build-error/396)

<div class="topic-metadata">

**Author:** [@epenning](https://forum.cmascenter.org/u/epenning)\
**Replies:** 12\
**Last updated:** [November 8, 2019, 6:33pm UTC](https://forum.cmascenter.org/t/cctm-build-error/396 "2019-11-08T18:33:45Z")

</div>

Hi all, I’m trying to build CCTM in CMAQv5.2.1 using gcc version 4.8.5 and getting the following error: x\_ppm.F:261.132: \_W0, DRCN\_E) 1 Error: There is no specific subroutine for the generic ‘noop\_comm’ at (1) x\_pp…

---

## [CMAQ(v5.0.2)-APT installation issue](https://forum.cmascenter.org/t/cmaq-v5-0-2-apt-installation-issue/1077)

<div class="topic-metadata">

**Author:** [@huangj1311](https://forum.cmascenter.org/u/huangj1311)\
**Replies:** 1\
**Last updated:** [November 8, 2019, 6:06pm UTC](https://forum.cmascenter.org/t/cmaq-v5-0-2-apt-installation-issue/1077 "2019-11-08T18:06:32Z")

</div>

Hi all, I’ve built CMAQv5.0.2 base without problem here are my libs /storage/highspeed/apps/mvapich2-2.2\_ifc17/ /storage/highspeed/apps/ioapi-3.2\_20190925/Linux2\_x86\_64ifort\_intel17 /storage/highspeed/apps/netcdf-c-4.…

---

## [Initialization CMAQ on Rhea](https://forum.cmascenter.org/t/initialization-cmaq-on-rhea/1081)

<div class="topic-metadata">

**Author:** [@ckuo6](https://forum.cmascenter.org/u/ckuo6)\
**Replies:** 5\
**Last updated:** [November 7, 2019, 9:53pm UTC](https://forum.cmascenter.org/t/initialization-cmaq-on-rhea/1081 "2019-11-07T21:53:02Z")

</div>

Hi all, I’m a beginner of Linux and CMAQ. I followed the steps on the user manual of CMAQ and tried to initialize CMAQ environment (Chapter 5.5). I got the problem when typing source config\_cmaq.csh and it showed “…

---

## [How to deactivate ModAero?](https://forum.cmascenter.org/t/how-to-deactivate-modaero/650)

<div class="topic-metadata">

**Author:** [@yfjiao](https://forum.cmascenter.org/u/yfjiao)\
**Replies:** 7\
**Last updated:** [November 7, 2019, 4:02pm UTC](https://forum.cmascenter.org/t/how-to-deactivate-modaero/650 "2019-11-07T16:02:12Z")

</div>

Hello, I want to deactivate ModAero, what should I do? My version is CMAQ5.0.5. Thank you.

---

## [CMAQ5.3 MCIP compiling error](https://forum.cmascenter.org/t/cmaq5-3-mcip-compiling-error/994)

<div class="topic-metadata">

**Author:** [@jliu](https://forum.cmascenter.org/u/jliu)\
**Replies:** 3\
**Last updated:** [October 3, 2019, 2:11pm UTC](https://forum.cmascenter.org/t/cmaq5-3-mcip-compiling-error/994 "2019-10-03T14:11:25Z")

</div>

Hello, I find the error when I was compiling MCIP, please help me to figure it out if you know it. The makefile: FFLAGS = -O3 -I$(NETCDF\_DIR)/include -I$(IOAPI\_ROOT)/ioapi/fixed\_src LIBS = -L$(IOAPI\_ROOT)/Linux2\_…

---

## [CMAQV5.3 compile errors](https://forum.cmascenter.org/t/cmaqv5-3-compile-errors/993)

<div class="topic-metadata">

**Author:** [@jliu](https://forum.cmascenter.org/u/jliu)\
**Replies:** 2\
**Last updated:** [October 2, 2019, 7:04pm UTC](https://forum.cmascenter.org/t/cmaqv5-3-compile-errors/993 "2019-10-02T19:04:11Z")

</div>

Hello, Anyone know the errors below when I was compiling the BCON, ICON, … mpifort -c -ffixed-form -ffixed-line-length-132 -funroll-loops -finit-character=32 -O3 -funroll-loops -finit-character=32 -Wtabs -Wsurprising …

---

## [CMAQ\_v5.2\_DDM-3D biuld](https://forum.cmascenter.org/t/cmaq-v5-2-ddm-3d-biuld/991)

<div class="topic-metadata">

**Author:** [@huangj1311](https://forum.cmascenter.org/u/huangj1311)\
**Replies:** 3\
**Last updated:** [October 2, 2019, 6:50pm UTC](https://forum.cmascenter.org/t/cmaq-v5-2-ddm-3d-biuld/991 "2019-10-02T18:50:48Z")

</div>

Hi Carlie and Liz et al., I am trying to install CMAQv5.2\_DDM-3D, I built netcdf and ioapi with v5.2 and v5.3, installations was successful without ERROR. I then git the repo for v5.2DDM 3D and encountering u…

[Previous page](https://forum.cmascenter.org/c/cmaq/compiling/13.md)

[Next page](https://forum.cmascenter.org/c/cmaq/compiling/13.md?page=2)
