You may also want to specify -mtune=. It is usually redundant (-march
implies -mtune), but depending on how old your compiler is/how new your
hardware is your compiler may not properly classify your hardware and still
tune for “generic”.
Best regards,
Jacob Faibussowitsch
(Jacob Fai - booss -
-march=native, which is also recognized by the new Intel compilers (icx), which
are based on LLVM.
Ernesto Prudencio via petsc-users writes:
> Hi all.
>
> When compiling PETSc with INTEL compilers, we have been using the options
> "-Ofast -xHost". Is there an equivalent to -xHost for GNU
Hi all.
When compiling PETSc with INTEL compilers, we have been using the options
"-Ofast -xHost". Is there an equivalent to -xHost for GNU compilers?
Thank you in advance,
Ernesto.
Schlumberger-Private