|
1.下载 PETSc
2.解压后进入文件夹
3.终端输入:./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-fblaslapack --download-mpich
4.make (步骤3后,终端会显示make具体命令,包括DIR 和 ARCH)
5.make all test
参考:
http://www.mcs.anl.gov/petsc/documentation/installation.html
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-7-28 00:42
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社