Dear Users:
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
lines):
...
[ 98%] Building CXX object
CMakeFiles/lammps.dir/home/dell/Downloads/lammps-master/src/MOLECULE/pair_lj_cut_tip4p_cut.cpp.o
[ 99%] Building CXX object
CMakeFiles/lammps.dir/home/dell/Downloads/lammps-master/src/MOLECULE/pair_tip4p_cut.cpp.o
[ 99%] Linking CXX static library liblammps.a
[ 99%] Built target lammps
[100%] Building CXX object
CMakeFiles/lmp.dir/home/dell/Downloads/lammps-master/src/main.cpp.o
make[2]: *** No rule to make target 'path', needed by 'lmp'. Stop.
CMakeFiles/Makefile2:1264: recipe for target 'CMakeFiles/lmp.dir/all' failed
make[1]: *** [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 ?
Regards,
Madhav Ranganathan