Old version of LIGGGHTS

Submitted by Dhritiman on Thu, 06/21/2018 - 09:47

Dear all,
How do I install LIGGGHTS version 3.1.0? I need to use the SEAICE user package which was written for LIGGGHTS 3.1.0. I want to simulate wind blowing the sand away from a sand dune.. causing avalanche etc.

Bias's picture

Bias | Thu, 06/21/2018 - 11:49

Hi,
If you clone with git you actually already have all versions of LIGGGHTS.
So first by running: "git clone https://github.com/CFDEMproject/LIGGGHTS-PUBLIC" you will get the LIGGGHTS-PLUBLIC folder. All you need to then is just to change the git commit to what you want to have.
So if you go to https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/releases you find the release history for the git repository.
In this case v 3.1.0 is the commit b3030a8fd1f722c77f69150c7b2d24b386eab848
so just run
git checkout b3030a8fd1f722c77f69150c7b2d24b386eab848
to get version 3.1.0.

Best regards
Tobias