lib/spack/spack/util/executable.py:182 ==> [2021-04-05-16:41:15.100831] '/bin/bash' '--norc' '--noprofile' '-lc' 'echo $CRAY_CPU_TARGET'
lib/spack/spack/platforms/cray.py:154 ==> [2021-04-05-16:41:15.120326] default to front-end architecture
lib/spack/spack/cmd/__init__.py:122 ==> [2021-04-05-16:41:16.251029] Imported solve from built-in commands
lib/spack/spack/cmd/__init__.py:122 ==> [2021-04-05-16:41:16.253234] Imported solve from built-in commands
lib/spack/spack/config.py:981 ==> [2021-04-05-16:41:16.554406] Reading config file /dev/shm/spack/test/etc/spack/compilers.yaml
lib/spack/spack/config.py:981 ==> [2021-04-05-16:41:18.307166] Reading config file /dev/shm/spack/test/etc/spack/defaults/config.yaml
lib/spack/spack/config.py:981 ==> [2021-04-05-16:41:18.378508] Reading config file /dev/shm/spack/test/etc/spack/config.yaml
lib/spack/spack/config.py:981 ==> [2021-04-05-16:41:18.388623] Reading config file /u/staff/mbelkin/.spack/config.yaml
lib/spack/spack/config.py:981 ==> [2021-04-05-16:41:18.439507] Reading config file /dev/shm/spack/test/etc/spack/defaults/packages.yaml
lib/spack/spack/config.py:981 ==> [2021-04-05-16:41:18.543331] Reading config file /dev/shm/spack/test/etc/spack/packages.yaml
/dev/shm/spack/test/lib/spack/external/archspec/cpu/microarchitecture.py:263: UserWarning: {'versions': '16.0:', 'warnings': "Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors", 'flags': '-msse3', 'name': 'bulldozer'}
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors
warnings.warn(warning_message)
/dev/shm/spack/test/lib/spack/external/archspec/cpu/microarchitecture.py:263: UserWarning: {'versions': '16.0:', 'warnings': "Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors", 'name': 'core-avx2', 'flags': '-march={name} -mtune={name}'}
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors
warnings.warn(warning_message)
/dev/shm/spack/test/lib/spack/external/archspec/cpu/microarchitecture.py:263: UserWarning: {'versions': '16.0:', 'warnings': "Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors", 'flags': '-msse4.2', 'name': 'steamroller'}
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors
warnings.warn(warning_message)
/dev/shm/spack/test/lib/spack/external/archspec/cpu/microarchitecture.py:263: UserWarning: {'versions': '16.0:', 'warnings': "Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors", 'flags': '-msse3', 'name': 'piledriver'}
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors
warnings.warn(warning_message)
/dev/shm/spack/test/lib/spack/external/archspec/cpu/microarchitecture.py:263: UserWarning: {'versions': '16.0:', 'warnings': "Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors", 'flags': '-msse2', 'name': 'k10'}
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors
warnings.warn(warning_message)
lib/spack/spack/config.py:981 ==> [2021-04-05-16:41:20.226405] Reading config file /dev/shm/spack/test/etc/spack/defaults/repos.yaml
lib/spack/spack/config.py:981 ==> [2021-04-05-16:41:20.233054] Reading config file /dev/shm/spack/test/etc/spack/repos.yaml
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.371765] opt_criterion(15, version weight)
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.372239] opt_criterion(14, number of non-default variants (roots))
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.372584] opt_criterion(13, multi-valued variants + preferred providers for roots)
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.372921] opt_criterion(11, number of non-default variants (non-roots))
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.373259] opt_criterion(9, number of non-default providers (non-roots))
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.373610] opt_criterion(8, count of non-root multi-valued variants)
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.373955] opt_criterion(7, compiler matches + number of nodes)
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.374295] opt_criterion(6, version badness)
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.374632] opt_criterion(5, non-preferred compilers)
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.374969] opt_criterion(4, target matches)
lib/spack/spack/solver/asp.py:1566 ==> [2021-04-05-16:41:21.375305] opt_criterion(3, non-preferred targets)
lib/spack/spack/cmd/solve.py:123 ==> [2021-04-05-16:41:21.387813] Best of 1 considered solutions.
lib/spack/spack/cmd/solve.py:124 ==> [2021-04-05-16:41:21.388228] Optimization Criteria:
Priority Criterion Value
1 version weight 0
2 number of non-default variants (roots) 0
3 multi-valued variants + preferred providers for roots 0
4 number of non-default variants (non-roots) 0
5 number of non-default providers (non-roots) 0
6 count of non-root multi-valued variants 0
7 compiler matches + number of nodes 0
8 version badness 0
9 non-preferred compilers 0
10 target matches 0
11 non-preferred targets 0
I observe unsolicited warnings related to Intel compilers even though I don't specify anything like
%intelon the command line.Steps to reproduce the issue
spack solveError Message
spack --debug --stacktrace solveWhen I comment out line
in
lib/spack/spack/main.py, I get:spack --debug --stacktrace solve(complete output)Finally, when I add
warning_message = str(compiler_entry) + "\n" + warning_messagetolib/spack/external/archspec/cpu/microarchitecture.pylike so:if warning_message: + warning_message = str(compiler_entry) + "\n" + warning_message warnings.warn(warning_message)I see a number of very similar warnings that look like this:
but for different "flags"
spack --debug --stacktrace solve(complete output)Information on your system
Additional information
spack debug reportand reported the version of Spack/Python/Platform