如何解决在centOS上安装PETSc时检测到一些奇怪的错误
按如下方式构建PETSc时遇到了2个问题:
- ./ configure --prefix = / home / lengjun / softwares / petsc_install
- 使PETSC_DIR = / home / lengjun / softwares / petsc-3.14.1 PETSC_ARCH = arch-linux2-c-debug all
- 进行PETSC_DIR = / home / lengjun / softwares / petsc-3.14.1 PETSC_ARCH = arch-linux2-c-debug安装
- 进行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 举报,一经查实,本站将立刻删除。