在一台Linux ubuntu 系统的电脑上安装petcs 时,在安装和编译的过程中没有出现报错信息,当使用检查安装的命令时会出现以下错误信息。

尝试了好几个版本的安装都是这样的报错。
参考是这位博主的安装教程:https://blog.csdn.net/qq_36130886/article/details/121731836
Possible error running C/C++ src/snes/tutorials/ex19 with 1 MPI process
See https://petsc.org/release/faq/
hwloc/linux: Ignoring PCI device with non-16bit domain.
Pass --enable-32bits-pci-domain to configure to support such devices
(warning: it would break the library ABI, don't enable unless really needed).
lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
Number of SNES iterations = 2
Possible error running C/C++ src/snes/tutorials/ex19 with 2 MPI processes
See https://petsc.org/release/faq/
hwloc/linux: Ignoring PCI device with non-16bit domain.
Pass --enable-32bits-pci-domain to configure to support such devices
(warning: it would break the library ABI, don't enable unless really needed).
hwloc/linux: Ignoring PCI device with non-16bit domain.
Pass --enable-32bits-pci-domain to configure to support such devices
(warning: it would break the library ABI, don't enable unless really needed).
lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
Number of SNES iterations = 2
Possible error running Fortran example src/snes/tutorials/ex5f with 1 MPI process
See https://petsc.org/release/faq/
hwloc/linux: Ignoring PCI device with non-16bit domain.
Pass --enable-32bits-pci-domain to configure to support such devices
(warning: it would break the library ABI, don't enable unless really needed).
Number of SNES iterations = 3
Completed test examples
Error while running make check
gmake[1]: *** [makefile:149:check] 错误 1
make: *** [GNUmakefile:17:check] 错误 2

img


请问有没哪位博主能帮助解答一下。
本内容若有版权侵犯,请联系删除。

望采纳!!点击该回答右侧的“采纳”按钮即可采纳!!

这个错误消息表明在运行 "make check" 时出现了错误。这可能是因为在安装过程中出现了问题,或者是在编译 PETSc 程序时出现了问题。

可以检查一下出错的具体位置,并试着进一步解决这个问题。例如可以试试使用 "gdb" 调试器来跟踪问题的根源,或者检查安装过程中的输出日志以了解可能的问题。

另外可以试试查看 PETSc 的官方文档。

https://www.mcs.anl.gov/petsc/documentation/index.html
https://groups.google.com/forum/#!forum/petsc-users
仅供参考,望采纳,谢谢。

原因可能如下:
1.在安装 PETSc 时出现了问题,但是没有报错信息。可以尝试重新安装,并注意查看安装过程中是否出现错误信息。

2.在使用检查安装的命令时出现了问题。可以尝试使用其他方法来检查 PETSc 的安装情况,例如,运行 PETSc 的示例程序来检查是否能正常工作。

3.也可能是由于系统的其他原因导致的问题。可以尝试在其他系统上安装 PETSc,看看是否存在相同的问题。