Valgrind doesn’t support AVX-512. I spent a nontrivial amount of time sorting out the details and it’s a hard problem.
Intel Inspector is supposedly the right alternative and I assume it supports AVX-512, but I’ve not used it. MKL_ENABLE_INSTRUCTIONS=AVX2 downgrades MKL on KNL to use what the latest Valgrind should support. Jeff On Tue, Jul 3, 2018 at 1:28 PM Jed Brown <[email protected]> wrote: > "Smith, Barry F." <[email protected]> writes: > > > Could also be a bug in the new hash table stuff for options? > > > >> ==3965== valgrind: Unrecognised instruction at address 0x20104a53. > >> ==3965== at 0x20104A53: kh_resize_HTPrinted (viewreg.c:12) > >> ==3965== by 0x20104EE2: kh_put_HTPrinted (viewreg.c:12) > > ==3965== by 0x201061EF: PetscOptionsHelpPrintedCheck (viewreg.c:89) > > If the code run without valgrind does not crash here, then this would > just be valgrind not supporting the instruction set. You could > downgrade the target arch via compiler flags or see if the latest (dev > version?) Valgrind supports the instruction. > -- Jeff Hammond [email protected] http://jeffhammond.github.io/
