Dear Developers,

I am trying to install alps 2.3.0 on a centos 7  from the sources (including boost).

cmake -D ALPS_ENABLE_OPENMP=ON -D Boost_ROOT_DIR:PATH=/home/gremaud/alps/alps-2.3.0-src-with-boost/boost/ -D CMAKE_INSTALL_PREFIX=/home/gremaud/alps/alps-2.3.0-install ../alps-2.3.0-src-with-boost/alps

the file CMakeCache.txt is attached

I obtain the following error:

In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
                 from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15,
                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/python/numpy_import.hpp:40,
                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/detail/get_numpy_type.hpp:38,
                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/detail/paramvalue_reader.hpp:37,
                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/detail/paramvalue.hpp:34,
                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/params.hpp:33,
                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/api.hpp:32,
                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/lib/api.cpp:28:
/usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
  ^
/usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:23:2: error: #error Should never include npy_deprecated_api directly.
 #error Should never include npy_deprecated_api directly.
  ^
make[2]: *** [src/alps/CMakeFiles/alps.dir/ngs/lib/api.cpp.o] Error 1


The version 2.2.b5 is compiling nicely on the same machine, even though there are a lot of
similar warnings about "Using deprecated NumPy API", but no error.

Thank you for your help,

best regards,

Benoît








--------------------

Researcher at CNRS,

Laboratoire Kastler Brossel (Paris, France) and UMI MajuLab (Singapore)

Visiting Associate Professor at the Centre for Quantum Technologies (NUS, Singapore)