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 | Wed, 04/01/2015 - 08:16
disable gpu package
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).
emyager | Thu, 04/02/2015 - 00:31
Thank you, that worked (along
Thank you, that worked (along with disabling some other packages).