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.
>