Liggghts 3.3.1 version

Submitted by sitinorfarahin on Tue, 02/02/2016 - 20:28

Hello. I need someone to help me.

I installed and compiled Liggght version 3.3.1 and I have done checking at SRC / version liggghts.h for double check the version.
Then, I have tried many times to run the example. Unfortunately , still it does not work. This is due to my current liggght version is 2.3
8 as stated in terminal.

ERROR :Invalid pair style (/build/buildd/liggghts - 2.3.8/src/force.cpp:181)

What could I do to fix this problem.. Anyone could help me pleased.

Thank You.

vkoppejan | Wed, 02/03/2016 - 08:55

perhaps you need to update the symbolic link to the new liggghts version?

salaryaraghi | Mon, 03/21/2016 - 20:07

Hi, I am having the same issue as stated by sitinorfarahin. When I try to run any of the examples using the liggghts < in.example, I get the error stated in the subject line. I have installed liggghts using the most updated file located on the github website which is the 3.3.1 version. However, when I enter "liggghts" command in the terminal the output states that I have the 2.3.8 version. Any input would be highly appreciated.

richti83's picture

richti83 | Thu, 03/24/2016 - 09:24

Did you installed a previous liggghts version by package installer (apt-get or yum ?) or did you set an symlink to lmp_fedora in /usr/bin ?
You can check this with

whereis liggghts
ls -l {^^^^ output of whereis}

should give something like this:

dem@pc-dem2-ilm ~]$ whereis lmp3
lmp3: /usr/bin/lmp3
[dem@pc-dem2-ilm ~]$ ls -la /usr/bin/lmp3
lrwxrwxrwx. 1 root root 49 24. Feb 14:06 /usr/bin/lmp3 -> /home/dem/LIGGGHTS/LIGGGHTS-PUBLIC/src/lmp_fedora
[dem@pc-dem2-ilm ~]$

now you need to go to /usr/bin an remove old symlink and update to new liggghts3-executable (normaly $HOME/LIGGGHTS/LIGGGHTS-PUBLIC/src/lmp_fedora, depending where you cloned the git archive and which makefile you used)

cd /usr/bin
sudo rm liggghts
sudo ln -s /home/{USERNAME}/LIGGGHTS/LIGGGHTS-PUBLIC/src/lmp_fedora liggghts

to create a new symlink.
Now when you type liggghts in terminal you should get 3.3.1

Good Luck,
Christian.

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