You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hints/linux.sh uses this stanza for Intel's compiler:
*"Intel(R) C"*" Compiler"*)
# record the version, formats:
# icc (ICC) 10.1 20080801
# icpc (ICC) 10.1 20080801
# followed by a copyright on the second line
ccversion=`${cc:-cc} --version | sed -n -e 's/^icp\?c \((ICC) \)\?//p'`
# This is needed for Configure's prototype checks to work correctly
# The -mp flag is needed to pass various floating point related tests
# The -no-gcc flag is needed otherwise, icc pretends (poorly) to be gcc
ccflags="-we147 -mp -no-gcc $ccflags"
I managed to install this using spack, via spack install intel-oneapi-compilers, which gave me this:
% icc --version
icc (ICC) 2021.2.0 20210228
Copyright (C) 1985-2021 Intel Corporation. All rights reserved.
%
and it appears to build perl fine (at least as far as a clean minitest); however it warns that -mp is an unknown flag, and the docs advise that -we is deprecated in favour of -diag-error. Blame log shows that we added -mp via 383f935 to replace an -mp1 added a few months earlier (3d7ef91), and -mp1is still supported. However it isn't obvious if we need any of these flags these days.
I don't regularly use this compiler, so I don't know what intervening versions have existed, nor when the supported flags may have changed. I'd welcome suggestions for how to improve the hints file.
The text was updated successfully, but these errors were encountered:
hints/linux.sh uses this stanza for Intel's compiler:
I managed to install this using spack, via
spack install intel-oneapi-compilers
, which gave me this:and it appears to build perl fine (at least as far as a clean minitest); however it warns that
-mp
is an unknown flag, and the docs advise that-we
is deprecated in favour of-diag-error
. Blame log shows that we added-mp
via 383f935 to replace an-mp1
added a few months earlier (3d7ef91), and-mp1
is still supported. However it isn't obvious if we need any of these flags these days.I don't regularly use this compiler, so I don't know what intervening versions have existed, nor when the supported flags may have changed. I'd welcome suggestions for how to improve the hints file.
The text was updated successfully, but these errors were encountered: