Mac上如何安装PETSc

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

发布了33 篇原创文章 · 获赞 1 · 访问量 1259

猜你喜欢

转载自blog.csdn.net/weixin_44783002/article/details/103051106
今日推荐