itensor是我们用来改良热网络算法的核心工具。目前包括输入文件,热网络算法本身的改写,已经输出张量网络成txt,都搞定了。这项工作是由研究生李萌负责完成的。
此外,我们也在编译的时候,改为调用intel mkl库,让运算起来更快。
- 安装mkl
- 安装mpi
- 配置它们的环境变量,在.bashrc
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
/home/c2019/Software/intel/compilers_and_libraries_2020.3.279/linux/mkl/lib/intel64_lin/:
/home/c2019/Software/intel/compilers_and_libraries_2020.3.279/linux/compiler/lib/intel64_lin/
- 编译按照itensor
- 编辑options.mk文件,用gcc编译的
PLATFORM=mkl
BLAS_LAPACK_LIBFLAGS=-L/home/c2019/Software/intel/compilers_and_libraries_2020.3.279/linux/mkl/lib/intel64_lin/ -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_rt -lmkl_core -lpthread -L/home/c2019/Software/intel/compilers_and_libraries_2020.3.279/linux/compiler/lib/intel64_lin/ -liomp5
BLAS_LAPACK_INCLUDEFLAGS=-I/home/c2019/Software/intel/compilers_and_libraries_2020.3.279/linux/mkl/include
网友评论