JeffersonLab / qphix

QCD for Intel Xeon Phi and Xeon processors
http://jeffersonlab.github.io/qphix/
Other
13 stars 11 forks source link

CMake requires Python developer files #73

Open martin-ueding opened 7 years ago

martin-ueding commented 7 years ago

Martin

Bartek tried the CMake version and it could not find Python 3 on his Linux Mint machine. The package python3-dev was missing. On my Fedora machine I have python3-devel installed, so that is not an issue.

I would think that we only need the Python 3 interpreter, so the line that searches for the libraries is not really needed and makes it harder for users to satisfy those dependencies.

Bálint

Yes, we would need to bulletproof this more in the CMakeLists (like your original generate-and-compile.sh script did). I have a custom Python3 + Jinja2 install, as networking from my build node is restricted. So I had to expliclitly put Python3 and its shared libs on my PATH and LD_LIBRARY_PATH. Then things worked for me, but if this is not set up in the shell, things will go haywire.

Best, B