Skip to content

python core dump on Power8 #96

Open
@renatopancheri

Description

@renatopancheri

Hi,

on my ppc64le Power8 machine (POWER8NVL)
when python library thinc == 8.1.2 calls the

cpu_gather_add(saxpy(cblas), <float *>output.data, &table[0, 0], &indices[0, 0]

function python crashes right away,
i've found the problem is actually in the compile flags on Blis library, running:

sed -i -e 's/mcpu=power9/mcpu=native/g' blis/_src/make/linux-power9.jsonl
sed -i -e 's/mtune=power9/mtune=native/g' blis/_src/make/linux-power9.jsonl

fixes the problem for me.
For some reason import blis worked without any problems

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