Dear all users and developers,
I was building and installing ALPS in my loptop. I have done each process step by step. In the last step I created a build Folder and I unziped alps-2.2.b3-r7462-src-with-boost. therefore I went to Build folder
cd build
and wrote the bellow:
cmake -D Boost_ROOT_DIR:PATH=/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/alps
After it finished, I typed make
acerv3-571g@acerv3571g-Aspire-V3-571G:~/Downloads/build$ make
it was going ok but I faced to these error message:
[ 21%] Building CXX object src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/request.cpp.o [ 21%] Building CXX object src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/text_skeleton_oarchive.cpp.o [ 21%] Building CXX object src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/timer.cpp.o [ 21%] Building CXX object src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/future.cpp.o [ 21%] Building CXX object src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp.o In file included from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic.hpp:12:0, from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/pthread/once_atomic.hpp:20, from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/once.hpp:20, from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/./once_atomic.cpp:9, from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp:8: /home/acerv3-571g/Downloads/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; ^ /home/acerv3-571g/Downloads/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; ^ /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:43: error: invalid type in declaration before ‘;’ token typedef atomic<uintptr_t> atomic_uintptr_t; ^ src/boost/CMakeFiles/boost.dir/build.make:3159: recipe for target 'src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp.o' failed make[2]: *** [src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp.o] Error 1 CMakeFiles/Makefile2:966: recipe for target 'src/boost/CMakeFiles/boost.dir/all' failed make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2 Makefile:147: recipe for target 'all' failed make: *** [all] Error 2 acerv3-571g@acerv3571g-Aspire-V3-571G:~/Downloads/build$
I don't know what is the problem and how I can remove that?! Thanks so much to any body for getting help and guidance.
Inzo
comp-phys-alps-users@lists.phys.ethz.ch