> To whom it may concern,
>
> I need to install the ALPS 2.0 in a Linux Ubuntu-10.04 system. So far I get
> an error message when using
>
> cmake -D
> Boost_ROOT_DIR=/opt/local/alps-2.0/alps-2.0.1-r5565-src-with-boost/boost/
> -DCMAKE_INSTALL_PREFIX=/opt/local/alps-2.0/
> /opt/local/alps-2.0/alps-2.0.1-r5565-src-with-boost/alps
>
> -- Build type: Release
> -- Python interpreter /usr/bin/python
> -- Python interpreter ok : version 2.6.5
> -- PYTHON_INCLUDE_DIRS = /usr/include/python2.6
> -- PYTHON_NUMPY_INCLUDE_DIR =
> /usr/lib/python2.6/dist-packages/numpy/core/include
> -- PYTHON_SITE_PKG = /usr/lib/python2.6/dist-packages
> -- PYTHON_LIBRARY = /usr/lib/python2.6/config/libpython2.6.so
> -- PYTHON_EXTRA_LIBS =-lssl -lcrypto -lssl -lcrypto -L/usr/lib -lz
> -lpthread -ldl -lutil
> -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
> -Wl,-Bsymbolic-functions
> -- ALPS version: 2.0.1
> -- Looking for Boost Source
> -- Found Boost Source:
> /opt/local/alps-2.0/alps-2.0.1-r5565-src-with-boost/boost/
> -- Boost Version: 1_46_1
> 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.
> -- LPSolve Library: not found
> -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS)
> -- HDF5 version found is 1.8.4 in /usr/include
> -- Python interpreter /usr/bin/python
> -- Python interpreter ok : version 2.6.5
> -- PYTHON_INCLUDE_DIRS = /usr/include/python2.6
> -- PYTHON_NUMPY_INCLUDE_DIR =
> /usr/lib/python2.6/dist-packages/numpy/core/include
> -- PYTHON_SITE_PKG = /usr/lib/python2.6/dist-packages
> -- PYTHON_LIBRARY = /usr/lib/python2.6/config/libpython2.6.so
> -- PYTHON_EXTRA_LIBS =-lssl -lcrypto -lssl -lcrypto -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.6/dist-packages/numpy/core/include
> -- ALPS XML dir is /opt/local/alps-2.0/lib/xml
> -- Adding Boost dir:
> /opt/local/alps-2.0/alps-2.0.1-r5565-src-with-boost/boost/
> -- HDF5 version found is 1.8.4 in /usr/include
> -- HDF5 version found is 1.8.4 in /usr/include
> -- tebd will not be built
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /opt/local/alps-2.0/alps-2.0.1-r5565-src-with-boost
>
> Since Dr. Matthias Troyer told me that it in not required to have the
> lp_solve library for ALPS 2.0, I still have one error for Lapack (Falling
> back to CMake provied LAPACK/BLAS detection). If I don't fix it and try to
> install it, I will get an error message as
>
> ......
> SSE.Directed.cpp:(.text+0x2745): undefined reference to `add_constraint'
> CMakeFiles/dirloop_sse_v1.dir/SSE.Directed.cpp.o:SSE.Directed.cpp:(.text+0x27a1):
> more undefined references to `add_constraint' follow
> CMakeFiles/dirloop_sse_v1.dir/SSE.Directed.cpp.o: In function
> `SSE::find_minbounce(double*, double*, double*, double*)':
> SSE.Directed.cpp:(.text+0x29cd): undefined reference to `set_obj_fn'
> SSE.Directed.cpp:(.text+0x29d5): undefined reference to `solve'
> SSE.Directed.cpp:(.text+0x2ae0): undefined reference to `delete_lp'
> SSE.Directed.cpp:(.text+0x2b57): undefined reference to `add_constraint'
> SSE.Directed.cpp:(.text+0x2bb6): undefined reference to `add_constraint'
> SSE.Directed.cpp:(.text+0x2c74): undefined reference to `add_constraint'
> SSE.Directed.cpp:(.text+0x2cd3): undefined reference to `add_constraint'
> SSE.Directed.cpp:(.text+0x2d64): undefined reference to `add_constraint'
> CMakeFiles/dirloop_sse_v1.dir/SSE.Directed.cpp.o:SSE.Directed.cpp:(.text+0x2dc0):
> more undefined references to `add_constraint' follow
> CMakeFiles/dirloop_sse_v1.dir/SSE.Directed.cpp.o: In function
> `SSE::find_minbounce(double*, double*, double*, double*)':
> SSE.Directed.cpp:(.text+0x2fe9): undefined reference to `set_upbo'
> SSE.Directed.cpp:(.text+0x3008): undefined reference to `set_upbo'
> SSE.Directed.cpp:(.text+0x3027): undefined reference to `set_upbo'
> SSE.Directed.cpp:(.text+0x3040): undefined reference to `set_upbo'
> SSE.Directed.cpp:(.text+0x305a): undefined reference to `set_upbo'
> CMakeFiles/dirloop_sse_v1.dir/SSE.Directed.cpp.o:SSE.Directed.cpp:(.text+0x3073):
> more undefined references to `set_upbo' follow
> CMakeFiles/dirloop_sse_v1.dir/SSE.Directed.cpp.o: In function
> `SSE::find_minbounce(double*, double*, double*, double*)':
> SSE.Directed.cpp:(.text+0x312f): undefined reference to `add_constraint'
> SSE.Directed.cpp:(.text+0x3189): undefined reference to `add_constraint'
> SSE.Directed.cpp:(.text+0x31ff): undefined reference to `add_constraint'
> SSE.Directed.cpp:(.text+0x325d): undefined reference to `add_constraint'
> SSE.Directed.cpp:(.text+0x32de): undefined reference to `add_constraint'
> CMakeFiles/dirloop_sse_v1.dir/SSE.Directed.cpp.o:SSE.Directed.cpp:(.text+0x333c):
> more undefined references to `add_constraint' follow
> collect2: ld returned 1 exit status
> make[2]: *** [applications/qmc/sse/dirloop_sse_v1] Error 1
> make[1]: *** [applications/qmc/sse/CMakeFiles/dirloop_sse_v1.dir/all] Error
> 2
> make[1]: *** Waiting for unfinished jobs....
>
> It sounds like some dynamical libraries are not correct. Do you know how to
> fix it?
>
> By the way, do "tebd will not be built" and "Could NOT find SZIP" matter?
>
> Thank you,
> --
> Kuang-Shing Chen
>
>
--
Kuang-Shing Chen