在centOS上安装PETSc时检测到一些奇怪的错误

问题描述

按如下方式构建PETSc时遇到了2个问题:

  1. ./ configure --prefix = / home / lengjun / softwares / petsc_install
  2. 使PETSC_DIR = / home / lengjun / softwares / petsc-3.14.1 PETSC_ARCH = arch-linux2-c-debug all
  3. 进行PETSC_DIR = / home / lengjun / softwares / petsc-3.14.1 PETSC_ARCH = arch-linux2-c-debug安装
  4. 进行PETSC_DIR = / home / lengjun / softwares / petsc_install PETSC_ARCH =“”检查

在步骤4中,它表明

...
*******************Error detected during compile or link!*******************
See http://www.mcs.anl.gov/petsc/documentation/faq.html
/home/lengjun/softwares/petsc-3.14.1/src/snes/tutorials ex19
*********************************************************************************
...

C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process
C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes
*******************Error detected during compile or link!*******************
See http://www.mcs.anl.gov/petsc/documentation/faq.html
/home/lengjun/softwares/petsc-3.14.1/src/snes/tutorials ex5f
*********************************************************
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libgfortran.so.3,needed by /lib/../lib64/liblapack.so,may conflict with libgfortran.so.5
Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process
Completed test examples
lengjun@localhost petsc-3.14.1]$ 

其他信息: centOS 7 PETSc版本:3.14.1 MPI实施:openMPI 4.0.5 编译器:gcc 8.3.0 谁能帮我? 最好的问候,

6月

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...