ubuntu18.04
先安装相关库
sudo apt-get install build-essential cmake-curses-gui libhdf5-serial-dev libfftw3-dev gfortran python-matplotlib python-scipy liblapack-dev xsltproc python-dev编译alps-2.3.0
一定要下载最新的
svn co https://alps.comp-phys.org/svn/alps1/trunk/alps
选 [p]
另外,准备好boost
把alps和boost都放在alps-2.3.0-src-with-boost下面
cd alps-2.3.0-src-with-boost
mkdir build
cd build
cmake ../alps
gedit CMakeCache.txt
//List of symmetry to include in the build objects. U1, TwoU1,
// NU1, Z2 and NONE are currently available.
DMRG_BUILD_SYMMETRIES:STRING=NU1;Ztwo
make
sudo make install