code-saturne / code-saturne/code_saturne

Cannot build Code_Saturne with PETSc

未关闭
#47 6 条评论 0 个 reaction 已指派 1 人 已被 @YvanFournier 认领 在 GitHub 查看
主要语言
C++
星标
307
派生
102
PR 合并指标
30 天内没有已合并 PR

描述

I have been unable to build Code_Saturne with PETSc for any combination of configure petsc-related options because the relative m4 file is simply wrong, at least for a regular system-wide installation of the petsc package using a typical Linux repository. I modified some files attached here to make it work.

On my system with these modifications and the command line options:

--with-petsc=/usr
--with-petsc-lib=/usr/lib64/openmpi/lib

the compilation works correctly.

You may want to consider updating them.

[cs_petsc.zip](https://github.com/code-saturne/code_saturne/files/3487271/cs_petsc.zip)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。