<div dir="ltr">Coloring works for OMP assembly.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 12, 2017 at 9:40 AM, Guillaume Emond <span dir="ltr"><<a href="mailto:guillaume.emond@polymtl.ca" target="_blank">guillaume.emond@polymtl.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Goodmorning,<br>
<br>
I would like to clarify a point about the insertion of values with MatSetValues in a openMP loop. I know these routines are not thread safe. But, in our situation, we used a graph coloring algorithm on our mesh to make sure no adjacent element is inserted at the same time so no data races occurs when inserting values. Could these routines be used with openmp then or is there some internal variables that would not be thread safe?<span class="HOEnZb"><font color="#888888"><br>
<br>
Guillaume<br>
<br>
</font></span></blockquote></div><br></div>