Thank you Xiao Liang.
Indeed compilation with gcc-5.4 goes smoothly while with 6.1 not. Now I have problems with openmpi:
MPI_EXTRA_LIBRARY NOT FOUND
Was this issue discussed earlier?
Best regards
Tadeusz

2016-07-25 12:00 GMT+02:00 <comp-phys-alps-users-request@lists.phys.ethz.ch>:
Send Comp-phys-alps-users mailing list submissions to
        comp-phys-alps-users@lists.phys.ethz.ch

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
or, via email, send a message with subject or body 'help' to
        comp-phys-alps-users-request@lists.phys.ethz.ch

You can reach the person managing the list at
        comp-phys-alps-users-owner@lists.phys.ethz.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Comp-phys-alps-users digest..."


Today's Topics:

   1. problem compiling alps-2.2.b4 (Tadeusz Wasiuty?ski)
   2. Re: problem compiling alps-2.2.b4 (??)
   3. question (Hocine Ahmed)


----------------------------------------------------------------------

Message: 1
Date: Sun, 24 Jul 2016 21:05:51 +0200
From: Tadeusz Wasiuty?ski <tadeusz.wasiutynski@ifj.edu.pl>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: [ALPS-users] problem compiling alps-2.2.b4
Message-ID:
        <CAKNmYXi5nOpvN=8QbBczCMe3q=smBH4cqYqby_Ww=XOp7EkwrQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

In the past I had no problems with compiling alps from source. Recently I
tried to compile it on Fedora 24 and failed. I noticed that the source does
not like boost 1.6 from Fedora, used native 1.58 from alps. Cmake result
looks good but make fails:

cmake -D Boost_ROOT_DIR:PATH=~/alps-2.2.b4-src-with-boost/boost/
-DCMAKE_INSTALL_PREFIX=$HOME/ALPS/
LPSolve_LIBRARY=/usr/lib64/liblpsolve55.so -D
LPSolve_INCLUDE_DIR=/usr/include/lpsolve/ -D
HDF5_LIBRARIES=/usr/lib64/libhdf5.so -D HDF5_INCLUDE_DIR=/usr/include/
~/alps-2.2.b4-src-with-boost/alps/

-- Compiler version: c++ (GCC) 6.1.1 20160621 (Red Hat 6.1.1-3)
-- Build type: Release
-- Python interpreter /usr/bin/python
-- Python interpreter ok : version 2.7.12
-- PYTHON_INCLUDE_DIRS =  /usr/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR =
/usr/lib64/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/site-packages
-- PYTHON_LIBRARY = /usr/lib64/python2.7/config/libpython2.7.so
-- PYTHON_EXTRA_LIBS =-lpthread -ldl  -lutil
-- PYTHON_LINK_FOR_SHARED =  -Xlinker -export-dynamic
-- ALPS version: 2.2.b4
-- Looking for Boost Source
-- Found Boost Source: /home/tadeusz/alps-2.2.b4-src-with-boost/boost
-- Boost Version: 1_58_0
-- Adding Boost dir: /home/tadeusz/alps-2.2.b4-src-with-boost/boost
-- 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
-- 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.
-- Could NOT find SZIP (missing:  SZIP_LIBRARIES SZIP_INCLUDE_DIRS)
-- Python interpreter /usr/bin/python
-- Python interpreter ok : version 2.7.12
-- PYTHON_INCLUDE_DIRS =  /usr/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR =
/usr/lib64/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/site-packages
-- PYTHON_LIBRARY = /usr/lib64/python2.7/config/libpython2.7.so
-- PYTHON_EXTRA_LIBS =-lpthread -ldl  -lutil
-- PYTHON_LINK_FOR_SHARED =  -Xlinker -export-dynamic
-- Numpy include in /usr/lib64/python2.7/site-packages/numpy/core/include
-- ALPS XML dir is /home/tadeusz/ALPS/lib/xml
-- MPS: enabling NU1 symmetry.
-- tebd will not be built
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tadeusz/build


?make result:
?[ 65%] Building CXX object
applications/dmrg/dmrg/CMakeFiles/dmrg.dir/dmrg.C.o
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/python/detail/wrap_python.hpp:50,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/python/detail/prefix.hpp:13,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/python/args.hpp:8,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/python.hpp:11,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/alea/mcdata.hpp:79,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/alea.h:34,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/alea/observableset.h:49,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/montecarlo.h:40,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler.h:31,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/applications/dmrg/dmrg/dmrg.C:31:
/usr/include/python2.7/pyconfig-64.h:1202:0: warning: "_POSIX_C_SOURCE"
redefined
 #define _POSIX_C_SOURCE 200112L
 ---------------------------------------------
In file included from /usr/include/c++/6.1.1/memory:81:0,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/smart_ptr/scoped_ptr.hpp:21,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/scoped_ptr.hpp:14,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/smart_ptr.hpp:19,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/osiris/dump.h:38,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/info.h:38,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/worker.h:35,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/task.h:41,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/factory.h:34,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/applications/dmrg/dmrg/factory.h:31,
                 from
/home/tadeusz/alps-2.2.b4-src-with-boost/alps/applications/dmrg/dmrg/factory.C:30:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
applications/dmrg/dmrg/CMakeFiles/dmrg.dir/build.make:86: for
'applications/dmrg/dmrg/CMakeFiles/dmrg.dir/factory.C.o' failed
make[2]: *** [applications/dmrg/dmrg/CMakeFiles/dmrg.dir/factory.C.o] error
1
CMakeFiles/Makefile2:6096: polecenia dla obiektu
'applications/dmrg/dmrg/CMakeFiles/dmrg.dir/all' failed
make[1]: *** [applications/dmrg/dmrg/CMakeFiles/dmrg.dir/all] error 2
Makefile:160: polecenia dla obiektu 'all' failed
make: *** [all] error 2

?Any suggestions?
Regards?

--
Tadeusz Wasiuty?ski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20160724/38ba61c9/attachment-0001.html>

------------------------------

Message: 2
Date: Mon, 25 Jul 2016 10:10:08 +0800 (GMT+08:00)
From: ?? <lxxhlb@mail.ustc.edu.cn>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] problem compiling alps-2.2.b4
Message-ID:
        <6ced9a82.77c0.1561fd10b92.Coremail.lxxhlb@mail.ustc.edu.cn>
Content-Type: text/plain; charset="utf-8"

Tadeusz Wasiuty?ski,
 I guess it is the gcc version, try gcc5 instead.


Xiao Liang


-----Original Messages-----
From:"Tadeusz Wasiuty?ski" <tadeusz.wasiutynski@ifj.edu.pl>
Sent Time:2016-07-25 03:05:51 (Monday)
To: comp-phys-alps-users@lists.phys.ethz.ch
Cc:
Subject: [ALPS-users] problem compiling alps-2.2.b4


In the past I had no problems with compiling alps from source. Recently I tried to compile it on Fedora 24 and failed. I noticed that the source does not like boost 1.6 from Fedora, used native 1.58 from alps. Cmake result looks good but make fails:


cmake -D Boost_ROOT_DIR:PATH=~/alps-2.2.b4-src-with-boost/boost/ -DCMAKE_INSTALL_PREFIX=$HOME/ALPS/ LPSolve_LIBRARY=/usr/lib64/liblpsolve55.so -D LPSolve_INCLUDE_DIR=/usr/include/lpsolve/ -D HDF5_LIBRARIES=/usr/lib64/libhdf5.so -D HDF5_INCLUDE_DIR=/usr/include/ ~/alps-2.2.b4-src-with-boost/alps/

-- Compiler version: c++ (GCC) 6.1.1 20160621 (Red Hat 6.1.1-3)
-- Build type: Release
-- Python interpreter /usr/bin/python
-- Python interpreter ok : version 2.7.12
-- PYTHON_INCLUDE_DIRS =  /usr/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib64/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/site-packages
-- PYTHON_LIBRARY = /usr/lib64/python2.7/config/libpython2.7.so
-- PYTHON_EXTRA_LIBS =-lpthread -ldl  -lutil
-- PYTHON_LINK_FOR_SHARED =  -Xlinker -export-dynamic
-- ALPS version: 2.2.b4
-- Looking for Boost Source
-- Found Boost Source: /home/tadeusz/alps-2.2.b4-src-with-boost/boost
-- Boost Version: 1_58_0
-- Adding Boost dir: /home/tadeusz/alps-2.2.b4-src-with-boost/boost
-- 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
-- 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.
-- Could NOT find SZIP (missing:  SZIP_LIBRARIES SZIP_INCLUDE_DIRS)
-- Python interpreter /usr/bin/python
-- Python interpreter ok : version 2.7.12
-- PYTHON_INCLUDE_DIRS =  /usr/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib64/python2.7/site-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/site-packages
-- PYTHON_LIBRARY = /usr/lib64/python2.7/config/libpython2.7.so
-- PYTHON_EXTRA_LIBS =-lpthread -ldl  -lutil
-- PYTHON_LINK_FOR_SHARED =  -Xlinker -export-dynamic
-- Numpy include in /usr/lib64/python2.7/site-packages/numpy/core/include
-- ALPS XML dir is /home/tadeusz/ALPS/lib/xml
-- MPS: enabling NU1 symmetry.
-- tebd will not be built
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tadeusz/build



?make result:
?[ 65%] Building CXX object applications/dmrg/dmrg/CMakeFiles/dmrg.dir/dmrg.C.o
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/python/detail/wrap_python.hpp:50,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/python/detail/prefix.hpp:13,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/python/args.hpp:8,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/python.hpp:11,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/alea/mcdata.hpp:79,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/alea.h:34,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/alea/observableset.h:49,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/montecarlo.h:40,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler.h:31,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/applications/dmrg/dmrg/dmrg.C:31:
/usr/include/python2.7/pyconfig-64.h:1202:0: warning: "_POSIX_C_SOURCE" redefined
 #define _POSIX_C_SOURCE 200112L
 ---------------------------------------------
In file included from /usr/include/c++/6.1.1/memory:81:0,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/smart_ptr/scoped_ptr.hpp:21,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/scoped_ptr.hpp:14,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/boost/boost/smart_ptr.hpp:19,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/osiris/dump.h:38,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/info.h:38,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/worker.h:35,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/task.h:41,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/src/alps/scheduler/factory.h:34,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/applications/dmrg/dmrg/factory.h:31,
                 from /home/tadeusz/alps-2.2.b4-src-with-boost/alps/applications/dmrg/dmrg/factory.C:30:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
applications/dmrg/dmrg/CMakeFiles/dmrg.dir/build.make:86: for 'applications/dmrg/dmrg/CMakeFiles/dmrg.dir/factory.C.o' failed
make[2]: *** [applications/dmrg/dmrg/CMakeFiles/dmrg.dir/factory.C.o] error 1
CMakeFiles/Makefile2:6096: polecenia dla obiektu 'applications/dmrg/dmrg/CMakeFiles/dmrg.dir/all' failed
make[1]: *** [applications/dmrg/dmrg/CMakeFiles/dmrg.dir/all] error 2
Makefile:160: polecenia dla obiektu 'all' failed
make: *** [all] error 2


?Any suggestions?

Regards?

--

Tadeusz Wasiuty?ski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20160725/65d8933f/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 25 Jul 2016 06:08:14 +0000 (UTC)
From: Hocine  Ahmed <hoahmed72@yahoo.fr>
To: "comp-phys-alps-users@lists.phys.ethz.ch"
        <comp-phys-alps-users@lists.phys.ethz.ch>
Subject: [ALPS-users] question
Message-ID:
        <266047263.7051169.1469426894853.JavaMail.yahoo@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

HelloI tray to stady the extended Bose Hubbard model,by changing the interaction potential between the atoms.How can I do this...?Best regardsHocine?--------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20160725/d55bc438/attachment-0001.html>

------------------------------

Subject: Digest Footer

----
Comp-phys-alps-users Mailing List for the ALPS Project
http://alps.comp-phys.org/

List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users

Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.

------------------------------

End of Comp-phys-alps-users Digest, Vol 124, Issue 6
****************************************************



--
Tadeusz Wasiutyński