[petsc-users] OpenMP doesn't work anymore with PETSc building rules
Barry Smith
bsmith at petsc.dev
Wed Oct 25 10:14:38 CDT 2023
To have OpenMP available from the PETSc make system you need to have --with-openmp with the .PETSc /configure options
> On Oct 25, 2023, at 11:09 AM, Qiyue Lu <qiyuelu1 at gmail.com> wrote:
>
> Hello,
> I have an in-house code enabled OpenMP and it works. Now I am trying to incorporate PETSc as the linear solver and build together using the building rules in $PETSC_HOME/lib/petsc/conf/rules. However, I found the OpenMP part doesn't work anymore.
> Should I re-configure the petsc installation with --with-openmp=1 option? I wonder are the building rules affected by this missing option?
>
> Thanks,
> Qiyue Lu
More information about the petsc-users
mailing list