diff options
author | 2016-12-06 14:57:55 -0800 | |
---|---|---|
committer | 2016-12-06 14:59:06 -0800 | |
commit | c48e186717baf2f39f06a6f9871bc097998bc98e (patch) | |
tree | 18e89133bde9239fc37c2f51ea6e5abce84c5928 /Python/README | |
parent | bf7ee38a4aee2db94593d0def8d58738df3cd3a1 (diff) | |
download | WarpX-c48e186717baf2f39f06a6f9871bc097998bc98e.tar.gz WarpX-c48e186717baf2f39f06a6f9871bc097998bc98e.tar.zst WarpX-c48e186717baf2f39f06a6f9871bc097998bc98e.zip |
Added Python/README
Diffstat (limited to 'Python/README')
-rw-r--r-- | Python/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Python/README b/Python/README new file mode 100644 index 000000000..c3a81ef4d --- /dev/null +++ b/Python/README @@ -0,0 +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.) + +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.) + |