openmpi安装后,有几个依赖包要独立安装好,保证mpicc/mpicxx/mpif90能编译连接成功 碰到问题仔细阅读PETSc的配置日志configure.log PETSc自动下载第三方包时候,会失败,可以手动将包下载后,指定具体位置(碰到MUMPS包下载失败情况) Cygwin没有openblas-devel包,PETSc找不到blas头文件,使用
对于没有这两个库的用户,可以让PETSc配置自动下载blas和lapck然后编译,用户只需提供网络连接即可,具体配置命令为: Administrator@ ZFy ~/petsc-3.2-p6 $ ./configure --with-cc=win32fe cl --with-fc=win32fe ifort --with-cxx=win32fe cl -- download-c-f-blas-lapack=1 --with-mpi-dir=/cygdrive...
[1]PETSC ERROR: INSTEAD the line number of the start of the function [1]PETSC ERROR: is given. [1]PETSC ERROR: [1] PetscTrMallocDefault line 157 /home/ben/projects/mfem/petsc/src/sys/memory/mtr.c [1]PETSC ERROR: [1] PetscMallocA line 401 /home/ben/projects/mfem/petsc/src/...
> [0]PETSC ERROR: Petsc Release Version 3.20.4, Jan 29, 2024 > [0]PETSC ERROR: Unknown Name on a arch-linux-cxx-debug named TUF-Gaming by > lei Tue Mar 19 09:31:01 2024 > [0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++ > --with-fc=gfortran --download-f...