code-saturne / code-saturne/code_saturne

Cannot build Code_Saturne with PETSc

Offen
#47 6 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @YvanFournier Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
307
Forks
102
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.