problems with python on hydra
Created by: lucarottoli
@scarrazza @Zaharid I have some problems with the latest version of the code to successfully configure nnpdf on hydra. Though if I look at ccmake .. all the relevant flags point to an existing installation of python3.6,
PYTHON_EXECUTABLE /users/rottoli/py3env/bin/python3.6 PYTHON_INCLUDE_DIR /users/rottoli/libs/include/python3.6m PYTHON_LIBRARY /users/rottoli/libs/lib/libpython3.6m.a PYTHON_LIBRARY_DEBUG PYTHON_LIBRARY_DEBUG-NOTFOUND
I cannot make the code as I get these errors
cmake -DCMAKE_INSTALL_PREFIX=$HOME/libs .. Traceback (most recent call last): File "", line 2, in File "/usr/local/shared/python/2.7.8-gcc/lib/python2.7/site-packages/numpy/init.py", line 153, in from . import add_newdocs File "/usr/local/shared/python/2.7.8-gcc/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/usr/local/shared/python/2.7.8-gcc/lib/python2.7/site-packages/numpy/lib/init.py", line 8, in from .type_check import * File "/usr/local/shared/python/2.7.8-gcc/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in import numpy.core.numeric as _nx File "/usr/local/shared/python/2.7.8-gcc/lib/python2.7/site-packages/numpy/core/init.py", line 6, in from . import multiarray ImportError: /usr/local/shared/python/2.7.8-gcc/lib/python2.7/site-packages/numpy/core/multiarray.so: undefined symbol: _Py_ZeroStruct CMake Warning at nnpdfcpp/src/CMakeLists.txt:116 (message): libfiatlux not found: fiatlux compilation is disabled, install libfiatlux and rerun cmake to enable the fiatlux compilation
As I don't know how the makefile is fetching 2.7, I don't know how to solve this issue.