code-saturne / code-saturne/code_saturne

Cannot build Code_Saturne with PETSc

オープン
#47 コメント 6 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。