Dear Developers and Users!
I want to install full LAMMPS so that I can run from python. I have macbook pro (Big Sur). Here is error i got:
ramchand@Rams-MacBook-Pro build % cmake -C cmake/presets/minimal.cmake -D BUILD_SHARED_LIBS=on \
-D LAMMPS_EXCEPTIONS=on -D PKG_PYTHON=on …/cmake
loading initial cache file cmake/presets/minimal.cmake
CMake Error: Error processing file: /Users/ramchand/mylammps/build/cmake/presets/minimal.cmake
– The CXX compiler identification is AppleClang 12.0.0.12000032
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found Git: /usr/bin/git (found version “2.24.3 (Apple Git-128)”)
– Running check for auto-generated files from make-based build system
– Found MPI_CXX: /usr/local/Cellar/open-mpi/4.0.5/lib/libmpi.dylib (found version “3.1”)
– Found MPI: TRUE (found version “3.1”)
– Found JPEG: /opt/local/lib/libjpeg.dylib (found version “90”)
– Found PNG: /opt/local/lib/libpng.dylib (found version “1.6.37”)
– Found ZLIB: /opt/local/lib/libz.dylib (found version “1.2.11”)
– Found GZIP: /usr/bin/gzip
– Could NOT find FFMPEG (missing: FFMPEG_EXECUTABLE)
– Found Python: /opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 (found version “3.8.7”) found components: Development Development.Module Development.Embed
– Looking for C++ include cmath
– Looking for C++ include cmath - found
– Generating style headers…
– Generating package headers…
– Generating lmpinstalledpkgs.h…
– Found Python: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8 (found version “3.8.2”) found components: Interpreter
– The following tools and libraries have been found and configured:
-
Git
-
MPI
-
JPEG
-
PNG
-
ZLIB
-
Python
– <<< Build configuration >>>
Operating System: Darwin
Build type: RelWithDebInfo
Install path: /Users/ramchand/.local
Generator: Unix Makefiles using /usr/local/bin/gmake
– Enabled packages: PYTHON
– <<< Compilers and Flags: >>>
– C++ Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Type: AppleClang
Version: 12.0.0.12000032
C++ Flags: -O2 -g -DNDEBUG
Defines: LAMMPS_SMALLBIG;LAMMPS_MEMALIGN=64;LAMMPS_EXCEPTIONS;LAMMPS_JPEG;LAMMPS_PNG;LAMMPS_GZIP;LMP_PYTHON
– <<< Linker flags: >>>
– Executable name: lmp
– Shared library flags:
– <<< MPI flags >>>
– MPI_defines:
– MPI includes: /usr/local/Cellar/open-mpi/4.0.5/include
– MPI libraries: /usr/local/Cellar/open-mpi/4.0.5/lib/libmpi.dylib;
– Configuring incomplete, errors occurred!
See also “/Users/ramchand/mylammps/build/CMakeFiles/CMakeOutput.log”.
See also “/Users/ramchand/mylammps/build/CMakeFiles/CMakeError.log”.
ramchand@Rams-MacBook-Pro build %
Please help me! Thank you very much!