Getting the library for LIGGGHTS to use with CFDEM

Submitted by FlorianL on Tue, 07/09/2013 - 13:08

Dear Users and Developers,

I am trying to get LIGGGHTS and CFDEM running for two days now and read almost all threads related to compiling and installing in this forum.

So far, I was able to compile LIGGGHTS 2.3.6 on my ubuntu 12.04 (precise) machine and obtained the executable similar to the steps described in the forum by PaulWinkler.

I can start LIGGGHTS and I tested some tutorials, like the cohesion-noCohesion example, and it worked fine.

Then I moved on to compile CFDEM. However, during compilation, I get the following error:

/usr/bin/ld: cannot find -llmp_ubuntuVTK
486 collect2: ld returned 1 exit status
487 make: *** [/home/hanzo/OpenFOAM/hanzo-2.1.1/platforms/linux64GccDPOpt/lib/] Error 1

so a certain library is needed. I then figured out that lmp_ubuntuVTK is exactly the name of the executable when I compiled LIGGGHTS. So I hoped to find a or similar. However, the only thing I have closest to the library of LIGGGHTS is the Obj_ubuntuVTK folder containing all *.a files related to LIGGGHTS.

So I tried:
make makelib in the src-folder of LIGGGHTS but exept for

grep: angle_*.h: No such file or directory
grep: dihedral_*.h: No such file or directory
grep: improper_*.h: No such file or directory

nothing seems to happen or is written.

So my question now, is there a way to obtain the library file of LIGGGHTS which seems to be needed to compile CFDEM?

Thank you in advance.

FlorianL | Tue, 07/23/2013 - 14:48

to push this up, but is there no way I can fix this?


ckloss_ | Mon, 08/05/2013 - 19:06


I'd talk to a sysadmin or person knowledgeable of Linux makefiles in order to adapt the makefile to your system


aaigner's picture

aaigner | Wed, 07/24/2013 - 12:58

Sry for the late answer. Many of us are on vacation.

Did you try to follow the installation guide in githubAccess_public.pdf and not to use the precompiled (apt-get) version of liggghts?