cd /path/to/dimemas
./bootstrap
./configure CC=mpicc CXX=mpicxx --prefix=/path/to/dimemas --with-boost=/usr --with-boost-libdir=/usr/lib64
make -j make install