From 10d0ca126df8b98664502160241a8bedc256b82f Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 14 Aug 2012 16:22:04 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8652 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/Section_python.html | 6 ++++++ doc/Section_python.txt | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/doc/Section_python.html b/doc/Section_python.html index 9b69fe6fd1..d3a6bc2dd1 100644 --- a/doc/Section_python.html +++ b/doc/Section_python.html @@ -147,6 +147,12 @@ E.g. you may need to do something like

Again, you may need to prefix this with "sudo". In this mode you cannot control which Python root invokes.

+

Note that if you want Python to be able to load different versions of +the LAMMPS shared library (see this section below), you will +need to manually copy files like lmplmp_g++.so into the site-packages +directory as well. This is not needed if you set the LD_LIBRARY_PATH +environment variable as described above. +


11.3 Extending Python with MPI to run in parallel diff --git a/doc/Section_python.txt b/doc/Section_python.txt index db9f034e32..f8609e9bec 100644 --- a/doc/Section_python.txt +++ b/doc/Section_python.txt @@ -143,6 +143,12 @@ You can also invoke install.py from the src directory as Again, you may need to prefix this with "sudo". In this mode you cannot control which Python root invokes. +Note that if you want Python to be able to load different versions of +the LAMMPS shared library (see "this section"_#py_5 below), you will +need to manually copy files like lmplmp_g++.so into the site-packages +directory as well. This is not needed if you set the LD_LIBRARY_PATH +environment variable as described above. + :line 11.3 Extending Python with MPI to run in parallel :link(py_3),h4