Dear Benedikt,

    Thank you for your reply. Yes, I am not expert in compiling and installing packages. I have attached The information about the compilers, OS in the file Information.txt (which I got after running "cmake …. " command). The Errors appeared after running "make" is attached in the file Make-Error-Details.txt. This time I did not compile as root. I compiled as user.

So please  see if you find the error and suggest me what should I do.

Also, as you said you can provide me a link to a virtualbox image containing a fresh working install of alps and vistrails. I shall try with that too.

Thanking you,

Dr. Santu Baidya



On Fri, Dec 2, 2016 10:10 AM, Brandt, Benedikt B benbra@gatech.edu wrote:

I can't see the root cause for the error message you posted. The lines you showed seem to be consecutive errors of some root error message that is not visible. -j 8 enables parallel building, using 8 threads instead of only 1 for the build process. If your build fails with a simple make it will fail with a make -j 8 too. In fact you should use only "make" since it is simpler to debug. 


In general it is a good idea not to compile as root but as a regular user.


If the total error messages are too long for an email, please post them using a service like pastebin. Also please provide information about your OS version, compilers used, etc. 


If you are unfamiliar with compiling programs from source I can offer to send you a link to a virtualbox image containing a fresh working install of alps and vistrails. 


All the best


Benedikt


  


From: Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of Santu Baidya <santubaidya2009@gmail.com>
Sent: Thursday, December 1, 2016 7:45:47 PM
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] Installation problem of alps-2.2 version in Ubuntu
 
Dear Julien,
   Thank you for your reply. I first logged in as root in my pc and then changed directory to /opt/. Then ran the command 
cmake -D Boost_ROOT_DIR=/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost -DCMAKE_INSTALL_PREFIX=/opt/alps-2.2 /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/alps

It worked fine. After that I ran "make " and got the error as attached in my previous mail.

Again I found a website http://linuxtoolkit.blogspot.kr/2011/11/installing-alps-20-from-source-on.html where they suggested to use
                     "make -j 8 " instead of simply "make"

Unfortunately I again some errors : 

applications/dmrg/mps/CMakeFiles/mps_models.dir/build.make:86: recipe for target 'applications/dmrg/mps/CMakeFiles/mps_models.dir/framework/dmrg/models/factory/model_factory_nu1.cpp.o' failed
make[2]: *** [applications/dmrg/mps/CMakeFiles/mps_models.dir/framework/dmrg/models/factory/model_factory_nu1.cpp.o] Error 1
CMakeFiles/Makefile2:5599: recipe for target 'applications/dmrg/mps/CMakeFiles/mps_models.dir/all' failed
make[1]: *** [applications/dmrg/mps/CMakeFiles/mps_models.dir/all] Error 2
applications/dmft/qmc/CMakeFiles/interaction_expansion_impl.dir/build.make:206: recipe for target 'applications/dmft/qmc/CMakeFiles/interaction_expansion_impl.dir/interaction_expansion/splines.cpp.o' failed
make[2]: *** [applications/dmft/qmc/CMakeFiles/interaction_expansion_impl.dir/interaction_expansion/splines.cpp.o] Error 1
CMakeFiles/Makefile2:5987: recipe for target 'applications/dmft/qmc/CMakeFiles/interaction_expansion_impl.dir/all' failed
make[1]: *** [applications/dmft/qmc/CMakeFiles/interaction_expansion_impl.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Please help me to install alps properly in my pc.

Thanking you,

Dr. Santu Baidya



On Thu, Dec 1, 2016 5:52 PM, Julien julien.despres@institutoptique.fr wrote:

Dear Santu,

If you install the package in the 'opt' directory you have to use 'sudo'. Did you try to write in the terminal : sudo make test, sudo make install etc ...

Julien

-- 
__________________________________

DESPRES Julien
Ph.D. student

Atom Optics group
Quantum Matter Theory team
Laboratoire Charles Fabry
Institut d'Optique Graduate School
2 Avenue Augustin Fresnel
91127 Palaiseau Cedex

Office : R2.29 (1st floor)
Phone: +33 1 64 53 33 49
__________________________________

On 01/12/2016 05:46, Santu Baidya wrote:
Dear alps users,

    I am currently installing alps-2.2.b3-r7462-src-with-boost in Linux, 4.4.0-47-generic #68-Ubuntu, x86_64, GNU/Linux. I first followed the instruction and ran the command:


cmake -D Boost_ROOT_DIR=/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost -DCMAKE_INSTALL_PREFIX=/opt/alps-2.2 /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/alps

It ran without any problem.
After that when I ran make i got some error for installation:

/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:16: error: ‘uintptr_t’ was not declared in this scope
 typedef atomic<uintptr_t> atomic_uintptr_t;
                ^
/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid
 typedef atomic<uintptr_t> atomic_uintptr_t;
                         ^
In file included from /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/once.hpp:20:0,
                 from /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/./once_atomic.cpp:9,
                 from /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp:8:
/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/pthread/once_atomic.hpp:120:37: warning: variadic templates only available with -std=c++11 or -std=gnu++11
   template<typename Function, class ...ArgTypes>
                                     ^
/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/pthread/once_atomic.hpp:121:108: warning: variadic templates only available with -std=c++11 or -std=gnu++11
   inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args)
                                                                                                            ^
src/boost/CMakeFiles/boost.dir/build.make:3302: recipe for target 'src/boost/CMakeFiles/boost.dir/__/__/boost/libs/thread/src/pthread/once.cpp.o' failed
make[2]: *** [src/boost/CMakeFiles/boost.dir/__/__/boost/libs/thread/src/pthread/once.cpp.o] Error 1
CMakeFiles/Makefile2:1081: recipe for target 'src/boost/CMakeFiles/boost.dir/all' failed
make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Please help me to install this code in Ubuntu in my pc. 

Thanking you, 

Dr. Santu Baidya
Seoul National University
South korea









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