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
Code: Select all
../../../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) \
| ^~~
Thanks
Is this the first time this has been seen?