Valgrind: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:


== AVX512 Limitations ==
== AVX512 Limitations ==
Note that current versions of Valgrind are unable to handle the AVX512 instructions used on the latest Intel processors, producing an error message like the following,
Note that current versions of Valgrind are unable to handle the [https://en.wikipedia.org/wiki/AVX-512 AVX-512] instructions used on the latest Intel processors, producing an error message like the following,
<source>
<source>
vex amd64->IR: unhandled instruction bytes: 0x62 0xF1 0xFE 0x8 0x6F 0x8B 0xE8 0xFF 0xFF 0xFF
vex amd64->IR: unhandled instruction bytes: 0x62 0xF1 0xFE 0x8 0x6F 0x8B 0xE8 0xFF 0xFF 0xFF
Line 19: Line 19:
...
...
</source>
</source>
You can circumvent this problem by first loading the AVX2 environment,
Note that on [[Béluga]], the default environment uses these AVX-512 instructions. You can circumvent this problem by  
first loading the AVX-2 environment,
{{Command|module load arch/avx2}}
{{Command|module load arch/avx2}}
and then recompiling your application from scratch to ensure the binary doesn't contain any such instructions.  
and then recompiling your application from scratch to ensure the binary doesn't contain any such instructions.  
Bureaucrats, cc_docs_admin, cc_staff
2,318

edits