<div dir="ltr"><div>Dear all,</div><div><br></div><div>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?</div><div>
<br></div><div>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? <br></div><div><br></div><div>Thanks!</div><div>Wen</div></div>