[petsc-users] thread model

Mohammad Mirzadeh mirzadeh at gmail.com
Fri Nov 2 21:54:59 CDT 2012


Hi,

To use the new thread model in PETSc, does it suffice to run the code with
the following?

-threadcomm_type <openmp/pthread> -threadcomm_nthreads <#>

When I run the code with openmp, only 1 processor/core is active (looking
at top). When using pthread, all cores are active. Am I missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121102/e2a7db17/attachment.html>


More information about the petsc-users mailing list