Yes, of course.
Julien
On 02/11/16 19:38, Matthias Troyer wrote:
Can you please send the CMakeCache.txt file?
On 2 Nov 2016, at 19:30, julien julien.despres@institutoptique.fr wrote:
Hello Michele,
These options are already fixed in the CMakeCache.txt (except for the option : ALPS_ENABLE_OPENMP that I switched to [ON]) but finally I obtain the same error ...
Thanks a lot for your answer, Julien
On 02/11/16 15:16, Michele Dolfi wrote: tebd actually does not only require Fortran, but also OpenMP.
Usually I add this options during configuration: -DCMAKE_Fortran_COMPILER=gfortran \ -DMPI_Fortran_COMPILER=mpif90 -DALPS_ENABLE_OPENMP=ON -DALPS_BUILD_FORTRAN=ON \
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
On 2 Nov 2016, at 15:07, Julien julien.despres@institutoptique.fr wrote:
Hello ALPS community,
I tried to install the TEBD code but I got the following error when I wrote 'cmake ..' in the 'build' directory :
-- Compiler version: c++ (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609 -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/i386-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.2.b4 -- Looking for precompiled Boost libraries (version >= 1.52) -- Boost version: 1.58.0 -- Found the following Boost libraries: -- mpi -- serialization -- Boost version: 1.58.0 -- Found the following Boost libraries: -- timer -- chrono -- system -- Boost version: 1.58.0 -- Found the following Boost libraries: -- chrono -- date_time -- filesystem -- iostreams -- program_options -- python -- regex -- system -- serialization -- thread -- mpi -- timer -- atomic -- Adding Boost dir: /usr/include -- MPI compiler was /usr/bin/mpicxx -- Falling back to CMake provied LAPACK/BLAS detection. -- A library with BLAS API found. -- A library with BLAS API found. -- A library with LAPACK API found. -- SQLite Library: not found -- LPSolve Library: not found -- Found HDF5: /usr/lib/i386-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/i386-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/i386-linux-gnu/libpthread.so;/usr/lib/i386-linux-gnu/libsz.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libdl.so;/usr/lib/i386-linux-gnu/libm.so -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.12 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/i386-linux-gnu/libpython2.7.so -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- Numpy include in /usr/lib/python2.7/dist-packages/numpy/core/include -- ALPS XML dir is /home/julien/Thesis/ALPS/install/lib/xml -- Found HDF5: /usr/lib/i386-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/i386-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/i386-linux-gnu/libpthread.so;/usr/lib/i386-linux-gnu/libsz.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libdl.so;/usr/lib/i386-linux-gnu/libm.so;/usr/lib/i386-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/i386-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/i386-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/i386-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/i386-linux-gnu/libpthread.so;/usr/lib/i386-linux-gnu/libsz.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libdl.so;/usr/lib/i386-linux-gnu/libm.so;/usr/lib/i386-linux-gnu/libpthread.so;/usr/lib/i386-linux-gnu/libsz.so;/usr/lib/i386-linux-gnu/libz.so;/usr/lib/i386-linux-gnu/libdl.so;/usr/lib/i386-linux-gnu/libm.so -- MPS: enabling NU1 symmetry. -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/julien/Thesis/ALPS/build
I know that the TEBD code requires a fortran compiler (so I changed ALPS_BUILD_FORTRAN) and that HDF5 be built with the --enable-fortran configure option (its is not enough to download the package libhdf5-serial-dev?). I send you the CMakeCache.txt as an attachment.
Thank you in advance for your help,
Best regards, Julien <CMakeCache.txt>
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
-- __________________________________
DESPRES Julien Ph.D. student
Atom Optics group Quantum Matter Theory team Laboratoire Charles Fabry Institut d'Optique Graduate School 2 Avenue Augustin Fresnel 91127 Palaiseau Cedex
Office : R2.29 (1st floor) Phone: +33 1 64 53 33 49 __________________________________
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.