# SMOKE compilation

**URL:** <https://forum.cmascenter.org/t/smoke-compilation/1197>\
**Category:** SMOKE\
**Created:** [December 20, 2019, 12:19am UTC](https://forum.cmascenter.org/t/smoke-compilation/1197 "2019-12-20T00:19:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![a.kashfi73](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/a.kashfi73/32/49_2.png) [@a.kashfi73](https://forum.cmascenter.org/u/a.kashfi73)\
**Post date:** [December 23, 2019, 9:24pm UTC](https://forum.cmascenter.org/t/smoke-compilation/1197/4 "2019-12-23T21:24:51Z")

</div>

Hello again,

After some modifications, errors were exactly the same as mentioned on [Error when compile SMOKEv4.7](https://forum.cmascenter.org/t/error-when-compile-smokev4-7/1155).

But after I did the Carlie’s suggestion for short version (removing GETPID), I get the following error.

cd /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2\_x86\_64gfort; gfortran -I/home/kdo/wormulon/kdo/SMOKE/ioapi/ioapi/fixed\_src -I/home/kdo/wormulon/kdo/SMOKE/src/inc -I/home/kdo/wormulon/kdo/SMOKE/ioapi/Linux2\_x86\_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO\_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR\_L=int -DIOAPI\_NO\_STDOUT=1 -DNEED\_ARGS=1 -o uam2ncf uam2ncf.o /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2\_x86\_64gfort/libemmod.a /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2\_x86\_64gfort/libsmoke.a /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2\_x86\_64gfort/libfileset.a -L/home/kdo/wormulon/kdo/SMOKE/src/…/Linux2\_x86\_64gfort -lfileset -lsmoke -lemmod -lfileset -lsmoke -L/home/kdo/wormulon/kdo/SMOKE/ioapi/Linux2\_x86\_64gfort -lioapi -lnetcdff -lnetcdf -fopenmp -dynamic -L/usr/lib64 -lm -lpthread -lc  
cd /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2\_x86\_64gfort; gfortran -I/home/kdo/wormulon/kdo/SMOKE/ioapi/ioapi/fixed\_src -I/home/kdo/wormulon/kdo/SMOKE/src/inc -I/home/kdo/wormulon/kdo/SMOKE/ioapi/Linux2\_x86\_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO\_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR\_L=int -DIOAPI\_NO\_STDOUT=1 -DNEED\_ARGS=1 -c /home/kdo/wormulon/kdo/SMOKE/src/emutil/gentpro.f  
/home/kdo/wormulon/kdo/SMOKE/src/emutil/gentpro.f:1663:25:

```
  & ((',', PROF_MON( S,NP )), NP = 1,12 )
                     1

```

Error: Expected a right parenthesis in expression at (1)  
/home/kdo/wormulon/kdo/SMOKE/src/emutil/gentpro.f:1695:34:

```
  & ( (',', PROF_DAY( S,NP ) ), NP = 1,31 )
                              1

```

Error: Expected a right parenthesis in expression at (1)  
Makefile:348: recipe for target ‘gentpro.o’ failed  
make: \*\*\* [gentpro.o] Error 1

Thank you,

---

_[View the full topic](https://forum.cmascenter.org/t/smoke-compilation/1197)._
