Replies: 1 comment
-
|
I found a solution here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all! I am trying to compile rheoTool with of9. I have successfully completed the part with Eigen and Petsc. When running ./Allwmake however, it starts compiling for a while but it crashes at some point (after 5-6 minutes) with the following output:
Making dependency list for source file rheoFoam.C
g++ -std=c++14 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I../shared/singlePhase -I/opt/openfoam9/src/finiteVolume/lnInclude -I/opt/openfoam9/src/meshTools/lnInclude -I/opt/openfoam9/src/sampling/lnInclude -I/opt/openfoam9/src/dynamicFvMesh/lnInclude -I/opt/openfoam9/src/dynamicMesh/lnInclude -I../../libs/constitutiveEquations/lnInclude -I../../libs/gaussDefCmpwConvectionScheme/lnInclude -I../../libs/boundaryConditions/lnInclude -I../../libs/postProcessing/postProcUtils/lnInclude -I../../libs/fvmb/lnInclude -I../../libs/sparseMatrixSolvers/lnInclude -isystem/home/nchamakos/OpenFOAM/nchamakos-9/ThirdParty/Eigen3.2.9 -isystem/home/nchamakos/OpenFOAM/nchamakos-9/ThirdParty/petsc-3.16.5/arch-linux-c-opt/include -isystem/home/nchamakos/OpenFOAM/nchamakos-9/ThirdParty/petsc-3.16.5/include -DOMPI_SKIP_MPICXX -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread -IlnInclude -I. -I/opt/openfoam9/src/OpenFOAM/lnInclude -I/opt/openfoam9/src/OSspecific/POSIX/lnInclude -fPIC -c rheoFoam.C -o Make/linux64GccDPInt32Opt/rheoFoam.o
In file included from rheoFoam.C:43:0:
../shared/singlePhase/CorrectPhi.H:3:1: error: ‘phi’ does not name a type
phi = mesh.Sf() & Uf();
^~~
../shared/singlePhase/CorrectPhi.H:5:15: error: expected constructor, destructor, or type conversion before ‘(’ token
correctUphiBCs(U, phi, true);
^
../shared/singlePhase/CorrectPhi.H:8:1: error: expected constructor, destructor, or type conversion before ‘(’ token
(
^
In file included from ../shared/singlePhase/CorrectPhi.H:17:0,
from rheoFoam.C:43:
/opt/openfoam9/src/finiteVolume/lnInclude/continuityErrs.H:32:1: error: expected unqualified-id before ‘{’ token
{
^
In file included from rheoFoam.C:43:0:
../shared/singlePhase/CorrectPhi.H:20:18: error: expected constructor, destructor, or type conversion before ‘(’ token
fvc::makeRelative(phi, U);
^
In file included from /opt/openfoam9/src/OpenFOAM/lnInclude/postProcess.H:105:0,
from rheoFoam.C:58:
./createFields.H: In function ‘int main(int, char**)’:
./createFields.H:33:1: error: ‘pressureReference’ was not declared in this scope
pressureReference pressureReference(p, mesh.solutionDict().subDict("SIMPLE"));
^~~~~~~~~~~~~~~~~
./createFields.H:33:1: note: suggested alternative: ‘ISColoringReference’
pressureReference pressureReference(p, mesh.solutionDict().subDict("SIMPLE"));
^~~~~~~~~~~~~~~~~
ISColoringReference
In file included from rheoFoam.C:65:0:
createFields.H:33:1: error: ‘pressureReference’ was not declared in this scope
pressureReference pressureReference(p, mesh.solutionDict().subDict("SIMPLE"));
^~~~~~~~~~~~~~~~~
createFields.H:33:1: note: suggested alternative: ‘ISColoringReference’
pressureReference pressureReference(p, mesh.solutionDict().subDict("SIMPLE"));
^~~~~~~~~~~~~~~~~
ISColoringReference
In file included from rheoFoam.C:113:0:
../shared/singlePhase/correctPhi.H:5:1: error: ‘correctUphiBCs’ was not declared in this scope
correctUphiBCs(U, phi, true);
^~~~~~~~~~~~~~
../shared/singlePhase/correctPhi.H:5:1: note: suggested alternative: ‘correctPhi’
correctUphiBCs(U, phi, true);
^~~~~~~~~~~~~~
correctPhi
../shared/singlePhase/correctPhi.H:7:1: error: ‘CorrectPhi’ was not declared in this scope
CorrectPhi
^~~~~~~~~~
../shared/singlePhase/correctPhi.H:7:1: note: suggested alternative: ‘correctPhi’
CorrectPhi
^~~~~~~~~~
correctPhi
make: *** [/opt/openfoam9/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/rheoFoam.o] Error 1
Note that I have tried two g++ versions (the default 8.4 as well as version 7). Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions