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/liblagrangianCFDEM-PUBLIC-2.1.1.so] 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 liblmp_ubuntuVTK.so 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
sorry
to push this up, but is there no way I can fix this?
Best,
Florian
ckloss_ | Mon, 08/05/2013 - 19:06
Hi,
Hi,
I'd talk to a sysadmin or person knowledgeable of Linux makefiles in order to adapt the makefile to your system
Best,
Christoph
aaigner | Wed, 07/24/2013 - 12:58
Hi
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?
Best,
Andreas