[lammps-users] installing lammps with cmake – LAMMPS Mailing List Mirror


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

Read more here: Source link