forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8664 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
c0f36fd0af
commit
6139908a11
|
@ -12,8 +12,12 @@ Basically you need to follow these steps in the src directory:
|
|||
% make -f Makefile.shlib g++ # or whatever machine target you wish
|
||||
% make install-python # may need to do this via sudo
|
||||
|
||||
You can then launch Python and instantiate an instance of
|
||||
LAMMPS:
|
||||
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 then launch Python and instantiate an instance of LAMMPS:
|
||||
|
||||
% python
|
||||
>>> from lammps import lammps
|
||||
|
|
Loading…
Reference in New Issue