I am having a problem installing the KSPACE package on LAMMPS. I used
cmake to compile and build lammps and could install other packages but I
am not able to install KSPACE. I am using ubuntu 18.04.1 and installed the
LAMMPS version on 06/06/2020.
I carried out the following commands to install KSPACE.
cmake --build . --target clean
cmake -D PKG_KSPACE=on ../cmake
cmake --build . --target install
The first two commands seemed to work fine. On running the third command
it went through 100% of building objects and then gave the error (last few
[ 98%] Building CXX object
[ 99%] Building CXX object
[ 99%] Linking CXX static library liblammps.a
[ 99%] Built target lammps
[100%] Building CXX object
make: *** No rule to make target 'path', needed by 'lmp'. Stop.
CMakeFiles/Makefile2:1264: recipe for target 'CMakeFiles/lmp.dir/all' failed
make: *** [CMakeFiles/lmp.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I tried searching the forum for this error but could not find anything
useful. Can someone help me ?