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
Can you send a copy of your CMakeCache.txt file?
On May 26, 2011, at 3:53 AM, Brains Chen wrote:
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
CMakeCache.txt is in the attached file. By the way, after I downloaded the lapack package from http://www.netlib.org/lapack/lapack-3.2.2.tgz, and use "make all" to generate a lapack_LINUX.a and a blas_LINUX.a. Inside the ccmake, I set the path of LAPACK_LIBRARY=.../lapack_LINUX.a and the path of BLAS_LIBRARY=.../blas_LINUX.a. Now I don't have the error message showing "Falling back to CMake provied LAPACK/BLAS detection." However, when I used "make -j 2 install" to install the ALPS, I got the similar error message.
KS Chen
On Thu, May 26, 2011 at 10:49 PM, Matthias Troyer troyer@phys.ethz.chwrote:
Can you send a copy of your CMakeCache.txt file?
On May 26, 2011, at 3:53 AM, Brains Chen wrote:
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
It seems that your CMakeCahe.txt is messed up, since it does contain lines like:
LPSolve_FOUND:BOOL=ON
//Path to a file. LPSolve_INCLUDE_DIR:PATH=/opt/local/lp_solve_5.1
//Path to a library. LPSolve_LIBRARIES:FILEPATH=/usr/lib/lp_solve/liblpsolve55.so
which might go to different versions of lpsolve. Just remove CMakeCache.txt or set the LPSolve_FOUND:BOOL=ON to OFF
For your other question: tebd needs a Fortran-90 compiler and will not be built if you don't specify one, or do not build the Fortran HDF5 libraries
Matthias
On May 26, 2011, at 11:53 AM, Brains Chen wrote:
CMakeCache.txt is in the attached file. By the way, after I downloaded the lapack package from http://www.netlib.org/lapack/lapack-3.2.2.tgz, and use "make all" to generate a lapack_LINUX.a and a blas_LINUX.a. Inside the ccmake, I set the path of LAPACK_LIBRARY=.../lapack_LINUX.a and the path of BLAS_LIBRARY=.../blas_LINUX.a. Now I don't have the error message showing "Falling back to CMake provied LAPACK/BLAS detection." However, when I used "make -j 2 install" to install the ALPS, I got the similar error message.
KS Chen
On Thu, May 26, 2011 at 10:49 PM, Matthias Troyer troyer@phys.ethz.ch wrote: Can you send a copy of your CMakeCache.txt file?
On May 26, 2011, at 3:53 AM, Brains Chen wrote:
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
-- Kuang-Shing Chen
<CMakeCache.txt>
On May 26, 2011, at 11:53 AM, Brains Chen wrote:
Now I don't have the error message showing "Falling back to CMake provied LAPACK/BLAS detection."
This is actually not an error message, but just an informational message that it uses the default way to find blas and lapack
Matthias
What's wrong with the p recompiled version? Check http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#In... for links & instructions. Worked fine for me (for Maverick 10.10).
On Thu, May 26, 2011 at 2:53 PM, Brains Chen brainsgreat@gmail.com wrote:
CMakeCache.txt is in the attached file. By the way, after I downloaded the lapack package from http://www.netlib.org/lapack/lapack-3.2.2.tgz, and use "make all" to generate a lapack_LINUX.a and a blas_LINUX.a. Inside the ccmake, I set the path of LAPACK_LIBRARY=.../lapack_LINUX.a and the path of BLAS_LIBRARY=.../blas_LINUX.a. Now I don't have the error message showing "Falling back to CMake provied LAPACK/BLAS detection." However, when I used "make -j 2 install" to install the ALPS, I got the similar error message.
KS Chen
On Thu, May 26, 2011 at 10:49 PM, Matthias Troyer troyer@phys.ethz.chwrote:
Can you send a copy of your CMakeCache.txt file?
On May 26, 2011, at 3:53 AM, Brains Chen wrote:
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
-- Kuang-Shing Chen
Thank you all,
Now I have installed the ALPS 2.0 on the Ubuntu 10.04 except a small problem. When I run "make test", there are always three jobs which can not pass the test:
Start 1: ising_single 1/92 Test #1: ising_single .....................***Failed 0.29 sec Start 2: loop_single 2/92 Test #2: loop_single ......................***Failed 0.23 sec Start 3: exchange 3/92 Test #3: exchange .........................***Failed 0.38 sec
... The following tests FAILED: 1 - ising_single (Failed) 2 - loop_single (Failed) 3 - exchange (Failed)
Does it matter? So far I didn't find any error that affect the job I am running.
Regards, KS Chen
On Fri, May 27, 2011 at 1:46 AM, Kirill Shtengel kirill.shtengel@ucr.eduwrote:
What's wrong with the p recompiled version? Check http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#In... for links & instructions. Worked fine for me (for Maverick 10.10).
On Thu, May 26, 2011 at 2:53 PM, Brains Chen brainsgreat@gmail.comwrote:
CMakeCache.txt is in the attached file. By the way, after I downloaded the lapack package from http://www.netlib.org/lapack/lapack-3.2.2.tgz, and use "make all" to generate a lapack_LINUX.a and a blas_LINUX.a. Inside the ccmake, I set the path of LAPACK_LIBRARY=.../lapack_LINUX.a and the path of BLAS_LIBRARY=.../blas_LINUX.a. Now I don't have the error message showing "Falling back to CMake provied LAPACK/BLAS detection." However, when I used "make -j 2 install" to install the ALPS, I got the similar error message.
KS Chen
On Thu, May 26, 2011 at 10:49 PM, Matthias Troyer troyer@phys.ethz.chwrote:
Can you send a copy of your CMakeCache.txt file?
On May 26, 2011, at 3:53 AM, Brains Chen wrote:
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
-- Kuang-Shing Chen
Could you send me example/parapack/single/ising_single_output in your build directory?
Synge
On 2011/05/27, at 9:27, Brains Chen wrote:
Thank you all,
Now I have installed the ALPS 2.0 on the Ubuntu 10.04 except a small problem. When I run "make test", there are always three jobs which can not pass the test:
Start 1: ising_single
1/92 Test #1: ising_single .....................***Failed 0.29 sec Start 2: loop_single 2/92 Test #2: loop_single ......................***Failed 0.23 sec Start 3: exchange 3/92 Test #3: exchange .........................***Failed 0.38 sec
... The following tests FAILED: 1 - ising_single (Failed) 2 - loop_single (Failed) 3 - exchange (Failed)
Does it matter? So far I didn't find any error that affect the job I am running.
Regards, KS Chen
On Fri, May 27, 2011 at 1:46 AM, Kirill Shtengel kirill.shtengel@ucr.edu wrote: What's wrong with the p recompiled version? Check http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#In... for links & instructions. Worked fine for me (for Maverick 10.10).
On Thu, May 26, 2011 at 2:53 PM, Brains Chen brainsgreat@gmail.com wrote: CMakeCache.txt is in the attached file. By the way, after I downloaded the lapack package from http://www.netlib.org/lapack/lapack-3.2.2.tgz, and use "make all" to generate a lapack_LINUX.a and a blas_LINUX.a. Inside the ccmake, I set the path of LAPACK_LIBRARY=.../lapack_LINUX.a and the path of BLAS_LIBRARY=.../blas_LINUX.a. Now I don't have the error message showing "Falling back to CMake provied LAPACK/BLAS detection." However, when I used "make -j 2 install" to install the ALPS, I got the similar error message.
KS Chen
On Thu, May 26, 2011 at 10:49 PM, Matthias Troyer troyer@phys.ethz.ch wrote: Can you send a copy of your CMakeCache.txt file?
On May 26, 2011, at 3:53 AM, Brains Chen wrote:
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
-- Kuang-Shing Chen
-- Kuang-Shing Chen
Yes, it is in the attached file.
KS Chen
On Fri, May 27, 2011 at 3:34 AM, Synge Todo wistaria@comp-phys.org wrote:
Could you send me example/parapack/single/ising_single_output in your build directory?
Synge
On 2011/05/27, at 9:27, Brains Chen wrote:
Thank you all,
Now I have installed the ALPS 2.0 on the Ubuntu 10.04 except a small
problem. When I run "make test", there are always three jobs which can not pass the test:
Start 1: ising_single
1/92 Test #1: ising_single .....................***Failed 0.29 sec Start 2: loop_single 2/92 Test #2: loop_single ......................***Failed 0.23 sec Start 3: exchange 3/92 Test #3: exchange .........................***Failed 0.38 sec
... The following tests FAILED: 1 - ising_single (Failed) 2 - loop_single (Failed) 3 - exchange (Failed)
Does it matter? So far I didn't find any error that affect the job I am
running.
Regards, KS Chen
On Fri, May 27, 2011 at 1:46 AM, Kirill Shtengel <
kirill.shtengel@ucr.edu> wrote:
What's wrong with the p recompiled version? Check
http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#In...
for links & instructions. Worked fine for me (for Maverick 10.10).
On Thu, May 26, 2011 at 2:53 PM, Brains Chen brainsgreat@gmail.com
wrote:
CMakeCache.txt is in the attached file. By the way, after I downloaded
the lapack package from http://www.netlib.org/lapack/lapack-3.2.2.tgz, and use "make all" to generate a lapack_LINUX.a and a blas_LINUX.a. Inside the ccmake, I set the path of LAPACK_LIBRARY=.../lapack_LINUX.a and the path of BLAS_LIBRARY=.../blas_LINUX.a. Now I don't have the error message showing "Falling back to CMake provied LAPACK/BLAS detection." However, when I used "make -j 2 install" to install the ALPS, I got the similar error message.
KS Chen
On Thu, May 26, 2011 at 10:49 PM, Matthias Troyer troyer@phys.ethz.ch
wrote:
Can you send a copy of your CMakeCache.txt file?
On May 26, 2011, at 3:53 AM, Brains Chen wrote:
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
-- Kuang-Shing Chen
-- Kuang-Shing Chen
Dear Kuang-Shing,
It's just a rounding error and poses no harm. Please ignore it.
Best, Synge
On 2011/05/27, at 12:28, Brains Chen wrote:
Yes, it is in the attached file.
KS Chen
On Fri, May 27, 2011 at 3:34 AM, Synge Todo wistaria@comp-phys.org wrote: Could you send me example/parapack/single/ising_single_output in your build directory?
Synge
On 2011/05/27, at 9:27, Brains Chen wrote:
Thank you all,
Now I have installed the ALPS 2.0 on the Ubuntu 10.04 except a small problem. When I run "make test", there are always three jobs which can not pass the test:
Start 1: ising_single
1/92 Test #1: ising_single .....................***Failed 0.29 sec Start 2: loop_single 2/92 Test #2: loop_single ......................***Failed 0.23 sec Start 3: exchange 3/92 Test #3: exchange .........................***Failed 0.38 sec
... The following tests FAILED: 1 - ising_single (Failed) 2 - loop_single (Failed) 3 - exchange (Failed)
Does it matter? So far I didn't find any error that affect the job I am running.
Regards, KS Chen
On Fri, May 27, 2011 at 1:46 AM, Kirill Shtengel kirill.shtengel@ucr.edu wrote: What's wrong with the p recompiled version? Check http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#In... for links & instructions. Worked fine for me (for Maverick 10.10).
On Thu, May 26, 2011 at 2:53 PM, Brains Chen brainsgreat@gmail.com wrote: CMakeCache.txt is in the attached file. By the way, after I downloaded the lapack package from http://www.netlib.org/lapack/lapack-3.2.2.tgz, and use "make all" to generate a lapack_LINUX.a and a blas_LINUX.a. Inside the ccmake, I set the path of LAPACK_LIBRARY=.../lapack_LINUX.a and the path of BLAS_LIBRARY=.../blas_LINUX.a. Now I don't have the error message showing "Falling back to CMake provied LAPACK/BLAS detection." However, when I used "make -j 2 install" to install the ALPS, I got the similar error message.
KS Chen
On Thu, May 26, 2011 at 10:49 PM, Matthias Troyer troyer@phys.ethz.ch wrote: Can you send a copy of your CMakeCache.txt file?
On May 26, 2011, at 3:53 AM, Brains Chen wrote:
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
-- Kuang-Shing Chen
-- Kuang-Shing Chen
-- Kuang-Shing Chen
<ising_single_output>
Hi Chen, seems like you made it. Was that on our local machine or in Baton Rouge? Thomas
Am 27.05.11 02:27, schrieb Brains Chen:
Thank you all,
Now I have installed the ALPS 2.0 on the Ubuntu 10.04 except a small problem. When I run "make test", there are always three jobs which can not pass the test:
Start 1: ising_single
1/92 Test #1: ising_single .....................***Failed 0.29 sec Start 2: loop_single 2/92 Test #2: loop_single ......................***Failed 0.23 sec Start 3: exchange 3/92 Test #3: exchange .........................***Failed 0.38 sec
... The following tests FAILED: 1 - ising_single (Failed) 2 - loop_single (Failed) 3 - exchange (Failed)
Does it matter? So far I didn't find any error that affect the job I am running.
Regards, KS Chen
Dear all,
Thank you all so much. First I need to install ALPS 2.0 in my personal laptop successfully, then next install it to a new Linux cluster in Baton Rouge, which will make more productive papers from the ALPS. If I have new questions by then, I will post the questions here.
Regards, KS Chen
On Fri, May 27, 2011 at 7:41 AM, Thomas Pruschke < pruschke@theorie.physik.uni-goettingen.de> wrote:
Hi Chen, seems like you made it. Was that on our local machine or in Baton Rouge? Thomas
Am 27.05.11 02:27, schrieb Brains Chen:
Thank you all,
Now I have installed the ALPS 2.0 on the Ubuntu 10.04 except a small problem. When I run "make test", there are always three jobs which can
not
pass the test:
Start 1: ising_single
1/92 Test #1: ising_single .....................***Failed 0.29 sec Start 2: loop_single 2/92 Test #2: loop_single ......................***Failed 0.23 sec Start 3: exchange 3/92 Test #3: exchange .........................***Failed 0.38 sec
... The following tests FAILED: 1 - ising_single (Failed) 2 - loop_single (Failed) 3 - exchange (Failed)
Does it matter? So far I didn't find any error that affect the job I am running.
Regards, KS Chen
comp-phys-alps-users@lists.phys.ethz.ch