aboutsummaryrefslogtreecommitdiff
path: root/Python/README
blob: c3a81ef4d3595e978e1a58c092878723504cf533 (plain) (blame)
1
2
3
4
5
6
7
8
9
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.)