[petsc-users] PETSc-dev and OpenMP

Barry Smith bsmith at mcs.anl.gov
Tue Sep 17 13:21:17 CDT 2013


   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 <danyang.su at gmail.com> 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



More information about the petsc-users mailing list