Problem when making liggghts

Submitted by emyager on Wed, 04/01/2015 - 01:10

Hi,

I have been trying to install LIGGGHTS 3.1 on Ubuntu 14.04. I have downloaded the latest version and then used the following commands:
make clean-all
make fedora

It works for awhile but then I get the following error:
make[1]: *** No rule to make target `../../lib/gpu/Makefile.lammps'. Stop.
make[1]: Leaving directory `/home/LIGGGHTS-PUBLIC-3.1/LIGGGHTS-PUBLIC/src/Obj_serial'
make: *** [serial] Error 2

I've looked through previous comments for this problem and one issue was not having:
# Path to src files

vpath %.cpp ..
vpath %.h ..

included in the Makefile but I checked on this and it is there. I am sure that I am making a simple mistake so if anyone has a suggestion as to what I have done wrong, please let me know.

Thanks,
El

richti83's picture

richti83 | Wed, 04/01/2015 - 08:16

you enabled the gpu package of LAMMPS, in this case you would need to build the gpu library first, but as there is no gpu enabled part in granular model it is useless for us, so I guess to disable gpu package in the makefile(s) (I think make no-gpu should do the trick, otherwise manually edit src/makefile.package and src/MAKE/Makefile.fedora).

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