Trying to follow this (Intel64/Linux):
But it doesn't seem to recognize -use-intel-optimized-headers for compilation, only for linking?
icpx -use-intel-optimized-headers -c valarray.C
icpx: warning: argument unused during compilation: '-u se-intel-optimized-headers' [-Wunused-command-line-argument]
icpx -use-intel-optimized-headers valarray.o
(no error/warning)
icpx -use-intel-optimized-headers valarray.C
(no error/warning)
(FWIW, icpc doesn't seem to produce the same error message)