Narval/en: Difference between revisions

Updating to match new version of source page
No edit summary
(Updating to match new version of source page)
Line 77: Line 77:
Unfortunately, Narval's AMD processors are ''incompatible'' with the [https://en.wikipedia.org/wiki/AVX-512 AVX512] instruction set (from [https://en.wikipedia.org/wiki/Skylake Skylake] onwards) on the [[Béluga/en#Node_characteristics|Béluga]] and [[Niagara#Node_characteristics|Niagara]] nodes, as well as the more recent nodes on [[Cedar#Node_characteristics|Cedar]] and [[Graham#Node_characteristics|Graham]]. Consequently, applications compiled on those relatively recent Intel nodes will probably not function on Narval and recompiling will certainly be necessary (see ''Intel compilers'' below).
Unfortunately, Narval's AMD processors are ''incompatible'' with the [https://en.wikipedia.org/wiki/AVX-512 AVX512] instruction set (from [https://en.wikipedia.org/wiki/Skylake Skylake] onwards) on the [[Béluga/en#Node_characteristics|Béluga]] and [[Niagara#Node_characteristics|Niagara]] nodes, as well as the more recent nodes on [[Cedar#Node_characteristics|Cedar]] and [[Graham#Node_characteristics|Graham]]. Consequently, applications compiled on those relatively recent Intel nodes will probably not function on Narval and recompiling will certainly be necessary (see ''Intel compilers'' below).


<div class="mw-translate-fuzzy">
==Intel compilers==
==Intel compilers==
Intel compilers can compile applications for Narval's AMD processors with AVX2 and earlier instruction sets. Use the <tt>-march=core-avx2</tt> option to produce executables which are compatible with both Intel and AMD processors.
Intel compilers can compile applications for Narval's AMD processors with AVX2 and earlier instruction sets. Use the <tt>-march=core-avx2</tt> option to produce executables which are compatible with both Intel and AMD processors.
</div>


However, the applications will not operate on Narval if your code was compiled on a system using one or more <tt>-xXXXX</tt> options such as <tt>-xCORE-AVX2</tt> because the Intel compilers add extra instructions to verify that the processor is by Intel. This being said, the <tt>-xHOST</tt> on Narval becomes the same as <tt>-march=core-avx2</tt>.
However, the applications will not operate on Narval if your code was compiled on a system using one or more <tt>-xXXXX</tt> options such as <tt>-xCORE-AVX2</tt> because the Intel compilers add extra instructions to verify that the processor is by Intel. This being said, the <tt>-xHOST</tt> on Narval becomes the same as <tt>-march=core-avx2</tt>.
38,760

edits