help to install package

Submitted by Robert on Sun, 07/22/2012 - 16:02

Hi,
I am having trouble finding instructions on how to install LIGGGHTS on Ubuntu 10.4.

I seem to have the source code, but do not know how to compile it.

Any help would be appreciated.

Kind Regards, Robert

richti83's picture

richti83 | Sun, 07/22/2012 - 20:40

1st) install mpich2 (sudo apt-get install mpich2)
2nd) cd /src
3rd) make fedora -j
^^ don't worry about the fact that we use ubuntu, the makefile is for mpich2 enverionment and has worked on 10 Ubuntu 10.04 computers for me; the -j flag means "use as many cores as available" to speed up build

4th: create a symlink in your /usr/bin directory: ln -s $HOME//src/lmp_fedora lmp
5th: goto /examples/LIGGGHTS/ and type :
mpd (to start mpi-'taskmanager')
mpirun -np <#-of-cores> lmp < in.

you should get some dump-data in the post-directory an can post-prozess them with lpp and/or paraview.

Have fun,
CR

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact