unzip AMG-1.2.zip
cd /path/to/AMG/AMG-1.2
make
在Makefile.include中,“-DHYPRE_USING_PERSISTENT_COMM”优化MPI,“-DHYPRE_HOPSCOTCH”优化OpenMP。