Skip to content

detect POWER9 #322

@jeffhammond

Description

@jeffhammond

BLIS should attempt to autodetect POWER9 via lscpu. I'm sure there is a nice way to do this with Linux shell commands but I haven't tried to write it.

[jrhammon@power9-vm6 blis]$ ./configure
configure: detected Linux kernel version 4.14.0-115.8.1.el7a.ppc64le.
configure: python interpeter search list is: python python3 python2.
configure: using 'python' python interpreter.
configure: found python version 2.7.5 (maj: 2, min: 7, rev: 5).
configure: python 2.7.5 appears to be supported.
configure: C compiler search list is: gcc clang cc.
configure: using 'gcc' C compiler.
configure: C++ compiler search list is: g++ clang++ c++.
configure: using 'g++' C++ compiler (for sandbox only).
configure: found gcc version 4.8.5 (maj: 4, min: 8, rev: 5).
configure: checking for blacklisted configurations due to gcc 4.8.5.
configure: warning: gcc 4.8.5 does not support 'knl'; adding to blacklist.
configure: warning: gcc 4.8.5 does not support 'excavator'; adding to blacklist.
configure: warning: gcc 4.8.5 does not support 'zen'; adding to blacklist.
configure: warning: gcc 4.8.5 does not support 'skx'; adding to blacklist.
configure: found assembler ('as') version 2.27 (maj: 2, min: 27, rev: ).
configure: checking for blacklisted configurations due to as 2.27.
configure: warning: assembler ('as' 2.27) does not support 'bulldozer'; adding to blacklist.
configure: warning: assembler ('as' 2.27) does not support 'sandybridge'; adding to blacklist.
configure: warning: assembler ('as' 2.27) does not support 'haswell'; adding to blacklist.
configure: warning: assembler ('as' 2.27) does not support 'piledriver'; adding to blacklist.
configure: warning: assembler ('as' 2.27) does not support 'steamroller'; adding to blacklist.
configure: configuration blacklist:
configure:   knl excavator zen skx bulldozer sandybridge haswell piledriver steamroller
configure: reading configuration registry...done.
configure: determining default version string.
configure: found '.git' directory; assuming git clone.
configure: executing: git describe --tags.
configure: git returned an error: './configure: line 1627: git: command not found'.
configure: using string from unmodified version file.
configure: starting configuration of BLIS 0.6.0.
configure: configuring with official version string.
configure: found shared library .so version '2.0.0'.
configure:   .so major version: 2
configure:   .so minor.build version: 0.0
configure: 
configure: *** No configuration given! ***
configure: 
configure: Default configuration behavior is not implemented (for your
configure: own safety). Please re-run 'configure' and specify one
configure: of the existing configurations in the source distribution's
configure  'config_registry' file:
configure: 
configure:   amd64 (generic)
configure:   bgq (bgq)
configure:   cortexa15 (cortexa15)
configure:   cortexa53 (cortexa53)
configure:   cortexa57 (cortexa57)
configure:   cortexa9 (cortexa9)
configure:   generic (generic)
configure:   intel64 (penryn generic)
configure:   penryn (penryn)
configure:   power9 (power9)
configure:   thunderx2 (thunderx2)
configure:   x86_64 (penryn generic)
configure: 
[jrhammon@power9-vm6 blis]$ lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                40
On-line CPU(s) list:   0-39
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             40
NUMA node(s):          1
Model:                 2.1 (pvr 004e 1201)
Model name:            POWER9 (architected), altivec supported
Hypervisor vendor:     KVM
Virtualization type:   para
L1d cache:             32K
L1i cache:             32K
NUMA node0 CPU(s):     0-39

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions