cfdemsolverIB compiling error

Submitted by shahabgol on Sat, 12/20/2014 - 13:51

Dear all,

I have installed cfdem soupling before successfully, I tried to install it on my new computer but the following error occurs when I tried to compile cfdemsolverIB by "wmake"

error:
cfdemSolverIB.C:44:26: fatal error: cfdemCloudIB.H: No such file or directory
#include "cfdemCloudIB.H"

here I copy the error completely:

Making dependency list for source file cfdemSolverIB.C
could not open file cfdemCloudIB.H for source file cfdemSolverIB.C
could not open file implicitCouple.H for source file cfdemSolverIB.C
could not open file averagingModel.H for source file cfdemSolverIB.C
could not open file regionModel.H for source file cfdemSolverIB.C
could not open file voidFractionModel.H for source file cfdemSolverIB.C
could not open file meshToMeshNew.H for source file cfdemSolverIB.C
could not open file fvIOoptionList.H for source file cfdemSolverIB.C
could not open file createFvOptions.H for source file cfdemSolverIB.C
SOURCE=cfdemSolverIB.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/transportModels -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/shahab/CFDEM/CFDEMcoupling-PUBLIC-2.1.0/src/lagrangian/cfdemParticle/lagrangian/cfdemParticle/lnInclude -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/dynamicFvMesh/lnInclude -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/dynamicMesh/lnInclude -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/dynamicMesh/dynamicMesh/lnInclude -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/fvOptions/lnInclude -IlnInclude -I. -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/shahab/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemSolverIB.o
cfdemSolverIB.C:44:26: fatal error: cfdemCloudIB.H: No such file or directory
#include "cfdemCloudIB.H"
^
compilation terminated.
make: *** [Make/linux64GccDPOpt/cfdemSolverIB.o] Error 1

I think other solvers are compiled successfully, because the first step in cfdemTestTUT command works correctly but the second step face errors.

can anyone help me how to solve the problem?

regards,
Shahab

ural | Mon, 03/02/2015 - 09:30

Hello! Have you managed to do it? i have the same trouble and i don not have a clue about how to beat it.

ural | Tue, 03/03/2015 - 11:39

Hello! it seems that i have the same problem but manual compillaition of liggghts haven't made my day... can you share your bashsrc file maybe it might be helpful in my situation, or maybe you can give me some man or somothing... thanks for your help guys

shahabgol | Sat, 03/14/2015 - 12:23

Hi guys,

No, unfortunately no answer! I use Piso solver instead.

Nucleophobe's picture

Nucleophobe | Fri, 03/27/2015 - 14:16

Shahabgol,

Have you tried starting over with the latest version from the git repo? I ran into problems like this and starting from scratch I was always able to get things working eventually.

It's strange that cfdemSolverPiso is working and the IB solver is not...

Anyway, good luck. Maybe check your Make/options file to try to figure out why the dependency files are not found:
Making dependency list for source file cfdemSolverIB.C
could not open file cfdemCloudIB.H for source file cfdemSolverIB.C
could not open file implicitCouple.H for source file cfdemSolverIB.C
could not open file averagingModel.H for source file cfdemSolverIB.C
could not open file regionModel.H for source file cfdemSolverIB.C
could not open file voidFractionModel.H for source file cfdemSolverIB.C
could not open file meshToMeshNew.H for source file cfdemSolverIB.C
could not open file fvIOoptionList.H for source file cfdemSolverIB.C
could not open file createFvOptions.H for source file cfdemSolverIB.C