my Problems and related Solutions during the installation of LIGGGHTS and LPP

Submitted by xujiancqu on Sat, 10/06/2012 - 06:26

Hi, all.
I'm new to LIGGGHTS and Linux, and I'm quite interested in DEM simulation, so I begin my study on LIGGGHTS.
During the past few days, I ran into lots of problems during the installation of LIGGGHTS and its post-processing tool (lpp improved based on pizza.py), thanks for helps from the forums.

Now I'd like to share my experience of installation, which is not shown in Installation Tutorial. My OS is Ubuntu 12.04, initially I use Fedora 16, but my friend suggests Ubuntu is suitable for newbie :)

P1: when 'make fedora' get 'The Open MPI wrapper compiler was unable to find the specified compiler g++'
S1: sudo apt-get install g++

P2: after 'sudo ln -s /path1/src/lmp_fedora /usr/bin/liggghts', type'liggghts', get 'The program 'liggghts' is currently not installed. You can install it by typing: sudo apt-get install liggghts'
S2: maybe there is a program named liggghts , so I use 'sudo ln -s /path1/src/lmp_fedora /usr/bin/lig', also you could use others instead of 'lig'

P2: about 'Tkinter Module' od python
S2: sudo apt-get install python-tk

P3: when type 'python setup.py build', 'Python.h: No such file or directory'
S3: sudo apt-get install python-dev

P4: where to download 'Tk'? The link in Pizza.py Manual only contains the download link of Tcl
S4: http://www.tcl.tk/software/tcltk/download.html

P5: 'X11/Xmu/StdCmap.h: No such file or directory'
S5: go to software center to install the package related to 'libxmu'

P6: '"/usr/lib/libTogl.so.1.7": /usr/lib/libTogl.so.1.7: undefined symbol: tclStubsPtr'
S6: download the pyopengl source (http://pyopengl.sourceforge.net/), and then execute 'src/Togl.py'

I hope it helps.

Rds

Jian