From 5354beb0fec5f0f3965dc51b48d988a2bff99166 Mon Sep 17 00:00:00 2001 From: Guillaume Demesy <guillaume.demesy@fresnel.fr> Date: Mon, 23 Sep 2019 00:42:17 +0200 Subject: [PATCH] Update ElectromagneticScattering/README.md --- ElectromagneticScattering/README.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/ElectromagneticScattering/README.md b/ElectromagneticScattering/README.md index ac115e9..bd92b17 100644 --- a/ElectromagneticScattering/README.md +++ b/ElectromagneticScattering/README.md @@ -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` -- GitLab