# SMOKE compile error

**URL:** <https://forum.cmascenter.org/t/smoke-compile-error/1946>\
**Category:** SMOKE\
**Created:** [November 26, 2020, 8:58pm UTC](https://forum.cmascenter.org/t/smoke-compile-error/1946 "2020-11-26T20:58:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francesco](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@Francesco](https://forum.cmascenter.org/u/Francesco)\
**Post date:** [November 26, 2020, 8:58pm UTC](https://forum.cmascenter.org/t/smoke-compile-error/1946/1 "2020-11-26T20:58:09Z")

</div>

Hello everyone, I want to ask you how I can compile SMOKE 4.8 with gfortran, I have been trying and I get this error:

TO\_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR\_L=int -DIOAPI\_NO\_STDOUT=1 -DNEED\_ARGS=1 -c /home/francesco/05SMOKE/SMOKE/subsys/smoke/src/lib/alocatbl.f  
PARMS3.EXT:104:80:

Error: Expected an initialization expression at (1)  
make: \*\*\* [Makefile:348: alocatbl.o] Error 1

Please could you help me, thank you very much

---

<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:** [November 26, 2020, 10:04pm UTC](https://forum.cmascenter.org/t/smoke-compile-error/1946/2 "2020-11-26T22:04:10Z")

</div>

In your _ioapi/fixed\_src/_ directory, is there an ampersand ("&") at the end of line 104 in _PARMS3.EXT_? If so, delete it (the line should end with a blank).

( The I/O API itself follows the Fortran Standard in its source format (which has two variants, the “fixed” and “free” forms), and uses the Standard-suggested “both-form” source format for its `INCLUDE`-files. Both SMOKE and CMAQ use a non-Standard-conforming “fixed-132” format; the _ioapi/fixed\_src/_ `INCLUDE`-files are hacked from the “normal” ones to fit with this “fixed-132” format. Sadly, for a short time there was a typo in _PARMS3.EXT_ that defeated the fixed-132 hack. Consequently, you need to remove that line-104/column-80 ampersand from this file,  
letting this line end with a blank.)

---

<div class="post-metadata">

**Author:** ![Francesco](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@Francesco](https://forum.cmascenter.org/u/Francesco)\
**Post date:** [November 27, 2020, 12:35am UTC](https://forum.cmascenter.org/t/smoke-compile-error/1946/3 "2020-11-27T00:35:32Z")

</div>

#cjcoats,  
Thanks very much, the compilation was successful
