Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine (Xubuntu 12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/ /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.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.7/dist-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that MPI needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I need the application to run parallely on the multiple cores available on my machine. Please advise me on this issue and on the missing pthread, SZIP, SQLite and HDF5 libraries.
Regards, Pradeep.
tebd will not be built since it needs a Fortran compiler, but unless you need tebd this is not a problem. Also, the missing MPI is not a problem unless you want to run codes with MPI
On 15 Jun 2015, at 15:20, pradeep thakur pskvkthakur@gmail.com wrote:
Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine (Xubuntu 12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/ /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.7/dist-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that MPI needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I need the application to run parallely on the multiple cores available on my machine. Please advise me on this issue and on the missing pthread, SZIP, SQLite and HDF5 libraries.
Regards, Pradeep.
Dear Prof. Troyer,
I do need to run parallel codes with MPI to save time. I intend to run dmrg codes for 1-d systems of length 256 and to calculate various 2-point correlations. This takes a LOT of time if done serially. Would u advise me to install MPI (say the latest stable release of OpenMPI) from source and then configure ALPS? Would the configure script then link the MPI to ALPS applications automatically?
Regards, Pradeep.
On 15/06/2015, Matthias Troyer troyer@phys.ethz.ch wrote:
tebd will not be built since it needs a Fortran compiler, but unless you need tebd this is not a problem. Also, the missing MPI is not a problem unless you want to run codes with MPI
On 15 Jun 2015, at 15:20, pradeep thakur pskvkthakur@gmail.com wrote:
Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine (Xubuntu 12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/ /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.7/dist-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that MPI needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I need the application to run parallely on the multiple cores available on my machine. Please advise me on this issue and on the missing pthread, SZIP, SQLite and HDF5 libraries.
Regards, Pradeep.
You need to tell make where you installed MPI
On Jun 16, 2015, at 10:20, pradeep thakur pskvkthakur@gmail.com wrote:
Dear Prof. Troyer,
I do need to run parallel codes with MPI to save time. I intend to run dmrg codes for 1-d systems of length 256 and to calculate various 2-point correlations. This takes a LOT of time if done serially. Would u advise me to install MPI (say the latest stable release of OpenMPI) from source and then configure ALPS? Would the configure script then link the MPI to ALPS applications automatically?
Regards, Pradeep.
On 15/06/2015, Matthias Troyer troyer@phys.ethz.ch wrote: tebd will not be built since it needs a Fortran compiler, but unless you need tebd this is not a problem. Also, the missing MPI is not a problem unless you want to run codes with MPI
On 15 Jun 2015, at 15:20, pradeep thakur pskvkthakur@gmail.com wrote:
Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine (Xubuntu 12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/ /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.7/dist-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that MPI needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I need the application to run parallely on the multiple cores available on my machine. Please advise me on this issue and on the missing pthread, SZIP, SQLite and HDF5 libraries.
Regards, Pradeep.
Dear Prof. Troyer,
ALPS could be successfully configured and installed.
However, I'm still unable to run parallel codes because of some issue with linking mpi and ALPS. I get the following error: mpirun -np 10 dmrg --mpi --Nmax 1 parm_0hx.in.xml --write-xml mpirun: error while loading shared libraries: libopen-rte.so.7: cannot open shared object file: No such file or directory
While configuring and installing, I had set the following cmake variables ON: ALPS_BUILD_FORTRAN ALPS_ENABLE_MPI ALPS_ENABLE_OPENMP ALPS_ENABLE_OPENMP_WORKER
I've been referring to the following link to resolve the issue, but haven't been successful yet: https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path
Thanks again.
Regards, Pradeep.
On 16 June 2015 at 13:58, Matthias Troyer troyer@phys.ethz.ch wrote:
You need to tell make where you installed MPI
On Jun 16, 2015, at 10:20, pradeep thakur pskvkthakur@gmail.com wrote:
Dear Prof. Troyer,
I do need to run parallel codes with MPI to save time. I intend to run dmrg codes for 1-d systems of length 256 and to calculate various 2-point correlations. This takes a LOT of time if done serially. Would u advise me to install MPI (say the latest stable release of OpenMPI) from source and then configure ALPS? Would the configure script then link the MPI to ALPS applications automatically?
Regards, Pradeep.
On 15/06/2015, Matthias Troyer troyer@phys.ethz.ch wrote: tebd will not be built since it needs a Fortran compiler, but unless you need tebd this is not a problem. Also, the missing MPI is not a problem unless you want to run codes with MPI
On 15 Jun 2015, at 15:20, pradeep thakur pskvkthakur@gmail.com
wrote:
Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine (Xubuntu 12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D
Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/
/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5:
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.7/dist-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir:
/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that MPI needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I
need
the application to run parallely on the multiple cores available on my machine. Please advise me on this issue and on the missing pthread,
SZIP,
SQLite and HDF5 libraries.
Regards, Pradeep.
Have you checked whether the missing library is actually installed and the path to it included in LD_LIBRARY_PATH?
On Jun 18, 2015, at 09:36, pradeep thakur pskvkthakur@gmail.com wrote:
Dear Prof. Troyer,
ALPS could be successfully configured and installed.
However, I'm still unable to run parallel codes because of some issue with linking mpi and ALPS. I get the following error: mpirun -np 10 dmrg --mpi --Nmax 1 parm_0hx.in.xml --write-xml mpirun: error while loading shared libraries: libopen-rte.so.7: cannot open shared object file: No such file or directory
While configuring and installing, I had set the following cmake variables ON: ALPS_BUILD_FORTRAN ALPS_ENABLE_MPI ALPS_ENABLE_OPENMP ALPS_ENABLE_OPENMP_WORKER
I've been referring to the following link to resolve the issue, but haven't been successful yet: https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path
Thanks again.
Regards, Pradeep.
On 16 June 2015 at 13:58, Matthias Troyer troyer@phys.ethz.ch wrote: You need to tell make where you installed MPI
On Jun 16, 2015, at 10:20, pradeep thakur pskvkthakur@gmail.com wrote:
Dear Prof. Troyer,
I do need to run parallel codes with MPI to save time. I intend to run dmrg codes for 1-d systems of length 256 and to calculate various 2-point correlations. This takes a LOT of time if done serially. Would u advise me to install MPI (say the latest stable release of OpenMPI) from source and then configure ALPS? Would the configure script then link the MPI to ALPS applications automatically?
Regards, Pradeep.
On 15/06/2015, Matthias Troyer troyer@phys.ethz.ch wrote: tebd will not be built since it needs a Fortran compiler, but unless you need tebd this is not a problem. Also, the missing MPI is not a problem unless you want to run codes with MPI
On 15 Jun 2015, at 15:20, pradeep thakur pskvkthakur@gmail.com wrote:
Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine (Xubuntu 12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/ /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.7/dist-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that MPI needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I need the application to run parallely on the multiple cores available on my machine. Please advise me on this issue and on the missing pthread, SZIP, SQLite and HDF5 libraries.
Regards, Pradeep.
Yes. I've set the variable. The output is given below. emmy@emmy:~$ echo $LD_LIBRARY_PATH /usr/local/lib/libopen-rte.so.7
Now I'm getting a different error: "This program has not been compiled for use with MPI."
On 18 June 2015 at 22:49, Matthias Troyer troyer@phys.ethz.ch wrote:
Have you checked whether the missing library is actually installed and the path to it included in LD_LIBRARY_PATH?
On Jun 18, 2015, at 09:36, pradeep thakur pskvkthakur@gmail.com wrote:
Dear Prof. Troyer,
ALPS could be successfully configured and installed.
However, I'm still unable to run parallel codes because of some issue with linking mpi and ALPS. I get the following error: mpirun -np 10 dmrg --mpi --Nmax 1 parm_0hx.in.xml --write-xml mpirun: error while loading shared libraries: libopen-rte.so.7: cannot open shared object file: No such file or directory
While configuring and installing, I had set the following cmake variables ON: ALPS_BUILD_FORTRAN ALPS_ENABLE_MPI ALPS_ENABLE_OPENMP ALPS_ENABLE_OPENMP_WORKER
I've been referring to the following link to resolve the issue, but haven't been successful yet: https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path
Thanks again.
Regards, Pradeep.
On 16 June 2015 at 13:58, Matthias Troyer troyer@phys.ethz.ch wrote:
You need to tell make where you installed MPI
On Jun 16, 2015, at 10:20, pradeep thakur pskvkthakur@gmail.com
wrote:
Dear Prof. Troyer,
I do need to run parallel codes with MPI to save time. I intend to run dmrg codes for 1-d systems of length 256 and to calculate various 2-point correlations. This takes a LOT of time if done serially. Would u advise me to install MPI (say the latest stable release of OpenMPI) from source and then configure ALPS? Would the configure script then link the MPI to ALPS applications automatically?
Regards, Pradeep.
On 15/06/2015, Matthias Troyer troyer@phys.ethz.ch wrote: tebd will not be built since it needs a Fortran compiler, but unless
you
need tebd this is not a problem. Also, the missing MPI is not a problem unless you want to run codes with MPI
On 15 Jun 2015, at 15:20, pradeep thakur pskvkthakur@gmail.com
wrote:
Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine
(Xubuntu
12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D
Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/
/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5:
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.7/dist-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir:
/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that MPI needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I
need
the application to run parallely on the multiple cores available on my machine. Please advise me on this issue and on the missing pthread,
SZIP,
SQLite and HDF5 libraries.
Regards, Pradeep.
Did you configure ALPS with MPI?
On 19 Jun 2015, at 05:17, pradeep thakur pskvkthakur@gmail.com wrote:
Yes. I've set the variable. The output is given below. emmy@emmy:~$ echo $LD_LIBRARY_PATH /usr/local/lib/libopen-rte.so.7
Now I'm getting a different error: "This program has not been compiled for use with MPI."
On 18 June 2015 at 22:49, Matthias Troyer <troyer@phys.ethz.ch mailto:troyer@phys.ethz.ch> wrote: Have you checked whether the missing library is actually installed and the path to it included in LD_LIBRARY_PATH?
On Jun 18, 2015, at 09:36, pradeep thakur <pskvkthakur@gmail.com mailto:pskvkthakur@gmail.com> wrote:
Dear Prof. Troyer,
ALPS could be successfully configured and installed.
However, I'm still unable to run parallel codes because of some issue with linking mpi and ALPS. I get the following error: mpirun -np 10 dmrg --mpi --Nmax 1 parm_0hx.in.xml --write-xml mpirun: error while loading shared libraries: libopen-rte.so.7: cannot open shared object file: No such file or directory
While configuring and installing, I had set the following cmake variables ON: ALPS_BUILD_FORTRAN ALPS_ENABLE_MPI ALPS_ENABLE_OPENMP ALPS_ENABLE_OPENMP_WORKER
I've been referring to the following link to resolve the issue, but haven't been successful yet: https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path
Thanks again.
Regards, Pradeep.
On 16 June 2015 at 13:58, Matthias Troyer <troyer@phys.ethz.ch mailto:troyer@phys.ethz.ch> wrote: You need to tell make where you installed MPI
On Jun 16, 2015, at 10:20, pradeep thakur <pskvkthakur@gmail.com mailto:pskvkthakur@gmail.com> wrote:
Dear Prof. Troyer,
I do need to run parallel codes with MPI to save time. I intend to run dmrg codes for 1-d systems of length 256 and to calculate various 2-point correlations. This takes a LOT of time if done serially. Would u advise me to install MPI (say the latest stable release of OpenMPI) from source and then configure ALPS? Would the configure script then link the MPI to ALPS applications automatically?
Regards, Pradeep.
On 15/06/2015, Matthias Troyer <troyer@phys.ethz.ch mailto:troyer@phys.ethz.ch> wrote: tebd will not be built since it needs a Fortran compiler, but unless you need tebd this is not a problem. Also, the missing MPI is not a problem unless you want to run codes with MPI
On 15 Jun 2015, at 15:20, pradeep thakur <pskvkthakur@gmail.com mailto:pskvkthakur@gmail.com> wrote:
Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine (Xubuntu 12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/ /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.so/ <http://libpython2.7.so/ http://libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5: debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.so/ <http://libpython2.7.so/ http://libpython2.7.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.7/dist-packages/numpy/core/include -- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost
-- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- HDF5: /usr/include debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that MPI needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I need the application to run parallely on the multiple cores available on my machine. Please advise me on this issue and on the missing pthread, SZIP, SQLite and HDF5 libraries.
Regards, Pradeep.
I did not manually link MPI to ALPS, while configuring. The following is a message that appeared after configuring ALPS.
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
On 19 June 2015 at 18:20, Matthias Troyer troyer@phys.ethz.ch wrote:
Did you configure ALPS with MPI?
On 19 Jun 2015, at 05:17, pradeep thakur pskvkthakur@gmail.com wrote:
Yes. I've set the variable. The output is given below. emmy@emmy:~$ echo $LD_LIBRARY_PATH /usr/local/lib/libopen-rte.so.7
Now I'm getting a different error: "This program has not been compiled for use with MPI."
On 18 June 2015 at 22:49, Matthias Troyer troyer@phys.ethz.ch wrote:
Have you checked whether the missing library is actually installed and the path to it included in LD_LIBRARY_PATH?
On Jun 18, 2015, at 09:36, pradeep thakur pskvkthakur@gmail.com wrote:
Dear Prof. Troyer,
ALPS could be successfully configured and installed.
However, I'm still unable to run parallel codes because of some issue with linking mpi and ALPS. I get the following error: mpirun -np 10 dmrg --mpi --Nmax 1 parm_0hx.in.xml --write-xml mpirun: error while loading shared libraries: libopen-rte.so.7: cannot open shared object file: No such file or directory
While configuring and installing, I had set the following cmake variables ON: ALPS_BUILD_FORTRAN ALPS_ENABLE_MPI ALPS_ENABLE_OPENMP ALPS_ENABLE_OPENMP_WORKER
I've been referring to the following link to resolve the issue, but haven't been successful yet: https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path
Thanks again.
Regards, Pradeep.
On 16 June 2015 at 13:58, Matthias Troyer troyer@phys.ethz.ch wrote:
You need to tell make where you installed MPI
On Jun 16, 2015, at 10:20, pradeep thakur pskvkthakur@gmail.com
wrote:
Dear Prof. Troyer,
I do need to run parallel codes with MPI to save time. I intend to run dmrg codes for 1-d systems of length 256 and to calculate various 2-point correlations. This takes a LOT of time if done serially. Would u advise me to install MPI (say the latest stable release of OpenMPI) from source and then configure ALPS? Would the configure script then link the MPI to ALPS applications automatically?
Regards, Pradeep.
On 15/06/2015, Matthias Troyer troyer@phys.ethz.ch wrote: tebd will not be built since it needs a Fortran compiler, but unless
you
need tebd this is not a problem. Also, the missing MPI is not a
problem
unless you want to run codes with MPI
On 15 Jun 2015, at 15:20, pradeep thakur pskvkthakur@gmail.com
wrote:
Dear ALPS-users and Developers,
I executed the command for configuration of ALPS on my machine
(Xubuntu
12.04.5 LTS with 12 hyperthreaded cores) and the screen shows that configuration is complete. But there are certain things missing (MPI, pthread, SZIP, SQLite and numerous HDF5 libraries) and a note, saying "tebd will not be built". Details given below:
emmy@emmy:~/alps/build$ sudo cmake -D
Boost_ROOT_DIR:PATH=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/
/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/ [sudo] password for emmy: -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.1.1 -- Looking for Boost Source -- Found Boost Source: /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost -- Boost Version: 1_49_0 -- Could NOT find MPI_C (missing: MPI_C_LIBRARIES
MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) -- MPI compiler was -- 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. -- SQLite Library: not found -- Found FFTW: /usr/lib/libfftw3.so -- LPSolve Library: not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so -- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS) -- Found HDF5:
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so http://libpython2.7.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.7/dist-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml -- Adding Boost dir:
/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- HDF5: /usr/include
debug;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so;optimized;/usr/lib/libhdf5_hl.so;/usr/lib/libhdf5.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- tebd will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/emmy/alps/build
In the instructions on the webpage, it has not been mentioned that
MPI
needs to be installed separately while installing ALPS on an Ubuntu machine (though it has been mentioned in the section for MacOS X). I
need
the application to run parallely on the multiple cores available on
my
machine. Please advise me on this issue and on the missing pthread,
SZIP,
SQLite and HDF5 libraries.
Regards, Pradeep.
comp-phys-alps-users@lists.phys.ethz.ch