<div><div dir="auto">Valgrind doesn’t support AVX-512. I spent a nontrivial amount of time sorting out the details and it’s a hard problem.</div><div dir="auto"><br></div><div dir="auto">Intel Inspector is supposedly the right alternative and I assume it supports AVX-512, but I’ve not used it. </div></div><div dir="auto"><br></div><div dir="auto"><span style="color:rgb(73,73,73);font-family:DDG_ProximaNova,DDG_ProximaNova_UI_0,DDG_ProximaNova_UI_1,DDG_ProximaNova_UI_2,DDG_ProximaNova_UI_3,DDG_ProximaNova_UI_4,DDG_ProximaNova_UI_5,DDG_ProximaNova_UI_6,"Proxima Nova","Helvetica Neue",Helvetica,"Segoe UI","Nimbus Sans L","Liberation Sans","Open Sans",FreeSans,Arial,sans-serif;font-size:13.21343994140625px;background-color:rgb(255,255,255)">MKL_ENABLE_INSTRUCTIONS=AVX2 downgrades MKL on KNL to use what the latest Valgrind should support. </span><br></div><div dir="auto"><br></div><div dir="auto">Jeff</div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 3, 2018 at 1:28 PM Jed Brown <<a href="mailto:jed@jedbrown.org">jed@jedbrown.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">"Smith, Barry F." <<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>> writes:<br>
<br>
>   Could also be a bug in the new hash table stuff for options?<br>
><br>
>> ==3965== valgrind: Unrecognised instruction at address 0x20104a53.<br>
>> ==3965==    at 0x20104A53: kh_resize_HTPrinted (viewreg.c:12)<br>
>> ==3965==    by 0x20104EE2: kh_put_HTPrinted (viewreg.c:12)<br>
> ==3965==    by 0x201061EF: PetscOptionsHelpPrintedCheck (viewreg.c:89)<br>
<br>
If the code run without valgrind does not crash here, then this would<br>
just be valgrind not supporting the instruction set.  You could<br>
downgrade the target arch via compiler flags or see if the latest (dev<br>
version?) Valgrind supports the instruction.<br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div>