Hi Barry,

Thanks so much.
Which solvers are current OpenMP parallel currently? Can I use the external package (e.g., SuperLU OpenMP version) with OpenMP through PETSc? Is there any document or examples available for the usage of PETSc with OpenMP?

Thanks again,

Danyang

On 17/09/2013 11:21 AM, Barry Smith wrote:
    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

Reply via email to