Dear all,
Motivated with my former experience on using cmake
to install LAMMPS on a PC computer, I followed commands to install LAMMPS on my cluster’s user directory. I used this command:
cmake -D CMAKE_INSTALL_PREFIX= /share/myuser/lammps/installedlammps/ ../cmake
And unfortunately get the following error:
– Running check for auto-generated files from make-based build system
CMake Error at Modules/LAMMPSUtils.cmake:75 (message):########################################################################
Found header file(s) generated by the make-based build system
Please run
make -C /share/myuser/lammps/src purge
to remove
########################################################################
Call Stack (most recent call first):
CMakeLists.txt:79 (check_for_autogen_files)– Configuring incomplete, errors occurred!
See also “/share/myuser/lammps/build/CMakeFiles/CMakeOutput.log”.
My try:
I loaded essential modules, git
, mpi
, openmpi
. But it was not helpful. I got the same error.
Any comments will be appreciated
modules