xiaoh / sediFoam

CFD-DEM Solver with emphasis on sediment transport
GNU General Public License v2.0
105 stars 51 forks source link

Sedifoam Compilation Error on Last Step (12th) #14

Open senapatibalaji opened 1 year ago

senapatibalaji commented 1 year ago

We successfully went through up to step number 11 but received an error on the 12th step while running the command "wmake" . I am attaching the error for reference:

g++ -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 -O3 -DNoRepository -ftemplate-depth-100 -IammpsFoamTurbulenceModels/include -I/scratch/17cl91f01/sedifoam/sediFoam/lammpsFoam/include -I/scratch/17cl91f01/sedifoam/lammps-1Feb14/src/ -I/scratch/17cl91f01/sedifoam/lammps-1Feb14/src/GRANULAR -I/usr/include/openmpi-x86_64/ -I/usr/lib64/openmpi/lib/ -I/scratch/17cl91f01/sedifoam/lammps-1Feb14/src/Obj_shanghailinux -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/lagrangian/basic/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/meshTools/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/cfdTools/incompressible -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/cfdTools/general/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/randomProcesses/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/triSurface/lnInclude -IchPressureGrad/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/transportModels -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/transportModels/incompressible/singlePhaseTransportModel -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/TurbulenceModels/turbulenceModels/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/TurbulenceModels/incompressible/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/TurbulenceModels/phaseIncompressible/lnInclude -IdragModels/lnInclude -IlnInclude -I. -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OSspecific/POSIX/lnInclude -fPIC -c lammpsFoam.C -o Make/linux64GccDPInt32Opt/lammpsFoam.o In file included from createFields.H:243:0, from lammpsFoam.C:61: createIBMForce.H: In function ‘int main(int, char**)’: createIBMForce.H:20:9: error: no matching function for call to ‘Foam::dimensioned::lookupOrDefault(const char [13], Foam::IOdictionary&, double, const Foam::dimensionSet&)’ ) ^ createIBMForce.H:20:9: note: candidates are: In file included from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.H:343:0, from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedScalar.H:38, from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/TimeState.H:38, from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/Time.H:47, from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude/fvCFD.H:6, from lammpsFoam.C:35: /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.C:177:25: note: static Foam::dimensioned Foam::dimensioned::lookupOrDefault(const Foam::word&, const Foam::dictionary&, const Foam::dimensionSet&, const Type&) [with Type = double] Foam::dimensioned Foam::dimensioned::lookupOrDefault ^ /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.C:177:25: note: no known conversion for argument 3 from ‘double’ to ‘const Foam::dimensionSet&’ /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.C:197:25: note: static Foam::dimensioned Foam::dimensioned::lookupOrDefault(const Foam::word&, const Foam::dictionary&, const Type&) [with Type = double] Foam::dimensioned Foam::dimensioned::lookupOrDefault ^ /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.C:197:25: note: candidate expects 3 arguments, 4 provided In file included from lammpsFoam.C:64:0: /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude/initContinuityErrs.H:37:8: warning: unused variable ‘cumulativeContErr’ [-Wunused-variable] scalar cumulativeContErr = 0; ^ make: *** [Make/linux64GccDPInt32Opt/lammpsFoam.o] Error 1