From b395ef00b446c6e75e9c25aaff07742fbcc15a32 Mon Sep 17 00:00:00 2001 From: Richard Berger <richard.berger@temple.edu> Date: Mon, 31 Jul 2017 15:50:14 -0600 Subject: [PATCH] Update tutorial_pylammps.txt --- doc/src/tutorial_pylammps.txt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/doc/src/tutorial_pylammps.txt b/doc/src/tutorial_pylammps.txt index 78cdd241fb..3b86c7a911 100644 --- a/doc/src/tutorial_pylammps.txt +++ b/doc/src/tutorial_pylammps.txt @@ -48,21 +48,17 @@ System-wide Installation :h3 Step 1: Building LAMMPS as a shared library :h4 To use LAMMPS inside of Python it has to be compiled as shared library. This -library is then loaded by the Python interface. In this example, we use the -Make.py utility to create a Makefile with C++ exceptions, PNG, JPEG and FFMPEG -output support enabled. Finally, we also enable the MOLECULE package and compile -using the generated {auto} Makefile. +library is then loaded by the Python interface. In this example we enable the +MOLECULE package and compile LAMMPS with C++ exceptions, PNG, JPEG and FFMPEG +output support enabled. cd $LAMMPS_DIR/src :pre -# generate custom Makefile -python Make.py -jpg -png -s ffmpeg exceptions -m mpi -a file :pre - # add packages if necessary make yes-MOLECULE :pre # compile shared library using Makefile -make mode=shlib auto :pre +make mpi mode=shlib LMP_INC="-DLAMMPS_PNG -DLAMMPS_JPEG -DLAMMPS_FFMPEG -DLAMMPS_EXCEPTIONS" JPG_LIB="-lpng" :pre Step 2: Installing the LAMMPS Python package :h4 -- GitLab