diff --git a/ElectromagneticScattering/README.md b/ElectromagneticScattering/README.md index 80a201bb824f109447274e8fc3665e39d416e546..0fcb9458fa616bb96fcae4d6db458dc0e9f005b9 100644 --- a/ElectromagneticScattering/README.md +++ b/ElectromagneticScattering/README.md @@ -22,3 +22,18 @@ Open `scattering.pro` with Gmsh. ## Authors Guillaume Demésy and Brian Stout + +## Installation Note +To enable Python[] function in GetDP, follow [these instructions](https://gitlab.onelab.info/getdp/getdp/wikis/GetDP-compilation) (complex arithmetic) and add to the final cmake line: +`-DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/path/to/pythonlib -DPYTHON_INCLUDE_DIR=/path/to/python/include` + +On Debian for python3.6 installed with apt-get, +/path/to/pythonlib is +/usr/lib/x86_64-linux-gnu/libpython3.6m.so + +/path/to/python/include is +/usr/include/python3.6m + +For python versions installed through anaconda, common locations are: +/somepath/anaconda3/envs/py36/lib/libpython3.6m.so +/somepath/anaconda3/envs/py36/include/python3.6m