<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div> The bug was mine; I was freeing the map object outside of the if () instead of inside. You can do<div><br></div><div> git pull</div><div> make all</div><div><br></div><div> and then try again.</div><div><br></div><div> Barry</div><div><br><div><br><blockquote type="cite"><div>On Apr 24, 2023, at 5:39 AM, Carl-Johan Thore <carl-johan.thore@liu.se> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Hi Barry!<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">First of all, thank you very very much for this! I was expecting maybe a few hints and pointers on how to proceed<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">with my work, but then you did a complete implementation …<span class="Apple-converted-space"> </span><o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Your code ran fine with<span class="Apple-converted-space"> </span><a href="http://ex84.cc/" style="color: blue; text-decoration: underline;">ex84.cc</a>. Unfortunately it crashed when running on my main code (a mixed Stokes solver).<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">When running on 1 core I get a crash which is maybe related to your code, so I’ve attached the error message for that<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">case. However, on multiple cores I think the issue is mainly that I’m not constructing the original IS correctly, so I’ll<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">look into that myself.<span class="Apple-converted-space"> </span><o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Regarding reporting to<span class="Apple-converted-space"> </span><a href="https://gitlab.com/petsc/petsc/-/merge_requests/6366" style="color: blue; text-decoration: underline;">https://gitlab.com/petsc/petsc/-/merge_requests/6366</a>, should it be done here?:<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"></div></div></div></blockquote></div></div></body></html>