Error while Compiling CFDEM (2.5.5)

Submitted by Marckmann on Tue, 06/25/2013 - 14:31

Hi,

I have a problem with compiling CFDEM (2.5.5) with OpenFoam 2.1.1. It's all working fine until I do "cfdemCompCFDEM". The resulting errors are (see the attachment for the complete log file):

"Making dependency list for source file subModels/forceModel/DiFeliceDrag/DiFeliceDrag.C
could not open file ompi/mpi/cxx/pmpicxx.h for source file subModels/forceModel/checkCouplingInterval/checkCouplingInterval.C
could not open file ompi/mpi/cxx/pop_inln.h for source file subModels/forceModel/checkCouplingInterval/checkCouplingInterval.C
could not open file ompi/mpi/cxx/pgroup_inln.h for source file subModels/forceModel/checkCouplingInterval/checkCouplingInterval.C
could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/forceModel/checkCouplingInterval/checkCouplingInterval.C
could not open file ompi/mpi/cxx/prequest_inln.h for source file subModels/forceModel/checkCouplingInterval/checkCouplingInterval.C"

I'm using OpenMPI 1.4.5 and there are no such h-files.
The h-files are missing in following source files: checkCouplingInterval.C, particleCellVolume.C, newDataExchangeModel.C, twoWayFiles.C, twoWayMPI.C, clockModel.C.

I've tried to find out where these h-files are mentioned but they are commented out everywhere. So I don't know why they are needed and in which files they are opened.

---------------------------
Another occuring error is

"subModels/dataExchangeModel/twoWayMPI/twoWayMPI.H: In member function ‘virtual void Foam::twoWayMPI::setCG() const’:
subModels/dataExchangeModel/twoWayMPI/twoWayMPI.H:170:73: error: ‘class LAMMPS_NS::Force’ has no member named ‘cg’ "
But my guess is that it will resolve itself after fixing the first issue

-----------------------------

Versions:
CFDEMversion="cfdem-2.5.5";
compatibleLIGGGHTSversion="2.3.5";
OFversion="2.1.x";

cfdemSysTest:
*******************
system settings:
*******************
CFDEM_VERSION=PUBLIC
couple to OF_VERSION=2.1.1

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/hm/solver/CFDEMcoupling-PUBLIC-2.1.1
valid:NO critical:no - $CFDEM_PROJECT_USER_DIR = /home/hm/CFDEM/hm-PUBLIC-2.1.1 does not exist
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/hm/solver/CFDEMcoupling-PUBLIC-2.1.1/src/lagrangian/cfdemParticle
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/hm/solver/CFDEMcoupling-PUBLIC-2.1.1/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/hm/solver/CFDEMcoupling-PUBLIC-2.1.1/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /opt/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /opt/LIGGGHTS/lpp/src
valid:yes critical:no - $CFDEM_PIZZA_DIR = /opt/LIGGGHTS/pizza-5Aug12/src
valid:NO critical:no - $CFDEM_TEST_HARNESS_PATH = /home/hm/CFDEM/hm-PUBLIC-2.1.1/log/logFilesCFDEM-PUBLIC-2.1.1 does not exist

library names
$CFDEM_LIGGGHTS_LIB_NAME = lmp_linux
$CFDEM_LIB_NAME = lagrangianCFDEM-PUBLIC-2.1.1
$LD_LIBRARY_PATH = /opt/intel/composerxe-2011.2.137/compiler/lib/intel64:/opt/intel/composerxe-2011.2.137/mpirt/lib/intel64:/opt/intel/composerxe-2011.2.137/ipp/../compiler/lib/intel64:/opt/intel/composerxe-2011.2.137/ipp/lib/intel64:/opt/intel/composerxe-2011.2.137/compiler/lib/intel64:/opt/intel/composerxe-2011.2.137/mkl/lib/intel64:/opt/intel/composerxe-2011.2.137/tbb/lib/intel64//cc4.1.0_libc2.4_kernel2.6.16.21:/opt/paraviewopenfoam3120/lib/paraview-3.12:/opt/openfoam211/platforms/linux64GccDPOpt/lib/openmpi-system:/opt/ThirdParty-2.1.1/platforms/linux64GccDPOpt/lib/openmpi-system:/usr/lib/openmpi/lib:/home/hm/OpenFOAM/hm-2.1.1/platforms/linux64GccDPOpt/lib:/opt/site/2.1.1/platforms/linux64GccDPOpt/lib:/opt/openfoam211/platforms/linux64GccDPOpt/lib:/opt/ThirdParty-2.1.1/platforms/linux64GccDPOpt/lib:/opt/openfoam211/platforms/linux64GccDPOpt/lib/dummy
*******************
g++:
/usr/bin/g++
g++ (Debian 4.6.3-14) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gcc:
/usr/bin/gcc
gcc (Debian 4.6.3-14) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mpic++:
/usr/bin/mpic++
g++ (Debian 4.6.3-14) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mpirun:
/usr/bin/mpirun
mpirun (Open MPI) 1.4.5

Report bugs to http://www.open-mpi.org/community/help/

--------------------------

Thanks a lot

Hannes