Narval/en: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 80: Line 80:


==Intel compilers==
==Intel compilers==
The Intel compilers can very well compile applications for Narval's AMD processors with the less recent AVX2 instruction sets. To do so, use the <tt>-march=core-avx2</tt> option to produce executables which are compatible with both Intel and AMD processors.
The 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.


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 beinig 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 beinig said, the <tt>-xHOST</tt> on Narval becomes the same as <tt>-march=core-avx2</tt>.
rsnt_translations
56,430

edits

Navigation menu