# SMOKE compilation issues

**URL:** <https://forum.cmascenter.org/t/smoke-compilation-issues/357>\
**Category:** SMOKE\
**Created:** [October 12, 2018, 1:35am UTC](https://forum.cmascenter.org/t/smoke-compilation-issues/357 "2018-10-12T01:35:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aeiou1992](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@aeiou1992](https://forum.cmascenter.org/u/aeiou1992)\
**Post date:** [October 12, 2018, 1:35am UTC](https://forum.cmascenter.org/t/smoke-compilation-issues/357/1 "2018-10-12T01:35:03Z")

</div>

I got a number of errors on SMOKE4.5 compilation. My compiler is intel fortran compiler(Linux2\_x86\_64ifort). FFLAGS=-fixed -132 -O3 -override-limits -fno-alis _._ NetCDF-4.3.3 and IOAPI-3.1 are well installed. But I got an error while trying to make.

Error messages:

ar: modar2pt.o: No such file or diretory

make: \*\*\* [libemmod.a] Error 1

Here’s my Makeinclude file:

AR=ar

CC=icc

FC=ifort

#M4=m4

LINK=$(CC)

OMPFLAGS=-openmp

OMPLIBS=-openmp

ARCHFLAGS = \

-DAUTO\_ARRAYS=1 \

-DF90=1 -DFLDMN=1 \

-DFSTR\_L=int \

-DIOAPI\_NO\_STDOUT=1 \

-DAVOID\_FLUSH=1 -DBIT32=1

Can anyone help solve the problem?

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [October 12, 2018, 7:06pm UTC](https://forum.cmascenter.org/t/smoke-compilation-issues/357/2 "2018-10-12T19:06:29Z")

</div>

Based on your error message, you are missing modar2pt module file located at …/src/emmod.

As long as you are running SMOKE on Linux OS, you do not need to compile SMOKE but use the precompiled executables you downloded as a package. Please go throught the SMOKE user’s guide Chapter 12:

[https://www.cmascenter.org/smoke/documentation/4.6/html/ch12.html](https://www.cmascenter.org/smoke/documentation/4.6/html/ch12.html)

If you can run any of program using the run scripts priveded with the package, you do not need to compile SMOKE.

BH
