Skip to content
Snippets Groups Projects
Commit 5354beb0 authored by Guillaume Demesy's avatar Guillaume Demesy
Browse files

Update ElectromagneticScattering/README.md

parent da9d1a21
No related branches found
No related tags found
No related merge requests found
Pipeline #4827 passed
......@@ -24,21 +24,12 @@ Open `scattering.pro` with Gmsh.
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
To enable python support (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/pythoninclude`
* On Debian/Ubuntu systems, 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 in some an environement (e.g. py36 below), a common location is:
* `/somepath/anaconda3/envs/py36/lib/libpython3.6m.so`
* `/somepath/anaconda3/envs/py36/include/python3.6m`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment