INSTALL LIGGGHTS AND CFDEM COUPLING??? PLEASE HELP

Submitted by khoatranxd on Tue, 05/10/2016 - 10:42

Hi all, Hi Christoph,

I am trying to install these two mentioned above software in UBUNTU14.04. Please help me to answer the followings question
1) For Liggghts.
- should i run "make fedora" after "make clean-all" as the instruction in the following link
http://www.cfdem.com/installation-tutorial

because my system is Ubuntu, and i found out that if i run make fedora, only one process is used. (it means this software can not runny parallel) . Instead of make fedora i try make openMPI, it can runny parallel
- I can not get LPP from by using command: git clone git@github.com:CFDEMproject/LPP.git as instruction from link
http://www.cfdem.com/node/23

It is fine if i down load LPP-master from github?

- Could you please give installation guide clearly for this???

2)CFDEMcoulpling.

- It is fine if i change one thing in the following: i change mylpp to LPP-master, because when i install Liggghts, i dont have mylpp
#================================================#
#- source cfdem env vars
export CFDEM_VERSION=PUBLIC
export CFDEM_PROJECT_DIR=$HOME/CFDEM/CFDEMcoupling-$CFDEM_VERSION-$WM_PROJECT_VERSION
export CFDEM_SRC_DIR=$CFDEM_PROJECT_DIR/src
export CFDEM_SOLVER_DIR=$CFDEM_PROJECT_DIR/applications/solvers
export CFDEM_DOC_DIR=$CFDEM_PROJECT_DIR/doc
export CFDEM_UT_DIR=$CFDEM_PROJECT_DIR/applications/utilities
export CFDEM_TUT_DIR=$CFDEM_PROJECT_DIR/tutorials
export CFDEM_PROJECT_USER_DIR=$HOME/CFDEM/$LOGNAME-$CFDEM_VERSION-$WM_PROJECT_VERSION
export CFDEM_bashrc=$CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/bashrc
export CFDEM_LIGGGHTS_SRC_DIR=$HOME/LIGGGHTS/LIGGGHTS-PUBLIC/src
export CFDEM_LIGGGHTS_MAKEFILE_NAME=fedora_fpic
export CFDEM_LPP_DIR=$HOME/LIGGGHTS/mylpp/src
export CFDEM_PIZZA_DIR=$HOME/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src
. $CFDEM_bashrc
#================================================#

- How i change "fedora_fpic" if i make openMPI
- After running "cfdemCompCFDEM " it shows some errors. such as:

// log_compileCFDEMcoupling_cfdemPostproc_cfdemPostproc-2016-05-10-01:20 //

/home/khoa/CFDEM/CFDEMcoupling-PUBLIC-/applications/utilities/cfdemPostproc

/home/khoa/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/functions.sh: line 148: rmdepall: command not found
/home/khoa/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/functions.sh: line 150: wclean: command not found
/home/khoa/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/functions.sh: line 156: wmake: command not found

could you please guide more about this.
- In the file that guide how to install CFDEMcoupling, it doesnot mention that liggghts should be installed first. (only openfoam is meantioned) do we need to install liggghts before installing CFDEM.
- I try install several time, another time, it should that i need Pizza, but i cannot download this software. Could you please provide?

Thanks. Hope to hear from you soon.
Khoa

Daniel Queteschiner | Thu, 05/12/2016 - 16:32

>> i found out that if i run make fedora, only one process is used
make fedora compiles the LIGGGHTS executable, it has nothing to do with running a LIGGGHTS simulation in parallel;
if you want to do the compilation in parallel then you have to use something like make -j 4 fedora ...

>> I can not get LPP from by using command
try git clone https://github.com/CFDEMproject/LPP.git instead

>> It is fine if i download LPP-master from github?
yes

see other thread for more suggestions (and please, don't double post your questions in multiple topics)

khoatranxd | Mon, 05/16/2016 - 10:29

Thank you for your reply.
But may be you misunderstood my first question regrading "make fedora" I know that in order to run this command quickly (run parallel) we have to follow the command suggested by you. What I want to ask is which command we should use during the compiling process so that after compiling the software can run parallel. In my case, if i compile with " make -j 4 fedora" after finishing and I run an example, the program did not run parallel. But if i compiled with the command " make -j 4 openMPI" later when i run an example, this can run parallel. I wonder what is the correct command to make Liggghts running parallel after finishing compile.

Thanks
Khoa

alice's picture

alice | Fri, 05/20/2016 - 12:51

Hi Khoa,
not matter how you install (serial or parallel), you will be able to run liggghts in parallel in any case, using the command "mpirun -np [number of proc.] liggghts < [input file name].
Bests,
Alice

khoatranxd | Mon, 05/16/2016 - 10:32

Hi Daniel,

Could you please guide me more in order to install CFDEMcoupling. Even i asked support from IT department, but they alsocannot installed this software following installation guideline.
Thanks

Khoa

alice's picture

alice | Fri, 05/20/2016 - 12:55

Hello Khoa,
please git pull the latest version of CFDEMcoupling-PUBLIC and LIGGGHTS-PUBLIC as well as there has been a new release just some days ago.
The try to follow the instructions that come with the new release.
Btw: which OpenFOAM version are you using? For the latest version of CFDEMcoupling I'd recommend OpenFOAM-3.0.x (the .x is important, please make sure to compile OpenFOAM directly on your machine, don't use any precompiled binaries).
In case you get stuck, please post the error messages.
Bests,
Alice

Maryam | Fri, 05/20/2016 - 02:18

What do you mean by "I run an example, the program did not run parallel"? Do you get an error message? How do you submit a parallel run?

Maryam

Maryam | Tue, 08/16/2016 - 05:04

Could you elaborate more? What instructions are you following? What are the error messages that you are getting?

Maryam