You can utilize the "OpenMP version of PETSc" with your OpenMP program but not all the solvers are OpenMP parallel currently.
Use petsc-dev and configure PETSc with ./configure --with-mpi=0 --with-openmp see http://www.mcs.anl.gov/petsc/developers/index.html Barry On Sep 17, 2013, at 12:29 PM, Danyang Su <[email protected]> wrote: > Hi All, > > I have a parallel Fortran project utilizing OpenMP parallelism. Before > porting to PETSc utilizing MPICH, I want to know if it is possible to use > PETSc solver with OpenMP. There is some information for petsc-dev openmp > benchmarking as can be found here, > http://lists.mcs.anl.gov/pipermail/petsc-dev/2012-March/007817.html. If this > is possible, I would like to have a OpenMP version of PETSc solver first, > otherwise, the project will be ported to PETSc utilizing MPI. Could anybody > give me some advice on this? > > Thanks and regards, > > Danyang
