[petsc-users] multi-threaded assembly

Wen Jiang jiangwen84 at gmail.com
Mon Jun 23 21:55:17 CDT 2014


Dear all,

I am trying to change my MPI finite element code to OPENMP one. I am not
familiar with the usage of OPENMP in PETSc and could anyone give me some
suggestions?

To assemble the matrix in parallel using OpenMP pragmas, can I directly
call MATSETVALUES(ADD_VALUES) or do I need to add some locks around it?

Thanks!
Wen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140623/2a5ce6d4/attachment-0001.html>


More information about the petsc-users mailing list