# Smoke4.7-test case error with gcc

**URL:** <https://forum.cmascenter.org/t/smoke4-7-test-case-error-with-gcc/1968>\
**Category:** SMOKE\
**Created:** [December 7, 2020, 4:20pm UTC](https://forum.cmascenter.org/t/smoke4-7-test-case-error-with-gcc/1968 "2020-12-07T16:20:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzong](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mzong](https://forum.cmascenter.org/u/mzong)\
**Post date:** [December 7, 2020, 4:20pm UTC](https://forum.cmascenter.org/t/smoke4-7-test-case-error-with-gcc/1968/1 "2020-12-07T16:20:48Z")

</div>

Hello CMAS forum,

I recently compiled SMOKE 4.7 with gcc. Unfortunately, the test case did not run smoothly. By just running one file, smk\_area\_nctox.csh, dozens of errors showed up. Some users had similar questions in this forum and they solved it by changing their compiler from gcc to ifort. My virtual server does not support ifort. Here are what I have:  
gcc 4.8.5 20150623  
ioapi v3.2  
netcdf-fortran v4.4.3  
netcdf-c v4.4.0

Some errors are attached below and I look forward to any suggestions. Thank you very much.

> $ grep ERROR \*  
> smkinven.area.nctox.log: Value for SMK\_MAXERROR: 100  
> smkmerge.area.nctox.20050710.us12-nc.log: \*\*\* ERROR ABORT in subroutine MRGVNAMS  
> smkmerge.area.nctox.20050710.us12-nc.log: ERROR: Variable descriptions do not contain proper separator in spec matrix.  
> smkreport.area.temporal.nctox.2005191.log: ERROR: Speciation joiner “~” is not found for speciation va riable 1  
> smkreport.area.temporal.nctox.2005191.log: ERROR: Speciation joiner “~” is not found for speciation va riable 2  
> smkreport.area.temporal.nctox.2005191.log: ERROR: Speciation joiner “~” is not found for speciation va riable 3

More similar errors like the above one

> smkreport.area.temporal.nctox.2005191.log: \*\*\* ERROR ABORT in subroutine BLDREPIDX

---

<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:** [December 7, 2020, 4:53pm UTC](https://forum.cmascenter.org/t/smoke4-7-test-case-error-with-gcc/1968/2 "2020-12-07T16:53:43Z")

</div>

This issue could be related to the compiler version and compilation flags used for NetCDF and IOAPI. We have seen this issue before through gfortran compilers. Do you have an access to an intel compiler?

Better yet, have you tried to use the precompiled executables downloaded from CMAS website without the compilation? No need to recompile the codes since the SMOKE package already contains the precompiled executables as long as your GLIBC is newer than v2.17.

---

<div class="post-metadata">

**Author:** ![mzong](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mzong](https://forum.cmascenter.org/u/mzong)\
**Post date:** [December 7, 2020, 7:13pm UTC](https://forum.cmascenter.org/t/smoke4-7-test-case-error-with-gcc/1968/3 "2020-12-07T19:13:05Z")

</div>

My current server does not support intel fortran compiler. My understanding is we can’t run the precompiled executables with gcc, correct? Thank you very much for the quick response.
