issue with cfdemCompCFDEM

Submitted by Matthew on Wed, 04/05/2017 - 00:44

Hi,
i'm trying to compile CFDEM coupling, after having followed a tutorial found here. I successfully installed OpenFoam 3.0.x and the right LIGGGHTS version. But when i run the command cfdemCompCFDEM to compile CFDEMcoupling, i get this
NB it is just the first lines, but i think that here it is the problem!
Probably, CFDEMcoupling can't see OpenFoam, but it doesn't give me the error when i start the new terminal!

Thank you very much for helping,
Matteo

Please provide the libraries to be compiled in the /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/library-list.txt file.
will change path and create lnInclude...
will change path and create lnInclude...
will change path and create lnInclude...

\n Creation of lnInclude directories finished!

will change path...
rm: cannot remove '/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/log/log_compileCFDEMcoupling_cfdemParticle': No such file or directory

// log_compileCFDEMcoupling_cfdemParticle-2017-04-05-00:35 //

/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle

Compiling a incompressible library.
removing all .dep files ...
rm: cannot remove '/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/Make/cfdemParticle': No such file or directory
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C
could not open file omp.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
Making dependency list for source file subModels/smoothingModel/noSmoothing/noSmoothing.C
could not open file omp.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
Making dependency list for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C
could not open file omp.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
[...]

Matthew | Wed, 04/05/2017 - 01:09

and this is the output of cfdemSysTest

CFDEM_VERSION=PUBLIC
couple to OF_VERSION=3.0.x
compile option=Opt

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/matte/CFDEM/matte-PUBLIC-3.0.x
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/matte/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /home/matte/LPP/src
valid:yes critical:yes - $CFDEM_ADD_LIBS_DIR = /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/addLibs_universal
valid:yes critical:no - $CFDEM_PIZZA_DIR = /home/matte/PIZZA/pizza-9Oct15/src
valid:NO critical:no - $CFDEM_TEST_HARNESS_PATH = /home/matte/CFDEM/matte-PUBLIC-3.0.x/log/logFilesCFDEM-PUBLIC-3.0.x does not exist
valid:NO critical:no - $C3PO_SRC_DIR = does not exist

thank you very much,
Matteo

j-kerbl's picture

j-kerbl | Wed, 04/05/2017 - 13:47

Hi Matteo,

can you try compiling it with cfdemCompCFDEMall ?
This will additionally trigger the LIGGGHTS compilation, which is necessary to compile it as a library used by CFDEM.
You can a-priori confirm that, if check the last lines of
/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/log/log_compileCFDEMcoupling_cfdemParticle
for an error similar to: ld: error: could not find library llmp_auto

Cheers,
Josef

Matthew | Wed, 04/05/2017 - 15:31

Hi joseph, thank you very much for your answer.
I compiled it with cfdemCompCFDEMall and the ligghts part seems to be ok, while the other part is still not working... i copy here the logs of the two parts.
i don't know what to do!!!

Thank you,
Matteo

----->>LOG of LIGGGHTS
// log_compileLIGGGHTS-2017-04-05-15:08 //

/home/matte/LIGGGHTS-PUBLIC/src

rm -rf Obj_fedora_fpic
make[1]: Entering directory '/home/matte/LIGGGHTS-PUBLIC/src/Obj_fedora_fpic'
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../global_properties.cpp > global_properties.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../fix_check_timestep_sph.cpp > fix_check_timestep_sph.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../atom_vec_hybrid.cpp > atom_vec_hybrid.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../atom_vec_ellipsoid.cpp > atom_vec_ellipsoid.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../timer.cpp > timer.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../kspace.cpp > kspace.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../compute_surface.cpp > compute_surface.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../verlet.cpp > verlet.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../region_prism.cpp > region_prism.d
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -Wno-uninitialized -fPIC -DLAMMPS_GZIP -M ../fix_contact_history.cpp > fix_contact_history.d
[...]

---->> here it is the LOG of CFDEMcoupling:

// log_compileCFDEMcoupling_cfdemParticle-2017-04-05-15:13 //

/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle

removing all .dep files ...
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C
could not open file omp.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/smoothingModel/constDiffSmoothing/constDiffSmoothing.C due to No such file or directory
Making dependency list for source file subModels/smoothingModel/noSmoothing/noSmoothing.C
could not open file omp.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/smoothingModel/noSmoothing/noSmoothing.C due to No such file or directory
Making dependency list for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C
could not open file omp.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/smoothingModel/smoothingModel/newSmoothingModel.C due to No such file or directory
Making dependency list for source file subModels/smoothingModel/smoothingModel/smoothingModel.C
could not open file omp.h for source file subModels/smoothingModel/smoothingModel/smoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/smoothingModel/smoothingModel/smoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/smoothingModel/smoothingModel/smoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/smoothingModel/smoothingModel/smoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/smoothingModel/smoothingModel/smoothingModel.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/smoothingModel/smoothingModel/smoothingModel.C due to No such file or directory
Making dependency list for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C
could not open file omp.h for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C due to No such file or directory
Making dependency list for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C
could not open file omp.h for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C due to No such file or directory
Making dependency list for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C
could not open file omp.h for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C due to No such file or directory
Making dependency list for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C
could not open file omp.h for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C due to No such file or directory
Making dependency list for source file subModels/liggghtsCommandModel/execute/execute.C
could not open file omp.h for source file subModels/liggghtsCommandModel/execute/execute.C due to No such file or directory
[...]

j-kerbl's picture

j-kerbl | Thu, 04/06/2017 - 11:35

Hi Matteo,

so far I only see warnings, can you search these files for errors? (Not error.cpp, error.h, ...)
Please post them, if you find any.

If you do not find any error here, please also check
/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/log/log_compileCFDEMcoupling_cfdemSolverPiso

Cheers,
Josef

Matthew | Mon, 04/10/2017 - 22:55

i found there were some errors like this...

/home/matte/LIGGGHTS-PUBLIC/src/force.h:152:17: note: candidate expects 0 arguments, 1 provided
/home/matte/OpenFOAM/OpenFOAM-3.0.x/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/scalarTransportModel/scalarTransportModel.o' failed
make: *** [Make/linux64GccDPInt32Opt/scalarTransportModel/scalarTransportModel.o] Error 1
will change path...
rm: cannot remove '/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/log/log_compileCFDEMcoupling_fvOptionsCFDEM': No such file or directory

maybe the problem is that it cannot found source files like this
could not open file ompi/mpi/cxx/pgroup_inln.h
because mine are called
ompi/mpi/cxx/group_inln.h (same as before but group_inln.h, without the initial p)

why is there this issue?
and for the previous error?

thank you very much,
Matteo

Matthew | Mon, 04/10/2017 - 23:11

and this is the log_compileCFDEMcoupling_cfdemSolverPISO

// log_compileCFDEMcoupling_cfdemSolverPiso_cfdemSolverPiso-2017-04-10-22:55 //

/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/applications/solvers/cfdemSolverPiso

removing all .dep files ...
Making dependency list for source file cfdemSolverPiso.C
could not open file fvOptions.H for source file cfdemSolverPiso.C due to No such file or directory
could not open file omp.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/pmpicxx.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/pop_inln.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/pgroup_inln.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/pstatus_inln.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file ompi/mpi/cxx/prequest_inln.h for source file cfdemSolverPiso.C due to No such file or directory
could not open file cfdemCloudRotation.H for source file cfdemSolverPiso.C due to No such file or directory
could not open file cfdemCloudRotationSuperquadric.H for source file cfdemSolverPiso.C due to No such file or directory
could not open file readPISOControls.H for source file cfdemSolverPiso.C due to No such file or directory
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 -DOMPI_SKIP_MPICXX -DCFDEMWMPROJECTVERSION="30" -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/cfdTools -I/home/matte/LIGGGHTS-PUBLIC/src -IlnInclude -I. -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/matte/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c cfdemSolverPiso.C -o Make/linux64GccDPInt32Opt/cfdemSolverPiso.o
In file included from /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/momCoupleModel.H:44:0,
from /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloudI.H:33,
from /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloud.H:570,
from cfdemSolverPiso.C:53:
/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/dataExchangeModel.H: In member function ‘void Foam::dataExchangeModel::setCGs(LAMMPS_NS::LAMMPS*) const’:
/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/dataExchangeModel.H:282:59: error: no matching function for call to ‘LAMMPS_NS::Force::cg(int)’
particleCloud_.setCG(lmp->force->cg(int(GREAT)));
^
In file included from /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/dataExchangeModel.H:48:0,
from /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/momCoupleModel.H:44,
from /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloudI.H:33,
from /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloud.H:570,
from cfdemSolverPiso.C:53:
/home/matte/LIGGGHTS-PUBLIC/src/force.h:152:17: note: candidate: double LAMMPS_NS::Force::cg()
inline double cg()
^
/home/matte/LIGGGHTS-PUBLIC/src/force.h:152:17: note: candidate expects 0 arguments, 1 provided
/home/matte/OpenFOAM/OpenFOAM-3.0.x/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/cfdemSolverPiso.o' failed
make: *** [Make/linux64GccDPInt32Opt/cfdemSolverPiso.o] Error 1

Matthew | Mon, 04/24/2017 - 13:19

Hi all,
I Think this is a common problem, and i cannot find any solution. Anyone can find a solution for this? In particolar the problem is that
"Could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C due to No such file or directory", for example, or the other very similar lines of the log.

Why is it asking for file (note initial 'p') "pstatus_inln.h" instead of "status_inln.h", which is of mpi?

I Think that this could be a problem in the CFDEM coupling... otherwise i really dont have answers for this.

Thank you for attention and please reply,
Matthew

Ermek Asylbekov | Mon, 05/22/2017 - 15:57

hi all,
the could not open file ompi/[..] are just warnings that are not to be compared to actual errors (as I recall from other subjects of this forum).
I also have the same problem as Matthew with
[..]/src/force.h:152:17: note: candidate: double LAMMPS_NS::Force::cg()
inline double cg()
[..]/src/force.h:152:17: note: candidate expects 0 arguments, 1 provided
for a while now. LIGGGHTS works on its own so I think it's an issue of CFDEM.
Solutions anyone?

medvedeg | Mon, 05/22/2017 - 16:40

Hallo Ermek,
looks like your LIGGGHTS and CFDEMcoupling you are using are not compatible to each other! Try the latest versions! Currently, 3.6.0

Alexander Podlozhnyuk

Ermek Asylbekov | Tue, 05/23/2017 - 09:48

Hi Alexander,
thank you for your reply.
According to versionInfo.H I have the latest cfdem-3.6.1.
My LIGGGHTS however is v. 3.3.1 since its the latest LIGGGHTS with bonded particle package. Is there a way to downgrade cfdem? e.g. getting cfdem-3.3?
thxia