<div dir="ltr"><div><div>Dear Developers,<br><br></div>I am trying to install alps 2.3.0 on a centos 7  from the sources (including boost). <br></div><div><br></div><div>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</div><div><br></div><div>the file CMakeCache.txt is attached<br></div><div><br></div><div>I obtain the following error:</div><div><br></div><div>In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,<br>                 from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,<br>                 from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15,<br>                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/python/numpy_import.hpp:40,<br>                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/detail/get_numpy_type.hpp:38,<br>                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/detail/paramvalue_reader.hpp:37,<br>                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/detail/paramvalue.hpp:34,<br>                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/params.hpp:33,<br>                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/api.hpp:32,<br>                 from /home/gremaud/alps/alps-2.3.0-src-with-boost/alps/src/alps/ngs/lib/api.cpp:28:<br>/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]<br> #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"<br>  ^<br>/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.<br> #error Should never include npy_deprecated_api directly.<br>  ^<br>make[2]: *** [src/alps/CMakeFiles/alps.dir/ngs/lib/api.cpp.o] Error 1</div><div><br></div><div><br></div><div>The version 2.2.b5 is compiling nicely on the same machine, even though there are a lot of</div><div>similar warnings about "Using deprecated NumPy API", but no error.</div><div><br></div><div>Thank you for your help,</div><div><br></div><div>best regards,</div><div><br></div><div>Benoît<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><div><br><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="Liberation Sans, sans-serif">--------------------<br></font>


        
        
        
        


<p style="margin-bottom:0in" lang="en-US" align="JUSTIFY">
<font face="Liberation Sans, sans-serif"><font face="Liberation Sans, sans-serif">Researcher
at CNRS, <br></font></font></p><p style="margin-bottom:0in" lang="en-US" align="JUSTIFY"><font face="Liberation Sans, sans-serif"><font face="Liberation Sans, sans-serif">Laboratoire Kastler Brossel (Paris, France) and </font>UMI MajuLab (Singapore) <br></font></p><p style="margin-bottom:0in" lang="en-US" align="JUSTIFY"><font face="Liberation Sans, sans-serif"><span>Visiting</span> <span>Associate</span> Professor
at the Centre for Quantum Technologies (NUS, Singapore)</font></p>
</div></div></div></div></div>
</div></div></div></div>