Installation Tutorial

LIGGGHTS® is highly portable - the procedure should work very similar with other LINUX any distributions and / or compilers
LIGGGHTS® does not need any specific compiler!. You just need to be able to link to an MPI library

You can even let LIGGGHTS run under MacOS(R) (pretty straight-forward) or MS Windows® (see below). Yet you do this at your own risk - this is not "officially supported" by DCS Computing.

=========================================================================

Official INSTALLATION TUTORIAL (for Fedora and Ubuntu)

This describes the installation of LIGGGHTS® under Fedora and Ubuntu
For Ubuntu: use 'sudo apt-get' instead of 'sudo yum install'

+ Install paraview by typing "sudo yum install paraview" in a console
+ Install Open MPI by typing "sudo yum install openmpi openmpi-devel" in a console

Open a new console and check if the symbolic links for Open MPI are set up correctly by typing "which mpirun".
If nothing comes up, you have to manually set up the following symbolic links:
+ Type "sudo ln -s /usr/lib[64]/openmpi/bin/mpirun /usr/bin"
+ Type "sudo ln -s /usr/lib[64]/openmpi/bin/mpic++ /usr/bin"
where lib is used in case of a 32 bit system and lib64 in case of a 64 bit system

Now you are ready to build LIGGGHTS®:
+ Download LIGGGHTS® here
+ in the /src directory, type "make clean-all", then "make fedora"

For installation of postprocessing, see here

Set a following symbolic link for LIGGGHTS® (use lmp_fedora if you use the fedora makefile):
+ Type "sudo ln -s /path1/src/lmp_fedora /usr/bin/liggghts"

+ You can then go to any of the examples in the examples/LIGGGHTS dir, and start by typing
liggghts < in.script
where in.file in the name of the input script

LIGGGHTS® is highly portable - the procedure should work very similar with other LINUX distributions
For Ubuntu: use 'sudo apt-get' instead of 'sudo yum install'

=========================================================================

User-contributed installation hints:

LIGGGHTS® under Windows® - submitted by Richard Berger (JKU)

A distro-agnostic approach to installing OpenMPI, FFTW and LIGGGHTS® - submitted by user fskmh
Installing LIGGGHTS® with MPI and FFTW - submitted by Ram Chand