Hi,
I'm trying to build alps 2.0 (current nightly snapshot, with boost) on Ubuntu Lucid. I got all the dependencies and ran cmake (version 2.8.0-5), pointing to the alps and boost directories. Then I ran make and got the following error:
... [ 26%] Building CXX object src/boost/CMakeFiles/boost.dir/root/alps2/alps-src/boost/libs/thread/src/pthread/once.cpp.o [ 26%] Building CXX object src/boost/CMakeFiles/boost.dir/root/alps2/alps-src/boost/libs/thread/src/pthread/thread.cpp.o Linking CXX shared library libboost.so /usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [src/boost/libboost.so] Error 1 make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2 make: *** [all] Error 2
Do you know what this could be?
Below I also attach the printout from the cmake command. Note I will not use MPI.
Thanks, Itamar
cmake printout:
-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Build type: Release -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- ALPS version: 2.1.0d1 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /root/alps2/alps-src/boost -- Boost Version: 1_47_0 -- Could NOT find MPI (missing: MPI_LIBRARY MPI_INCLUDE_PATH) -- MPI compiler was MPI_COMPILER-NOTFOUND -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes Falling back to CMake provied LAPACK/BLAS detection. -- Looking for Fortran sgemm -- Looking for Fortran sgemm - found -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- A library with BLAS API found. -- A library with BLAS API found. -- Looking for Fortran cheev -- Looking for Fortran cheev - found -- A library with LAPACK API found. -- Found SQLite Library: /usr/lib/libsqlite3.so -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so -- HDF5 version found is 1.8.4 in /usr/include -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- Numpy include in /usr/local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /root/alps2/alps-src/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 -- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work. -- Configuring done -- Generating done -- Build files have been written to: /root/alps2 root@birge-521-6:~/alps2# cd build root@birge-521-6:~/alps2/build# cmake -D Boost_ROOT_DIR:PATH=/root/alps2/alps-src/boost /root/alps2/alps-src/alps -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Build type: Release -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- ALPS version: 2.1.0d1 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /root/alps2/alps-src/boost -- Boost Version: 1_47_0 -- Could NOT find MPI (missing: MPI_LIBRARY MPI_INCLUDE_PATH) -- MPI compiler was MPI_COMPILER-NOTFOUND -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes Falling back to CMake provied LAPACK/BLAS detection. -- Looking for Fortran sgemm -- Looking for Fortran sgemm - found -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- A library with BLAS API found. -- A library with BLAS API found. -- Looking for Fortran cheev -- Looking for Fortran cheev - found -- A library with LAPACK API found. -- Found SQLite Library: /usr/lib/libsqlite3.so -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so -- HDF5 version found is 1.8.4 in /usr/include -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- Numpy include in /usr/local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /root/alps2/alps-src/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 -- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work. -- Configuring done -- Generating done -- Build files have been written to: /root/alps2/build
Dear Itamar,
To build ALPS with Python support, you need shared version (.so) of libpython. Concretely speaking, you have to reinstall python with --enable-shared option.
Best, Synge
On 2012/04/19, at 13:48, Itamar Kimchi wrote:
Hi,
I'm trying to build alps 2.0 (current nightly snapshot, with boost) on Ubuntu Lucid. I got all the dependencies and ran cmake (version 2.8.0-5), pointing to the alps and boost directories. Then I ran make and got the following error:
... [ 26%] Building CXX object src/boost/CMakeFiles/boost.dir/root/alps2/alps-src/boost/libs/thread/src/pthread/once.cpp.o [ 26%] Building CXX object src/boost/CMakeFiles/boost.dir/root/alps2/alps-src/boost/libs/thread/src/pthread/thread.cpp.o Linking CXX shared library libboost.so /usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [src/boost/libboost.so] Error 1 make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2 make: *** [all] Error 2
Do you know what this could be?
Below I also attach the printout from the cmake command. Note I will not use MPI.
Thanks, Itamar
cmake printout:
-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Build type: Release -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- ALPS version: 2.1.0d1 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /root/alps2/alps-src/boost -- Boost Version: 1_47_0 -- Could NOT find MPI (missing: MPI_LIBRARY MPI_INCLUDE_PATH) -- MPI compiler was MPI_COMPILER-NOTFOUND -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes Falling back to CMake provied LAPACK/BLAS detection. -- Looking for Fortran sgemm -- Looking for Fortran sgemm - found -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- A library with BLAS API found. -- A library with BLAS API found. -- Looking for Fortran cheev -- Looking for Fortran cheev - found -- A library with LAPACK API found. -- Found SQLite Library: /usr/lib/libsqlite3.so -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so -- HDF5 version found is 1.8.4 in /usr/include -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- Numpy include in /usr/local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /root/alps2/alps-src/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 -- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work. -- Configuring done -- Generating done -- Build files have been written to: /root/alps2 root@birge-521-6:~/alps2# cd build root@birge-521-6:~/alps2/build# cmake -D Boost_ROOT_DIR:PATH=/root/alps2/alps-src/boost /root/alps2/alps-src/alps -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Build type: Release -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- ALPS version: 2.1.0d1 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /root/alps2/alps-src/boost -- Boost Version: 1_47_0 -- Could NOT find MPI (missing: MPI_LIBRARY MPI_INCLUDE_PATH) -- MPI compiler was MPI_COMPILER-NOTFOUND -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes Falling back to CMake provied LAPACK/BLAS detection. -- Looking for Fortran sgemm -- Looking for Fortran sgemm - found -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- A library with BLAS API found. -- A library with BLAS API found. -- Looking for Fortran cheev -- Looking for Fortran cheev - found -- A library with LAPACK API found. -- Found SQLite Library: /usr/lib/libsqlite3.so -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so -- HDF5 version found is 1.8.4 in /usr/include -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- Numpy include in /usr/local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /root/alps2/alps-src/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 -- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work. -- Configuring done -- Generating done -- Build files have been written to: /root/alps2/build
Thanks -- indeed that was the issue!
FYI, I also run into some problems building python with --enable-shared, which I finally fixed with the following: I added /usr/local/lib to /etc/ld.so.conf and then ran ldconfig. Perhaps this info could be helpful for anyone else with the same problem.
Itamar
On Wed, Apr 18, 2012 at 10:00 PM, Synge Todo wistaria@comp-phys.org wrote:
Dear Itamar,
To build ALPS with Python support, you need shared version (.so) of libpython. Concretely speaking, you have to reinstall python with --enable-shared option.
Best, Synge
On 2012/04/19, at 13:48, Itamar Kimchi wrote:
Hi,
I'm trying to build alps 2.0 (current nightly snapshot, with boost) on Ubuntu Lucid. I got all the dependencies and ran cmake (version 2.8.0-5), pointing to the alps and boost directories. Then I ran make and got the following error:
... [ 26%] Building CXX object src/boost/CMakeFiles/boost.dir/root/alps2/alps-src/boost/libs/thread/src/pthread/once.cpp.o [ 26%] Building CXX object src/boost/CMakeFiles/boost.dir/root/alps2/alps-src/boost/libs/thread/src/pthread/thread.cpp.o Linking CXX shared library libboost.so /usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [src/boost/libboost.so] Error 1 make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2 make: *** [all] Error 2
Do you know what this could be?
Below I also attach the printout from the cmake command. Note I will not use MPI.
Thanks, Itamar
cmake printout:
-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Build type: Release -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- ALPS version: 2.1.0d1 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /root/alps2/alps-src/boost -- Boost Version: 1_47_0 -- Could NOT find MPI (missing: MPI_LIBRARY MPI_INCLUDE_PATH) -- MPI compiler was MPI_COMPILER-NOTFOUND -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes Falling back to CMake provied LAPACK/BLAS detection. -- Looking for Fortran sgemm -- Looking for Fortran sgemm - found -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- A library with BLAS API found. -- A library with BLAS API found. -- Looking for Fortran cheev -- Looking for Fortran cheev - found -- A library with LAPACK API found. -- Found SQLite Library: /usr/lib/libsqlite3.so -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so -- HDF5 version found is 1.8.4 in /usr/include -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- Numpy include in /usr/local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /root/alps2/alps-src/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 -- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work. -- Configuring done -- Generating done -- Build files have been written to: /root/alps2 root@birge-521-6:~/alps2# cd build root@birge-521-6:~/alps2/build# cmake -D Boost_ROOT_DIR:PATH=/root/alps2/alps-src/boost /root/alps2/alps-src/alps -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Build type: Release -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- ALPS version: 2.1.0d1 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for Boost Source -- Found Boost Source: /root/alps2/alps-src/boost -- Boost Version: 1_47_0 -- Could NOT find MPI (missing: MPI_LIBRARY MPI_INCLUDE_PATH) -- MPI compiler was MPI_COMPILER-NOTFOUND -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes Falling back to CMake provied LAPACK/BLAS detection. -- Looking for Fortran sgemm -- Looking for Fortran sgemm - found -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- A library with BLAS API found. -- A library with BLAS API found. -- Looking for Fortran cheev -- Looking for Fortran cheev - found -- A library with LAPACK API found. -- Found SQLite Library: /usr/lib/libsqlite3.so -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;/usr/lib/libpthread.so;/usr/lib/libz.so;/usr/lib/libm.so -- HDF5 version found is 1.8.4 in /usr/include -- Python interpreter /usr/local/bin/python -- Python interpreter ok : version 2.7.2 -- PYTHON_INCLUDE_DIRS = /usr/local/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/local/lib/python2.7/site-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/local/lib/python2.7/site-packages -- PYTHON_LIBRARY = /usr/local/lib/python2.7/config/libpython2.7.a -- PYTHON_EXTRA_LIBS =-lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -- Numpy include in /usr/local/lib/python2.7/site-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /root/alps2/alps-src/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 -- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work. -- Configuring done -- Generating done -- Build files have been written to: /root/alps2/build
Dear All, I am trying to define a new hamiltonian, but no matter what I do i get into "Did not find raising and lowering operators" error. I have tried various options and it seems that the only solution is to add a hopping term that couples neighbouring sites, but I would like not to do that as it is contrary to model which I consider.
I have read that wang landau deals with low tunneling efficiently but what about no tuneling?BTW: If I increase the tunneling again will QWL be still efficient?
Regards, Mateusz Łącki
Dear Mateusz Łącki,
On Apr 19, 2012, at 11:17 AM, Mateusz Łącki wrote:
Dear All, I am trying to define a new hamiltonian, but no matter what I do i get into "Did not find raising and lowering operators" error. I have tried various options and it seems that the only solution is to add a hopping term that couples neighbouring sites, but I would like not to do that as it is contrary to model which I consider.
This just means that the model you specified is not supported by the QMC codes. The QMC codes deal with models with hopping or exchange terms but are not general codes. If you send your model we'll be able to tell you if it can be simulated.
I have read that wang landau deals with low tunneling efficiently but what about no tuneling?BTW: If I increase the tunneling again will QWL be still efficient?
if there is no tunneling at all then the method is not ergodic and no reweighting will help that.
Matthias
comp-phys-alps-users@lists.phys.ethz.ch