aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2017-01-18 16:58:24 -0800
committerGravatar Dave Grote <grote1@llnl.gov> 2017-01-18 16:59:04 -0800
commitc3180df05f9ae4b67d518511dfccbe08af39b99d (patch)
treee0c99484e9b842c30b7ccb136371bc598529e561 /Python
parent43d446f7662bb400a3feb335c7ec8d46c8a38f5d (diff)
downloadWarpX-c3180df05f9ae4b67d518511dfccbe08af39b99d.tar.gz
WarpX-c3180df05f9ae4b67d518511dfccbe08af39b99d.tar.zst
WarpX-c3180df05f9ae4b67d518511dfccbe08af39b99d.zip
Updated Python/README
Diffstat (limited to 'Python')
-rw-r--r--Python/README10
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/README b/Python/README
index c3a81ef4d..b8641e8eb 100644
--- a/Python/README
+++ b/Python/README
@@ -1,10 +1,10 @@
The initial python wrapped version. This has the minimal capability of allowing specification of the
input parameters (i.e. the input file) in python, passing that into BoxLib and then running the time steps.
-Building it requires several steps (which will be cleaned up in the future). Go into the new Python directory and run make to build
-libwarpx.so. Then run "python setup.py install", which builds the wrapper and installs it. For this, you will need to have
-swig installed. (In the future, the swig generated wrapper could be put into the repo so swig wouldn't be needed.)
+To build it, run "make pyinstall" in the Python directory. You will need to have swig installed.
+(In the future, the swig generated wrapper could be put into the repo so swig wouldn't be needed.)
+This will compile the code, create the wrapper, and install the wrapper in the Python site-packages directory.
+There is also "make pybuild" will build the wrapper but not install it.
-There is a new input file input.py in tests/Langmuir which can run it. You will need to set either DYLD_LIBRARY_PATH (on mac) or
-LD_LIBRARY_PATH (on linux) to the path where the libwarpx.so (i.e. ../../warpx/Python). (This also will be fixed in the future.)
+There is a new input file input.py in tests/Langmuir which can run it.