Compile error with latest CFDEMcoupling

Submitted by keepfit on Thu, 09/27/2012 - 13:23

Hi Chris,

Today I installed OpenFOAM 2.1.1 and the latest LIGGGHTS 2.1.2 on my Laptop with the fresh installed Ubuntu 12.04 system, both worked perfectly.

When i came into compiling CFDEMcouling, the error information about "could not open file RASModel.H" appeared again.

---------------------
...........
could not open file RASModel.H for source file cfdemCloud/cfdemCloud.C
could not open file omp.h for source file cfdemCloud/cfdemCloud.C
could not open file openmpi/ompi/mpi/cxx/mpicxx.h for source file cfdemCloud/cfdemCloud.C
Making dependency list for source file derived/cfdemCloudIB/cfdemCloudIB.C
could not open file RASModel.H for source file derived/cfdemCloudIB/cfdemCloudIB.C
Making dependency list for source file subModels/forceModel/forceModel/forceModel.C
could not open file RASModel.H for source file subModels/forceModel/forceModel/forceModel.C
Making dependency list for source file subModels/forceModel/forceModel/newForceModel.C
could not open file RASModel.H for source file subModels/forceModel/forceModel/newForceModel.C
Making dependency list for source file subModels/forceModel/noDrag/noDrag.C
could not open file RASModel.H for source file subModels/forceModel/noDrag/noDrag.C
Making dependency list for source file subModels/forceModel/DiFeliceDrag/DiFeliceDrag.C
could not open file RASModel.H for source file subModels/forceModel/DiFeliceDrag/DiFeliceDrag.C
Making dependency list for source file subModels/forceModel/GidaspowDrag/GidaspowDrag.C
could not open file RASModel.H for source file subModels/forceModel/GidaspowDrag/GidaspowDrag.C
Making dependency list for source file subModels/forceModel/SchillerNaumannDrag/SchillerNaumannDrag.C
could not open file RASModel.H for source file subModels/forceModel/SchillerNaumannDrag/SchillerNaumannDrag.C
Making dependency list for source file subModels/forceModel/Archimedes/Archimedes.C
could not open file RASModel.H for source file subModels/forceModel/Archimedes/Archimedes.C
Making dependency list for source file subModels/forceModel/ArchimedesIB/ArchimedesIB.C
could not open file RASModel.H for source file subModels/forceModel/ArchimedesIB/ArchimedesIB.C
Making dependency list for source file subModels/forceModel/interface/interface.C
.....
----------------------

I also checked the engineSearch.c, it seems that it is a new engineSearch.

------------------
// Construct from components
engineSearch::engineSearch
(
const dictionary& dict,
cfdemCloud& sm
)
:
locateModel(dict,sm),
propsDict_(dict.subDict(typeName + "Props")),
//faceDecomp_(propsDict_.lookup("faceDecomp")),
treeSearch_(propsDict_.lookup("treeSearch")),
#ifdef version16ext
searchEngine_(particleCloud_.mesh(),false) //(particleCloud_.mesh(),faceDecomp_)
#elif defined(version21)
searchEngine_(particleCloud_.mesh(),polyMesh::FACEPLANES) // FACEPLANES or FACECENTRETETS; FACEDIAGTETS not stable
#endif
//searchEngine_(particleCloud_.mesh(),faceDecomp_) // only 2.0.x
{}
----------------

Is the CFDEM 2.4.4 only compatible with Liggghts 1.5.3 and 2.0.4 (well can not download it anyway) ? But i tried the
/cfdemSolverPiso/ErgunTestMPI test, it works fine.

So i wonder, how to get rid of this error?

Thanks in advance.

Cheers,
David

cgoniva's picture

cgoniva | Thu, 09/27/2012 - 15:16

Hi!

Do not worry about that: "could not open file RASModel.H for source file cfdemCloud/cfdemCloud.C"
waht is actually the error message?

the latest CFDEMcoupling from github, the latest LIGGGHTS from github and the latest OpenFOAM(R) should work together (and should be used!!!).

Cheers,
Chris

keepfit | Thu, 09/27/2012 - 16:56

Hallo, Chris

the error appears at the begin of compilation, and at the end "Note: the list of solvers compiled might be incomplete."

Here is the log of CFDEMcoupling compilation.
_______________________________________________

Kof@dao:~/CFDEM$ cfdemCompCFDEM

mkdir: cannot create directory `log': File exists
rm: cannot remove `/home/dao/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/src/lagrangian/cfdemParticle/etc/log/log_compileCFDEMcoupling_src': No such file or directory

// log_compileCFDEMcoupling_src-2012-09-27-16:45 //

/home/dao/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/src/lagrangian/cfdemParticle

removing all .dep files ...
options:17:12: warning: backslash-newline at end of file [enabled by default]
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file cfdemCloud/cfdemCloud.C
could not open file RASModel.H for source file cfdemCloud/cfdemCloud.C
could not open file omp.h for source file cfdemCloud/cfdemCloud.C
could not open file openmpi/ompi/mpi/cxx/mpicxx.h for source file cfdemCloud/cfdemCloud.C
Making dependency list for source file derived/cfdemCloudIB/cfdemCloudIB.C
could not open file RASModel.H for source file derived/cfdemCloudIB/cfdemCloudIB.C
Making dependency list for source file subModels/forceModel/forceModel/forceModel.C
could not open file RASModel.H for source file subModels/forceModel/forceModel/forceModel.C
Making dependency list for source file subModels/forceModel/forceModel/newForceModel.C
could not open file RASModel.H for source file subModels/forceModel/forceModel/newForceModel.C
Making dependency list for source file subModels/forceModel/noDrag/noDrag.C
could not open file RASModel.H for source file subModels/forceModel/noDrag/noDrag.C
Making dependency list for source file subModels/forceModel/DiFeliceDrag/DiFeliceDrag.C
could not open file RASModel.H for source file subModels/forceModel/DiFeliceDrag/DiFeliceDrag.C
Making dependency list for source file subModels/forceModel/GidaspowDrag/GidaspowDrag.C
could not open file RASModel.H for source file subModels/forceModel/GidaspowDrag/GidaspowDrag.C
Making dependency list for source file subModels/forceModel/SchillerNaumannDrag/SchillerNaumannDrag.C
could not open file RASModel.H for source file subModels/forceModel/SchillerNaumannDrag/SchillerNaumannDrag.C
Making dependency list for source file subModels/forceModel/Archimedes/Archimedes.C
could not open file RASModel.H for source file subModels/forceModel/Archimedes/Archimedes.C
Making dependency list for source file subModels/forceModel/ArchimedesIB/ArchimedesIB.C
could not open file RASModel.H for source file subModels/forceModel/ArchimedesIB/ArchimedesIB.C
Making dependency list for source file subModels/forceModel/interface/interface.C
could not open file RASModel.H for source file subModels/forceModel/interface/interface.C
Making dependency list for source file subModels/forceModel/ShirgaonkarIB/ShirgaonkarIB.C
could not open file RASModel.H for source file subModels/forceModel/ShirgaonkarIB/ShirgaonkarIB.C
Making dependency list for source file subModels/forceModel/KochHillDrag/KochHillDrag.C
could not open file RASModel.H for source file subModels/forceModel/KochHillDrag/KochHillDrag.C
could not open file omp.h for source file subModels/forceModel/KochHillDrag/KochHillDrag.C
could not open file openmpi/ompi/mpi/cxx/mpicxx.h for source file subModels/forceModel/KochHillDrag/KochHillDrag.C
Making dependency list for source file subModels/forceModel/LaEuScalarTemp/LaEuScalarTemp.C
could not open file RASModel.H for source file subModels/forceModel/LaEuScalarTemp/LaEuScalarTemp.C
Making dependency list for source file subModels/forceModel/virtualMassForce/virtualMassForce.C
could not open file RASModel.H for source file subModels/forceModel/virtualMassForce/virtualMassForce.C
Making dependency list for source file subModels/forceModel/gradPForce/gradPForce.C
could not open file RASModel.H for source file subModels/forceModel/gradPForce/gradPForce.C
Making dependency list for source file subModels/forceModel/viscForce/viscForce.C
could not open file RASModel.H for source file subModels/forceModel/viscForce/viscForce.C
Making dependency list for source file subModels/forceModel/MeiLift/MeiLift.C
could not open file RASModel.H for source file subModels/forceModel/MeiLift/MeiLift.C
Making dependency list for source file subModels/IOModel/IOModel/IOModel.C
could not open file RASModel.H for source file subModels/IOModel/IOModel/IOModel.C
Making dependency list for source file subModels/IOModel/IOModel/newIOModel.C
could not open file RASModel.H for source file subModels/IOModel/IOModel/newIOModel.C
Making dependency list for source file subModels/IOModel/noIO/noIO.C
could not open file RASModel.H for source file subModels/IOModel/noIO/noIO.C
Making dependency list for source file subModels/IOModel/basicIO/basicIO.C
could not open file RASModel.H for source file subModels/IOModel/basicIO/basicIO.C
Making dependency list for source file subModels/IOModel/trackIO/trackIO.C
could not open file RASModel.H for source file subModels/IOModel/trackIO/trackIO.C
Making dependency list for source file subModels/voidFractionModel/voidFractionModel/voidFractionModel.C
could not open file RASModel.H for source file subModels/voidFractionModel/voidFractionModel/voidFractionModel.C
Making dependency list for source file subModels/voidFractionModel/voidFractionModel/newVoidFractionModel.C
could not open file RASModel.H for source file subModels/voidFractionModel/voidFractionModel/newVoidFractionModel.C
Making dependency list for source file subModels/voidFractionModel/centreVoidFraction/centreVoidFraction.C
could not open file RASModel.H for source file subModels/voidFractionModel/centreVoidFraction/centreVoidFraction.C
Making dependency list for source file subModels/voidFractionModel/dividedVoidFraction/dividedVoidFraction.C
could not open file RASModel.H for source file subModels/voidFractionModel/dividedVoidFraction/dividedVoidFraction.C
Making dependency list for source file subModels/voidFractionModel/bigParticleVoidFraction/bigParticleVoidFraction.C
could not open file RASModel.H for source file subModels/voidFractionModel/bigParticleVoidFraction/bigParticleVoidFraction.C
Making dependency list for source file subModels/voidFractionModel/GaussVoidFraction/GaussVoidFraction.C
could not open file RASModel.H for source file subModels/voidFractionModel/GaussVoidFraction/GaussVoidFraction.C
Making dependency list for source file subModels/voidFractionModel/IBVoidFraction/IBVoidFraction.C
could not open file RASModel.H for source file subModels/voidFractionModel/IBVoidFraction/IBVoidFraction.C
Making dependency list for source file subModels/locateModel/locateModel/locateModel.C
could not open file RASModel.H for source file subModels/locateModel/locateModel/locateModel.C
Making dependency list for source file subModels/locateModel/locateModel/newLocateModel.C
could not open file RASModel.H for source file subModels/locateModel/locateModel/newLocateModel.C
Making dependency list for source file subModels/locateModel/standardSearch/standardSearch.C
could not open file RASModel.H for source file subModels/locateModel/standardSearch/standardSearch.C
Making dependency list for source file subModels/locateModel/engineSearch/engineSearch.C
could not open file RASModel.H for source file subModels/locateModel/engineSearch/engineSearch.C
Making dependency list for source file subModels/locateModel/engineSearchIB/engineSearchIB.C
could not open file RASModel.H for source file subModels/locateModel/engineSearchIB/engineSearchIB.C
Making dependency list for source file subModels/meshMotionModel/meshMotionModel/meshMotionModel.C
could not open file RASModel.H for source file subModels/meshMotionModel/meshMotionModel/meshMotionModel.C
Making dependency list for source file subModels/meshMotionModel/meshMotionModel/newMeshMotionModel.C
could not open file RASModel.H for source file subModels/meshMotionModel/meshMotionModel/newMeshMotionModel.C
Making dependency list for source file subModels/meshMotionModel/noMeshMotion/noMeshMotion.C
could not open file RASModel.H for source file subModels/meshMotionModel/noMeshMotion/noMeshMotion.C
Making dependency list for source file subModels/momCoupleModel/momCoupleModel/momCoupleModel.C
could not open file RASModel.H for source file subModels/momCoupleModel/momCoupleModel/momCoupleModel.C
Making dependency list for source file subModels/momCoupleModel/momCoupleModel/newMomCoupleModel.C
could not open file RASModel.H for source file subModels/momCoupleModel/momCoupleModel/newMomCoupleModel.C
Making dependency list for source file subModels/momCoupleModel/explicitCouple/explicitCouple.C
could not open file RASModel.H for source file subModels/momCoupleModel/explicitCouple/explicitCouple.C
Making dependency list for source file subModels/momCoupleModel/implicitCouple/implicitCouple.C
could not open file RASModel.H for source file subModels/momCoupleModel/implicitCouple/implicitCouple.C
Making dependency list for source file subModels/momCoupleModel/noCouple/noCouple.C
could not open file RASModel.H for source file subModels/momCoupleModel/noCouple/noCouple.C
Making dependency list for source file subModels/regionModel/regionModel/regionModel.C
could not open file RASModel.H for source file subModels/regionModel/regionModel/regionModel.C
Making dependency list for source file subModels/regionModel/regionModel/newRegionModel.C
could not open file RASModel.H for source file subModels/regionModel/regionModel/newRegionModel.C
Making dependency list for source file subModels/regionModel/allRegion/allRegion.C
could not open file RASModel.H for source file subModels/regionModel/allRegion/allRegion.C
Making dependency list for source file subModels/dataExchangeModel/dataExchangeModel/dataExchangeModel.C
could not open file RASModel.H for source file subModels/dataExchangeModel/dataExchangeModel/dataExchangeModel.C
Making dependency list for source file subModels/dataExchangeModel/dataExchangeModel/newDataExchangeModel.C
could not open file RASModel.H for source file subModels/dataExchangeModel/dataExchangeModel/newDataExchangeModel.C
could not open file sys/stat.h for source file subModels/dataExchangeModel/dataExchangeModel/newDataExchangeModel.C
Making dependency list for source file subModels/dataExchangeModel/oneWayVTK/oneWayVTK.C
could not open file RASModel.H for source file subModels/dataExchangeModel/oneWayVTK/oneWayVTK.C
Making dependency list for source file subModels/dataExchangeModel/twoWayFiles/twoWayFiles.C
could not open file RASModel.H for source file subModels/dataExchangeModel/twoWayFiles/twoWayFiles.C
could not open file sys/stat.h for source file subModels/dataExchangeModel/twoWayFiles/twoWayFiles.C
Making dependency list for source file subModels/dataExchangeModel/noDataExchange/noDataExchange.C
could not open file RASModel.H for source file subModels/dataExchangeModel/noDataExchange/noDataExchange.C
Making dependency list for source file subModels/dataExchangeModel/twoWayMPI/twoWayMPI.C
could not open file RASModel.H for source file subModels/dataExchangeModel/twoWayMPI/twoWayMPI.C
could not open file sys/stat.h for source file subModels/dataExchangeModel/twoWayMPI/twoWayMPI.C
could not open file omp.h for source file subModels/dataExchangeModel/twoWayMPI/twoWayMPI.C
could not open file openmpi/ompi/mpi/cxx/mpicxx.h for source file subModels/dataExchangeModel/twoWayMPI/twoWayMPI.C
Making dependency list for source file subModels/averagingModel/averagingModel/averagingModel.C
could not open file RASModel.H for source file subModels/averagingModel/averagingModel/averagingModel.C
Making dependency list for source file subModels/averagingModel/averagingModel/newAveragingModel.C
could not open file RASModel.H for source file subModels/averagingModel/averagingModel/newAveragingModel.C
Making dependency list for source file subModels/averagingModel/dilute/dilute.C
could not open file RASModel.H for source file subModels/averagingModel/dilute/dilute.C
Making dependency list for source file subModels/averagingModel/dense/dense.C
could not open file RASModel.H for source file subModels/averagingModel/dense/dense.C
Making dependency list for source file subModels/clockModel/clockModel/clockModel.C
could not open file omp.h for source file subModels/clockModel/clockModel/clockModel.C
could not open file openmpi/ompi/mpi/cxx/mpicxx.h for source file subModels/clockModel/clockModel/clockModel.C
could not open file RASModel.H for source file subModels/clockModel/clockModel/clockModel.C
Making dependency list for source file subModels/clockModel/clockModel/newClockModel.C
could not open file RASModel.H for source file subModels/clockModel/clockModel/newClockModel.C
Making dependency list for source file subModels/clockModel/standardClock/standardClock.C
could not open file RASModel.H for source file subModels/clockModel/standardClock/standardClock.C
Making dependency list for source file subModels/clockModel/noClock/noClock.C
could not open file RASModel.H for source file subModels/clockModel/noClock/noClock.C
Making dependency list for source file subModels/liggghtsCommandModel/liggghtsCommandModel/liggghtsCommandModel.C
could not open file RASModel.H for source file subModels/liggghtsCommandModel/liggghtsCommandModel/liggghtsCommandModel.C
Making dependency list for source file subModels/liggghtsCommandModel/liggghtsCommandModel/newLiggghtsCommandModel.C
could not open file RASModel.H for source file subModels/liggghtsCommandModel/liggghtsCommandModel/newLiggghtsCommandModel.C
Making dependency list for source file subModels/liggghtsCommandModel/execute/execute.C
could not open file RASModel.H for source file subModels/liggghtsCommandModel/execute/execute.C
Making dependency list for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C
could not open file RASModel.H for source file subModels/liggghtsCommandModel/runLiggghts/runLiggghts.C
Making dependency list for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C
could not open file RASModel.H for source file subModels/liggghtsCommandModel/writeLiggghts/writeLiggghts.C
Making dependency list for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C
could not open file RASModel.H for source file subModels/liggghtsCommandModel/readLiggghtsData/readLiggghtsData.C

SOURCE=cfdemCloud/cfdemCloud.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -I/home/dao/OpenFOAM/ThirdParty-2.1.1/platforms/linuxGcc/openmpi-1.5.3/include -I ./cfdemParticle -I/home/dao/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/dao/OpenFOAM/OpenFOAM-2.1.1/src/transportModels -I/home/dao/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/incompressible/turbulenceModel -I/home/dao/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/dao/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/basic/lnInclude -I/home/dao/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/containers/HashTables/labelHashSet -I/home/dao/LIGGGHTS/LIGGGHTS-PUBLIC/src -IlnInclude -I. -I/home/dao/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/dao/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/cfdemCloud.o

....

....

....

Note: the list of solvers compiled might be incomplete.
please check /home/dao/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/applications/solvers for more solvers available
_______________________________________________

Does CFDEM work fine even if the complication error remains ? Or how to figure it out?

Thanks,

David

__________________________________________________________

alice's picture

alice | Thu, 10/04/2012 - 15:23

Hello,
the messages you got are only pre-processor statements, nothing to worry about. Also the remark about the additional solver that might be available is fine. Did you try running the tutorial cases?
Cheers,
Alice

vonboett | Thu, 10/04/2012 - 15:50

Yes I tried the tutorials. It always fails with:
rm: cannot remove `couplingFiles/*': No such file or directory
-----------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not find an executable:

Executable: cfdemSolvePiso
Node: albrecht-ESPRIMO-P

while attempting to start process rank 0.

I checked the etc/bashrc but I can't find wrong or missing environment variables. Any hind would be cool.
Since I only know running OpenFOAM in parallel by lamboot with the corresponding file in the system directory giving the host names, I wonder how this is handled in CFDEM.

Thank you for your support,

Albrecht

alice's picture

alice | Thu, 10/04/2012 - 16:04

Hello Albrecht,
did you copy-and-paste the error message? If yes: the executable you should use is called cfdemSolverPiso (instead of cfdemSolvePiso). In case this is just a typo then please check weather the solvers have been compiled at all (like in OpenFOAM they are located in applications/solvers). (The message about the possiblity incomplete solver list does not necessarily indicate that there is anything wrong with the solvers...)
Did you lauch hthe tutorial with cfdemTestTUT?
Cheers,
Alice

vonboett | Thu, 10/04/2012 - 16:30

Hi Alice,

Yes i mistyped the the errormessage (the Ubuntu-machine has currently no internet access). The Make/linuxGccDPOpt folders contain cfdemSolverPiso.o in CFDEMcoupling-PUBLIC-2.1.x but there is no bin folder like in OpenFOAM this it should exist. I am really trying because we will install CFDEM on the grid if I manage to test it on a single machine.
I tried cfdemTestTUT as well as . \Allrun.sh
Best wishes,

Albrecht

alice's picture

alice | Thu, 10/04/2012 - 16:44

Hi Albrecht,
the bin forlder is not necessary... Was the depedency file cfdemSolverPiso.deb created?
Please type cfdemSysTest, and see that you get. Are the pathes all set correctly? (There is this paragraph, that tells you weather a path is set correctly, and if it is a "critical path"...)
Cheers,
Alice

vonboett | Thu, 10/04/2012 - 16:55

Hi, yes the .deb was created, but as I run cfdemSysTest I see mylpp in LIGGGHTS is missing:

*******************
system settings:
*******************
CFDEM_VERSION=PUBLIC
couple to OF_VERSION=2.1.x

check if paths are set correctly
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/albrecht/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/albrecht/CFDEM/CFDEMcoupling-PUBLIC-2.1.x
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/albrecht/CFDEM/albrecht-PUBLIC-2.1.x
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/albrecht/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/src/lagrangian/cfdemParticle
valid:NO critical:yes - $CFDEM_LPP_DIR = /home/albrecht/LIGGGHTS/mylpp/src does not exist
valid:NO critical:no - $CFDEM_PIZZA_DIR = /home/albrecht/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src does not exist
valid:yes critical:no - $CFDEM_TEST_HARNESS_PATH = /home/albrecht/CFDEM/albrecht-PUBLIC-2.1.x/log/logFilesCFDEM-PUBLIC-2.1.x

library names
$CFDEM_LIGGGHTS_LIB_NAME = lmp_fedora_fpic
$CFDEM_LIB_NAME = lagrangianCFDEM-PUBLIC-2.1.x
$LD_LIBRARY_PATH = /home/albrecht/OpenFOAM/ThirdParty-2.1.x/platforms/linuxGcc/paraview-3.12.0/lib/paraview-3.12:/home/albrecht/OpenFOAM/OpenFOAM-2.1.x/platforms/linuxGccDPOpt/lib/openmpi-1.5.3:/home/albrecht/OpenFOAM/ThirdParty-2.1.x/platforms/linuxGccDPOpt/lib/openmpi-1.5.3:/home/albrecht/OpenFOAM/ThirdParty-2.1.x/platforms/linuxGcc/openmpi-1.5.3/lib:/home/albrecht/OpenFOAM/albrecht-2.1.x/platforms/linuxGccDPOpt/lib:/home/albrecht/OpenFOAM/site/2.1.x/platforms/linuxGccDPOpt/lib:/home/albrecht/OpenFOAM/OpenFOAM-2.1.x/platforms/linuxGccDPOpt/lib:/home/albrecht/OpenFOAM/ThirdParty-2.1.x/platforms/linuxGccDPOpt/lib:/home/albrecht/OpenFOAM/OpenFOAM-2.1.x/platforms/linuxGccDPOpt/lib/dummy:/opt/openmpi/lib
*******************
g++:
/usr/bin/g++
g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 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 (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 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++:
/home/albrecht/OpenFOAM/ThirdParty-2.1.x/platforms/linuxGcc/openmpi-1.5.3/bin/mpic++
g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 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.

alice's picture

alice | Thu, 10/04/2012 - 17:07

Hello,
well so far I would say that everything looks fine... As stated mylpp is not critical, this is an additional tool for postprocessing that has no impact on the computation itself. (In the setup manual you find the instruction of how to get lpp)
When installing LIGGGHTS (with cfdemCompLIG) and CFDEMcloud (with cfdemCompCFDEM), are there any further error messages (apart from "could not open file RASModel.H for source file cfdemCloud/cfdemCloud.C etc and Note: the list of solvers compiled might be incomplete. please check /home/dao/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/applications/solvers for more solvers available)? Please also make sure that you do not copmile while being super user.
Cheers,
Alice

vonboett | Fri, 10/05/2012 - 10:34

Hi Alice, I had to hurry yesterday-
yes, when I compile CFDEM it ends with:
/home/albrecht/OpenFOAM/albrecht-2.1.x/platforms/linuxGccDPOpt/lib/liblagrangianCFDEM-PUBLIC-2.1.x.so: undefined reference to `Foam::pointMesh::typeName'
collect2: ld returned 1 exit status
make: *** [/home/albrecht/OpenFOAM/albrecht-2.1.x/platforms/linuxGccDPOpt/bin/cfdemSolverPisoScalar] Error 1

after each solver compilation. I even introduced "static const char* const typeName;" to pointMesh.H and recompiled OF 2.1-x but it did not get better.

alice's picture

alice | Thu, 10/11/2012 - 08:45

Hello Albrecht,
could you already resolve the problem? In case not try compiling the cloud seperately first (go to $HOME/CFDEM/CFDEMcoupling-public/src/lagrangian/cfdemParticle, type 1) wlcean 2) rmdepall 3) wmake libso). Does this process terminate correctly?
Cheers,
Alice

cgoniva's picture

cgoniva | Mon, 10/22/2012 - 16:23

Hi,

"Note: the list of solvers compiled might be incomplete.
please check ..."

the reason for this statement is, that you were running a script, where the solvers to compile is hardcoded - thus, if you add another solver it will not automatically be compiled with this command.
so - it is no error.

Cheers,
Chris