# Code Saturne 6 Beta

**URL:** <https://code-saturne.org/forum/t/code-saturne-6-beta/1762>\
**Category:** Installation issues\
**Created:** [July 31, 2019, 1:02pm UTC](https://code-saturne.org/forum/t/code-saturne-6-beta/1762 "2019-07-31T13:02:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![makeclean](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/c5a1d2/32.png) [@makeclean](https://code-saturne.org/forum/u/makeclean)\
**Post date:** [July 31, 2019, 1:02pm UTC](https://code-saturne.org/forum/t/code-saturne-6-beta/1762/1 "2019-07-31T13:02:39Z")

</div>

Hi

Installing on FC30 with GCC-9.1.1 (I suspect this is the issue)  
  
  
PYTHON=python3 ../configure --prefix=/home/adavis/opt/code\_saturne

I get the following compilation error

```plaintext
../../../src/cdo/cs_cdofb_ac.c: In function ‘cs_cdofb_ac_compute_implicit’:
../../../src/cdo/cs_cdofb_ac.c:880:36: error: ‘dt_cur’ not specified in enclosing ‘parallel’
  880 | const cs_real_t inv_dtcur = 1./dt_cur;
      | ~~^~~~~~~../../../src/cdo/cs_cdofb_ac.c:860:10: error: enclosing ‘parallel’
  860 | # pragma omp parallel if (quant->n_cells > CS_THR_MIN) default(none) \
      | ^~~../../../src/cdo/cs_cdofb_ac.c:883:5: error: ‘time_eval’ not specified in enclosing ‘parallel’
  883 | cs_equation_init_properties(mom_eqp, mom_eqb, time_eval, cb);
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../../../src/cdo/cs_cdofb_ac.c:860:10: error: enclosing ‘parallel’
  860 | # pragma omp parallel if (quant->n_cells > CS_THR_MIN) default(none) \
      | ^~~../../../src/cdo/cs_cdofb_ac.c:992:9: error: ‘ __func__ ’ not specified in enclosing ‘parallel’
  992 | bft_error( __FILE__ , __LINE__ , 0, " %s: Only diagonal time treatment "
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  993 | "available so far.\n", __func__ );
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../../../src/cdo/cs_cdofb_ac.c:860:10: error: enclosing ‘parallel’
  860 | # pragma omp parallel if (quant->n_cells > CS_THR_MIN) default(none) \
      | ^~~../../../src/cdo/cs_cdofb_ac.c: In function ‘cs_cdofb_ac_compute_theta’:
../../../src/cdo/cs_cdofb_ac.c:1205:5: error: ‘time_eval’ not specified in enclosing ‘parallel’
 1205 | cs_equation_init_properties(mom_eqp, mom_eqb, time_eval, cb);
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../../../src/cdo/cs_cdofb_ac.c:1184:10: error: enclosing ‘parallel’
 1184 | # pragma omp parallel if (quant->n_cells > CS_THR_MIN) default(none) \
      | ^~~../../../src/cdo/cs_cdofb_ac.c:1248:7: error: ‘t_cur’ not specified in enclosing ‘parallel’
 1248 | cs_cdofb_navsto_define_builder(t_cur + dt_cur, nsp, cm, csys,
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1249 | sc->pressure_bc, sc->bf_type,
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1250 | &nsb);
      | ~~~~~../../../src/cdo/cs_cdofb_ac.c:1184:10: error: enclosing ‘parallel’
 1184 | # pragma omp parallel if (quant->n_cells > CS_THR_MIN) default(none) \
      | ^~~../../../src/cdo/cs_cdofb_ac.c:1248:7: error: ‘dt_cur’ not specified in enclosing ‘parallel’
 1248 | cs_cdofb_navsto_define_builder(t_cur + dt_cur, nsp, cm, csys,
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1249 | sc->pressure_bc, sc->bf_type,
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1250 | &nsb);
      | ~~~~~../../../src/cdo/cs_cdofb_ac.c:1184:10: error: enclosing ‘parallel’
 1184 | # pragma omp parallel if (quant->n_cells > CS_THR_MIN) default(none) \
      | ^~~../../../src/cdo/cs_cdofb_ac.c:1278:11: error: ‘tcoef’ not specified in enclosing ‘parallel’
 1278 | cs_cdofb_vecteq_sourceterm(cm, mom_eqp,
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1279 | t_cur, tcoef, /* time, scaling */
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1280 | cb, mom_eqb, csys);
      | ~~~~~~~~~~~~~~~~~~../../../src/cdo/cs_cdofb_ac.c:1184:10: error: enclosing ‘parallel’
 1184 | # pragma omp parallel if (quant->n_cells > CS_THR_MIN) default(none) \
      | ^~~../../../src/cdo/cs_cdofb_ac.c:1342:9: error: ‘ __func__ ’ not specified in enclosing ‘parallel’
 1342 | bft_error( __FILE__ , __LINE__ , 0, " %s: Only diagonal time treatment "
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1343 | "available so far.\n", __func__ );
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../../../src/cdo/cs_cdofb_ac.c:1184:10: error: enclosing ‘parallel’
 1184 | # pragma omp parallel if (quant->n_cells > CS_THR_MIN) default(none) \
      | ^~~

```

I suspect due to how new the compiler is, it may be bugging out on this section.

Thanks

Is this the first time this has been seen?

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [July 31, 2019, 2:23pm UTC](https://code-saturne.org/forum/t/code-saturne-6-beta/1762/2 "2019-07-31T14:23:34Z")

</div>

Hello,

Yes, I have fixed/worked around similar issues on the master branch (using gcc 9.1), but it seems they were not merged on 6.0. I’ll merge this on 6.0 by tomorrow and release a new beta…

Best regards,

Yvan
