|
[Sponsors] |
New Solver Failing to Compile with the attached error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 6, 2022, 09:19 |
New Solver Failing to Compile with the attached error
|
#1 |
New Member
Join Date: Mar 2010
Posts: 11
Rep Power: 16 |
Can someone help me figure out the problem with compiling a new solver in OpenFoam. This is part of compilation output.
$ wmake Making dependency list for source file modeFFT.C g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE= -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/finiteVolume/lnInclude -I/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/meshTools/lnInclude -IlnInclude -I. -I/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude -I/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OSspecific/POSIX/lnInclude -fPIC -c modeFFT.C -o Make/linux64GccDPInt32Opt/modeFFT.o In file included from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/labelList.H:47:0, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/UPstream.H:42, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/Pstream.H:42, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/parRun.H:35, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/finiteVolume/lnInclude/fvCFD.H:4, from modeFFT.C:17: /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/label.H:47:19: error: operator '!=' has no left operand #if WM_LABEL_SIZE != 32 && WM_LABEL_SIZE != 64 ^~ In file included from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/UList.H:47:0, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/List.H:43, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/labelList.H:48, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/UPstream.H:42, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/Pstream.H:42, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/parRun.H:35, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/finiteVolume/lnInclude/fvCFD.H:4, from modeFFT.C:17: /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/uLabel.H:47:19: error: operator '!=' has no left operand #if WM_LABEL_SIZE != 32 && WM_LABEL_SIZE != 64 ^~ In file included from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/labelList.H:47:0, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/UPstream.H:42, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/Pstream.H:42, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/parRun.H:35, from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/finiteVolume/lnInclude/fvCFD.H:4, from modeFFT.C:17: /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/label.H:59:18: error: ‘int_t’ does not name a type typedef INT_SIZE(int, _t) label; Last edited by samaraseeri; September 7, 2022 at 06:11. Reason: error message was missing. best |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 10:40 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 06:07 |