Dear LAMMPS experts,
I am trying to build lammps with cmake command with cmake3 by using this command line:
cmake3 -C ../cmake/presets/most.cmake ../cmake
It seemed that installation was successful according to the below report:
-- <<< Build configuration >>>
Operating System: Linux CentOS Linux 7
Build type: RelWithDebInfo
Install path: /gpfs/home/daneshia/.local
Generator: Unix Makefiles using /usr/bin/gmake
-- Enabled packages: <None>
-- <<< Compilers and Flags: >>>
-- C++ Compiler: /usr/bin/g++
Type: GNU
Version: 4.8.5
C++ Flags: -g -O2 -DNDEBUG
Defines: LAMMPS_SMALLBIG;LAMMPS_MEMALIGN=64;LAMMPS_JPEG;LAMMPS_PNG;LAMMPS_GZIP
-- <<< Linker flags: >>>
-- Executable name: lmp
-- Static library flags:
-- Configuring done
-- Generating done
-- Build files have been written to: /gpfs/home/daneshia/Mg -001-MEAM/lammps-29Sep2021/build
Hi Bahman,
The command line you provided is only configuring the compilation options for cmake. You still have to compile and install lammps, that is why the executable is not found.
You can refer to section 3.1.2 of the manual where an example is provided:
Regards,
Germain