wget -O boost_1_58_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.tar.gz/download
tar xzvf boost_1_58_0.tar.gz
cd boost_1_58_0/
sudo apt-get update
sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev
./bootstrap.sh –prefix=/usr/local
sudo ./b2
After these I got a message:
export INCLUDE="/home/acerv3-571g/boost_1_58_0:$INCLUDE"
export LIBRARY_PATH="/home/acerv3-571g/boost_1_58_0/stage/lib:$LIBRARY_PATH"
and I tried to build ALPS:
acerv3-571g@acerv3571g-Aspire-V3-571G:~/Downloads/build$ make clean
acerv3-571g@acerv3571g-Aspire-V3-571G:~/Downloads/build$ make
But this time I faced to:
[ 18%] Building CXX object src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/system/src/error_code.cpp.o
[ 18%] Building CXX object src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/broadcast.cpp.o
In file included from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/mpi/communicator.hpp:16:0,
from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/mpi/collectives.hpp:21,
from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/mpi/collectives_fwd.hpp:19,
from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/mpi/collectives/broadcast.hpp:11,
from /home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/broadcast.cpp:9:
/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/mpi/config.hpp:20:17: fatal error: mpi.h: No such file or directory
#include <mpi.h>
^
compilation terminated.
src/boost/CMakeFiles/boost.dir/build.make:2699: recipe for target 'src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/broadcast.cpp.o' failed
make[2]: *** [src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/broadcast.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
What is the problem? and how can I resolve that? Thanks for following and help.
Inzo