Installing from Fedora tutorial

Submitted by Misterblobby on Wed, 11/13/2013 - 15:41

Hi all,

No doubt this is very simple, but I don't know Linux well enough to know what's going on.

I have gone through the :official" installation tutorial for Fedora on this website, everything seemingly went smoothly until the last step:

+ 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"

I ran this command from the home directory with path1 replaced with LIGGGHTS-PUBLIC, which gives an error 'symbolic link already exists'.

I can find no reference to lmp_fedora in the LIGGGHTS-PUBLIC\src directory, and have no idea what "use lmp_fedora if you use the fedora makefile" actually means, which I think is the real problem here!

Any advice would be appreciated. Using Fedora 19.

Misterblobby | Sun, 11/17/2013 - 05:11

Even after doing some research and seeing what I was doing wrong, all that I get is a new string of errors while trying to compile.

The ubuntu install seemed to work better, but that wouldn't compile either. Maybe one day..

aaigner's picture

aaigner | Mon, 11/18/2013 - 20:37

Hi Misterblobby,

What "use lmp_fedora..." means: You compiled LIGGGHTS with a command like
make fedora
That is the point you used "fedora". That's why the executable is named "lmp_fedora".

"The symbolic link already exists": Did you already install any LIGGGHTS version? Is there already a file /usr/bin/liggghts? You can try the command
sudo ln -s /path1/src/lmp_fedora /usr/bin/liggghts-public
and then start LIGGGHTS with liggghts-public instead of liggghts

Cheers
Andreas

Misterblobby | Sun, 12/08/2013 - 14:34

Hi Andreas,

Thanks for the guidance. I ended up doing a bit of research on how makefiles work and learnt a lot about Linux in the process, but had too many problems with openmpi and couldnt get it to compile.

In the end, i got it to compile in Visual Studio 2012, which worked well after fixing a couple of errors with balance module which are covered on this forum somewhere. Doing postprocessing with Christian Richter's paraview plug in after similarly giving up on getting LPP running in windows!

So.... going much slower than I would on Linux, but up and running all the same.