git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13233 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -8,14 +8,13 @@ doc/Section_python.html and in doc/Section_start.html#start_5.
|
||||
|
||||
Basically you need to follow these steps in the src directory:
|
||||
|
||||
% make makeshlib # creates Makefile.shlib
|
||||
% make -f Makefile.shlib g++ # build for whatever machine target you wish
|
||||
% make g++ mode=shlib # build for whatever machine target you wish
|
||||
% make install-python # may need to do this via sudo
|
||||
|
||||
You can replace the last step with running the python/install.py
|
||||
script directly to give you more control over where two relevant files
|
||||
are installed, or by setting environment variables in your shell
|
||||
script. See doc/Section_python.html for details.
|
||||
You can replace the last step by a one-time setting of environment
|
||||
variables in your shell script. Or you can run the python/install.py
|
||||
script directly to give you more control over where the two relevant
|
||||
files are installed. See doc/Section_python.html for details.
|
||||
|
||||
You can then launch Python and instantiate an instance of LAMMPS:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user