1、下载并解压PTESc;
2、打开电脑终端,cd到刚刚解压的PETSc文件夹;
3、终端中输入./configure --with-cc=/usr/bin/clang --with-cxx=/usr/bin/clang++ --with-fc=0 --download-mpich --with-debugging=0
4、最后make all test
参考:https://www.mcs.anl.gov/petsc/documentation/installation.html
1、下载并解压PTESc;
2、打开电脑终端,cd到刚刚解压的PETSc文件夹;
3、终端中输入./configure --with-cc=/usr/bin/clang --with-cxx=/usr/bin/clang++ --with-fc=0 --download-mpich --with-debugging=0
4、最后make all test
参考:https://www.mcs.anl.gov/petsc/documentation/installation.html