View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003934 | OpenFOAM | Bug | public | 2022-11-25 21:57 | 2022-11-25 22:48 |
Reporter | peksa | Assigned To | henry | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Centos | OS Version | 7 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0003934: ChemistryModel compilation issue | ||||
Description | While compiling a fresh clone of OF-dev, ChemistryModel classes throw the following error: In file included from lnInclude/chemistryModel.H:327:0, from chemistrySolver/chemistrySolver/chemistrySolvers.C:27: lnInclude/chemistryModel.C: In member function 'virtual Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::chemistryModel<ThermoType>::tc() const': lnInclude/chemistryModel.C:460:73: error: expected primary-expression before '>' token const volScalarField& rho = this->mesh().lookupObject<volScalarField> ... ... I compiled of-dev succesfully a few days ago so probably this is related to the latest commits. | ||||
Tags | No tags attached. | ||||
|
Try with this: commit 96cf91b5bb69f8aa18335927f638b4d0ef447ac1 Author: Henry Weller <http://cfd.direct> Date: Fri Nov 25 22:11:58 2022 +0000 chemistryModel: Updated for clang |
|
The new commit fixed the issue. Thank you. For clarification, I'm having GCC 5.4.0 and openmpi-1.10.7 as an environment. |
|
That is an old gcc version, you might want to consider upgrading. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-11-25 21:57 | peksa | New Issue | |
2022-11-25 22:13 | henry | Note Added: 0012879 | |
2022-11-25 22:34 | peksa | Note Added: 0012880 | |
2022-11-25 22:47 | henry | Note Added: 0012881 | |
2022-11-25 22:48 | henry | Assigned To | => henry |
2022-11-25 22:48 | henry | Status | new => resolved |
2022-11-25 22:48 | henry | Resolution | open => fixed |
2022-11-25 22:48 | henry | Fixed in Version | => dev |