[petsc-users] Call MatsetValues in a openMP loop

Luca Verzeroli l.verzeroli at studenti.unibg.it
Wed Oct 11 00:17:32 CDT 2017

Is it possible to put MatSetValues or VetSetValues in a openMP loop? Now I'm creating values in a loop and maybe it could be speed up with a multithreads implementation. Are these routines thread safe or not?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171011/5d7fb4ad/attachment-0001.html>

More information about the petsc-users mailing list