Problem with cfdemCompLIG (CFDEM)

Submitted by Julian Ruiz on Mon, 03/16/2015 - 17:27

Hello there, i'm a new user in CFDEM software and i'm having some issues with the compilation.

When i run cfdemSysTest, all the paths are set up correctly:
*******************
check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/julian/CFDEM/CFDEMcoupling-PUBLIC-2.3.1
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/julian/CFDEM/julian-PUBLIC-2.3.1
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/julian/CFDEM/CFDEMcoupling-PUBLIC-2.3.1/src
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/julian/CFDEM/CFDEMcoupling-PUBLIC-2.3.1/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/julian/CFDEM/CFDEMcoupling-PUBLIC-2.3.1/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/julian/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /home/julian/LIGGGHTS/LPP/src
valid:yes critical:no - $CFDEM_PIZZA_DIR = /home/julian/LIGGGHTS/LPP/src
valid:yes critical:no - $CFDEM_TEST_HARNESS_PATH = /home/julian/CFDEM/julian-PUBLIC-2.3.1/log/logFilesCFDEM-PUBLIC-2.3.1

library names
$CFDEM_LIGGGHTS_LIB_NAME = lmp_fedora_fpic
$CFDEM_LIB_NAME = lagrangianCFDEM-PUBLIC-2.3.1
$LD_LIBRARY_PATH = /home/julian/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/CGAL-4.3/lib:/home/julian/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/gperftools-svn/lib:/home/julian/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/ParaView-4.1.0/lib/paraview-4.1:/home/julian/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/openmpi-system:/home/julian/OpenFOAM/ThirdParty-2.3.1/platforms/linux64GccDPOpt/lib/openmpi-system:/usr/lib/openmpi/lib:/home/julian/OpenFOAM/julian-2.3.1/platforms/linux64GccDPOpt/lib:/home/julian/OpenFOAM/site/2.3.1/platforms/linux64GccDPOpt/lib:/home/julian/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib:/home/julian/OpenFOAM/ThirdParty-2.3.1/platforms/linux64GccDPOpt/lib:/home/julian/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/dummy
$WM_NCOMPPROCS =
*******************

But when i run cfdemCompLIG, this message appear:
*******************
Compiling sub-libraries of LIGGGHTS now...
Please provide the libraries to be compiled in the //home/julian/CFDEM/CFDEMcoupling-PUBLIC-2.3.1/src/lagrangian/cfdemParticle/etc/library-liggghts-list.txt file.
Libraries must be in the /home/julian/LIGGGHTS/LIGGGHTS-PUBLIC/src/../lib directory.
*******************

if i open library-liggghts-list.txt file,
*******************
#syntax: makefileName/dir
#note: dir is not a path, just a keyword here
###############################################
*******************

i don't know what to do, if anyone knows how to solve this problem i'll be very grateful.

Regards,

Julian Ruiz

xiaobaishu67 | Tue, 03/17/2015 - 19:44

Dear Julian,
The same thing happened to me, I dont know how to fix it and does it matters much or not. But I just continue to use my CFDEM simulation. Currently, my CFDEM works well.
I think you can leave it there and continue to compile cfdemCompCFDEM.
Hope my suggestion could help.

Best
xiaobaishu

Julian Ruiz | Wed, 03/18/2015 - 20:52

Hello xiaobaishu, Thanks for your reply!. In fact i continue with the CFDEM compilation with the command cfdemCompCFDEM, and the cfdemTestTUT. I have problems because some files are missing like cfdemSolverPiso_settlingTestMPI.eps, cfdemSolverPiso_ErgunTestMPI.eps, and many others.

1) Do you have a step-by-step tutorial to compile (Liggghts-OpenFOAM-CFDEM)?
2) Can you share your $HOME bashrc file (the env vars for CFDEM) and CFDEM bashrc file (only if you change something there) to compare with mines?
3) I had read that some version of OpenFOAM does't work any more with CFDEM. if anyone knows something about it please tell me the versions to work with.

Thanks,
Julian

j-kerbl's picture

j-kerbl | Mon, 03/23/2015 - 10:58

Hi Julian,

this:

But when i run cfdemCompLIG, this message appear:
*******************
Compiling sub-libraries of LIGGGHTS now...
Please provide the libraries to be compiled in the //home/julian/CFDEM/CFDEMcoupling-PUBLIC-2.3.1/src/lagrangian/cfdemParticle/etc/library-liggghts-list.txt file.
Libraries must be in the /home/julian/LIGGGHTS/LIGGGHTS-PUBLIC/src/../lib directory.
*******************

is not an error message, it is just an info what the compilation script is looking for and doing.

These files are missing, since they were not created during the run, so something must have gone wrong.

compilation: run cfdemCompCFDEMall
take a look at the compilation logs -> /home/julian/CFDEM/CFDEMcoupling-PUBLIC-2.3.1/src/lagrangian/cfdemParticle/etc/log/

There you can see, if any part of the compilation process produces an error.

Cheers
Josef

richti83's picture

richti83 | Mon, 03/23/2015 - 12:21

as far as I remember the eps files are created using octave (a GNU Matlab clone).
Try sudo apt get install octave and let the test run again.

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact