LIGGGHTS COMPILATION

Submitted by marcelo on Fri, 03/17/2017 - 18:36

I do:
cfdemSysTest

and all are Valid: Yes.

When I will compile LIGGGHTS(R) make:
sudo make clean-all (in /src dir.)

And do: cfdemCompLIG

OBS: some words are in Portuguese.

The terminal show me:

copying patch files for LIGGGHTS if available
cp: impossível obter estado de '/home/cae/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/LIGGGHTSpatch/*': Arquivo ou diretório não encontrado

===========================================
Compiling sub-libraries of LIGGGHTS now...
Please provide the libraries to be compiled in the //home/cae/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/library-liggghts-list.txt file.
Libraries must be in: /home/cae/CFDEM/LIGGGHTS-PUBLIC/src/../lib, or a path defined by the Line in the above file.

===========================================
deactivating all possible packages of LIGGGHTS now...
Please provide the packages to be compiled in the //home/cae/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/package-undo-liggghts-list.txt file.
Packages must be in: /home/cae/CFDEM/LIGGGHTS-PUBLIC/src/../lib.
will change path...
/home/cae/CFDEM/LIGGGHTS-PUBLIC/src
rm: não foi possível remover 'log_compilePOEMSlib': Arquivo ou diretório não encontrado
Uninstalling package POEMS
will change path...
/home/cae/CFDEM/LIGGGHTS-PUBLIC/src
rm: não foi possível remover 'log_compileDIPOLElib': Arquivo ou diretório não encontrado
Package DIPOLE does not exist
will change path...
/home/cae/CFDEM/LIGGGHTS-PUBLIC/src
rm: não foi possível remover 'log_compileASPHERElib': Arquivo ou diretório não encontrado
Uninstalling package ASPHERE
will change path...
/home/cae/CFDEM/LIGGGHTS-PUBLIC/src
rm: não foi possível remover 'log_compilePASCALlib': Arquivo ou diretório não encontrado
Uninstalling package PASCAL

===========================================
activating packages of LIGGGHTS now...
Please provide the packages to be compiled in the //home/cae/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/package-liggghts-list.txt file.
Packages must be in: /home/cae/CFDEM/LIGGGHTS-PUBLIC/src/../lib.
rm: não foi possível remover '/home/cae/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/etc/log/log_compileLIGGGHTS': Arquivo ou diretório não encontrado

// log_compileLIGGGHTS-2017-03-17-14:19 //

/home/cae/CFDEM/LIGGGHTS-PUBLIC/src

rm: remover arquivo comum '/home/cae/CFDEM/LIGGGHTS-PUBLIC/src/lmp_fedora_fpic' protegido contra escrita? n
rm: não foi possível remover '/home/cae/CFDEM/LIGGGHTS-PUBLIC/src/liblmp_fedora_fpic.a': Arquivo ou diretório não encontrado
rm -rf Obj_fedora_fpic
cleaning LIGGGHTS
compiling LIGGGHTS on one CPU

marcelo | Fri, 03/17/2017 - 18:45

I have the OpenFOAM 3.0.x!

marcelo | Fri, 03/17/2017 - 19:09

In the end of all compilations... I make:
cfdemCompCFDEMsrc
cfdemCompCFDEMsol
cfdemCompCFDEMuti
cfdemCompCFDEMall
cfdemCompCFDEM

and:
cfdemTestTUT

To run a test.

When I went into the LIGGGTHS folder and tried to run the belt conveyor tutorial, the terminal asked me to install liggghts (sudo apt install liggghts) because my attempt to run the program involved using the variable: liggghts < in.conveyor

j-kerbl's picture

j-kerbl | Thu, 04/06/2017 - 17:12

Hi Marcelo,

probably the liggghts link isn't set properly. If the compilation worked properly, you can try the following steps:
go to the LIGGGHTS tutorial folder you want to run
cfdemLiggghts in.conveyor
or
cfdemLiggghts in.conveyor 4
which will run Liggghts with 4 processors.
To activate the liggghts shortcut you need to do the following:
sudo ln-s ${CFDEM_LIGGGHTS_SRC_DIR}/lmp_${CFDEM_LIGGGHTS_MAKEFILE_NAME} /usr/bin/liggghts
then your terminal should know the "liggghts" command.

Actually cfdemCompCFDEMall includes all of the other cfdemComp* commands :)

Please ask, if you have any questions.

Cheers,
Josef