failed CFDEM compile

Submitted by c.blyton on Tue, 04/08/2014 - 00:02

Hi,

I am seeking help with the installation of CFDEM. Specifically, on a failed compilation attempt I receive the output that follows.

Can someone please shed some light on this issue?

Regards,
Chris Blyton

// log_compileCFDEMcoupling_cfdemSolverIB_cfdemSolverIB-2014-04-07-16:29 //

/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/solvers/cfdemSolverIB

removing all .dep files ...
Making dependency list for source file cfdemSolverIB.C
could not open file RASModel.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/chris/OpenFOAM/OpenFOAM-2.2.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude -I/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/meshTools/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/sampling/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/dynamicFvMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/dynamicMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/dynamicMesh/dynamicMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/fvOptions/lnInclude -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemSolverIB.o
/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude/readPISOControls.H: In function ‘int main(int, char**)’:
/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude/readPISOControls.H:3:15: warning: unused variable ‘nOuterCorr’ [-Wunused-variable]
/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude/readPISOControls.H:15:16: warning: unused variable ‘transonic’ [-Wunused-variable]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude -I/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/meshTools/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/sampling/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/dynamicFvMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/dynamicMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/dynamicMesh/dynamicMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/fvOptions/lnInclude -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/cfdemSolverIB.o -L/home/chris/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib \
-L/home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/lib -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -lfiniteVolume -ldynamicFvMesh -ldynamicMesh -lfvOptions -llagrangianCFDEM-PUBLIC-2.2.x -lOpenFOAM -ldl -lm -o /home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/bin/cfdemSolverIB
/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.2.x
collect2: ld returned 1 exit status
make: *** [/home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/bin/cfdemSolverIB] Error 1
change path
running testcase /home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/solvers/cfdemSolverPisoScalar

// log_compileCFDEMcoupling_cfdemSolverPisoScalar_cfdemSolverPisoScalar-2014-04-07-16:29 //

/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/solvers/cfdemSolverPisoScalar

removing all .dep files ...
Making dependency list for source file cfdemSolverPisoScalar.C
could not open file RASModel.H for source file cfdemSolverPisoScalar.C
SOURCE=cfdemSolverPisoScalar.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude -I/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude -I/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/cfdTools -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemSolverPisoScalar.o
In file included from cfdemSolverPisoScalar.C:43:0:
/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/forceModel.H:153:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/forceModel.H:155:37: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/forceModel.H:161:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude/readPISOControls.H: In function ‘int main(int, char**)’:
/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude/readPISOControls.H:3:15: warning: unused variable ‘nOuterCorr’ [-Wunused-variable]
/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude/readPISOControls.H:15:16: warning: unused variable ‘transonic’ [-Wunused-variable]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude -I/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude -I/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/cfdTools -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/cfdemSolverPisoScalar.o -L/home/chris/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib \
-L/home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/lib -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -lfiniteVolume -llagrangianCFDEM-PUBLIC-2.2.x -lOpenFOAM -ldl -lm -o /home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/bin/cfdemSolverPisoScalar
/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.2.x
collect2: ld returned 1 exit status
make: *** [/home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/bin/cfdemSolverPisoScalar] Error 1

// log_compileCFDEMcoupling_cfdemPostproc_cfdemPostproc-2014-04-07-16:29 //

/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/utilities/cfdemPostproc

removing all .dep files ...
Making dependency list for source file cfdemPostproc.C
could not open file RASModel.H for source file cfdemPostproc.C
SOURCE=cfdemPostproc.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude -I/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemPostproc.o
In file included from cfdemPostproc.C:44:0:
/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/forceModel.H:153:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/forceModel.H:155:37: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/forceModel.H:161:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude -I/home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/cfdemPostproc.o -L/home/chris/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib \
-L/home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/lib -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -lfiniteVolume -llagrangianCFDEM-PUBLIC-2.2.x -lOpenFOAM -ldl -lm -o /home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/bin/cfdemPostproc
/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.2.x
collect2: ld returned 1 exit status
make: *** [/home/chris/OpenFOAM/chris-2.2.x/platforms/linux64GccDPOpt/bin/cfdemPostproc] Error 1
Note: the list of utilities compiled might be incomplete.
please check /home/chris/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/utilities for more utilities available

alice's picture

alice | Wed, 04/16/2014 - 10:20

Hi Chris,
from what I can tell the problem occurs at an earlier stage. The logs displayed here are those from the compilation of the solvers, and the message "/usr/bin/ld: cannot find -llagrangianCFDEM-PUBLIC-2.2.x" indicates that the compilation of the lagrangian particle cloud failed...
Cheers,
Alice