Installation - problem with paths

Submitted by Mario on Wed, 07/08/2015 - 14:47

Hey

I followed the installation on: http://www.cfdem.com/media/CFDEM/docu/githubAccess_public.html step by step.

I use the following:

Ubuntu-Version: 14.04 LTS
Openfoam-Version: 2.3.0 and the additional libary "waves2foam" to generate and absorb free surface water waves.

If i use "cfdemSysTest" he gives back the following:

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/frederik/CFDEM/CFDEMcoupling-PUBLIC-2.3.0
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/frederik/CFDEM/frederik-PUBLIC-2.3.0
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/frederik/CFDEM/CFDEMcoupling-PUBLIC-2.3.0/src
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/frederik/CFDEM/CFDEMcoupling-PUBLIC-2.3.0/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/frederik/CFDEM/CFDEMcoupling-PUBLIC-2.3.0/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/frederik/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:NO critical:yes - $CFDEM_LPP_DIR = /home/frederik/LIGGGHTS/mylpp/src does not exist
valid:yes critical:yes - $CFDEM_ADD_LIBS_DIR = /home/frederik/CFDEM/CFDEMcoupling-PUBLIC-2.3.0/src/lagrangian/cfdemParticle/etc
valid:NO critical:no - $CFDEM_PIZZA_DIR = /home/frederik/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src does not exist
valid:yes critical:no - $CFDEM_TEST_HARNESS_PATH = /home/frederik/CFDEM/frederik-PUBLIC-2.3.0/log/logFilesCFDEM-PUBLIC-2.3.0
valid:NO critical:no - $C3PO_SRC_DIR = /home/frederik/CFDEM/CFDEMcoupling-PUBLIC-2.3.0/src/c3po does not exist

The question: Why are the above mentioned paths not set correctly? Is there any othere tutorial or guide for the correct installation of LIGGGHTS?

However the compilation of LIGGGHTS and CFDEM seems to work since i was abel to perform a test_tutorial.

I would be very grateful for every answer.

best regards

aaigner's picture

aaigner | Wed, 07/15/2015 - 15:54

Hi Mario,

first off all.. since it is a CFDEMcoupling question you should post it in the CFDEMcoupling forum. ;-)

Anyway... LPP and PIZZA are post-processing programs. They are not important for the compiling of CFDEMcoupling or LIGGGHTS. Besides that, those paths are not set automatically. You have to set them. Most probably you did this in your .bashrc. This is meant by

Set Environment Variables:

Now you need to set some environment variables in ~/.bashrc (if you use c-shell, manipulate ~/.cshrc accordingly). Open ~/.bashrc

gedit ~/.bashrc &

add the lines (you find them also in .../cfdemParticle/etc/bashrc and cshrc respectively):

#================================================#
....

Regards
Andreas