Skip to content

3.4.2: issue with build flexiblas binaries #48

Closed
@kloczek

Description

@kloczek

I've manage to build my own flexiblas binaries and package all that as rpm package.
On top of that I've build my own python numpy binaries wiecha are using flexiblas however on any use of those numpy fails with core dump and flexiblas Failed to get the BLAS backend (OPENBLAS-OPENMP) from the configuration. message.
Fir example on building joblib python module documentation I have:

+ /usr/bin/sphinx-build -n -T -b man doc build/sphinx/man
Running Sphinx v7.2.6
flexiblas Failed to get the BLAS backend (OPENBLAS-OPENMP) from the configuration.
/var/tmp/rpm-tmp.Dgu6DF: line 59: 893244 Aborted                 (core dumped)

My understanding is that something is missing or even flexiblas is indirectly build however I'm struggling with diagnose this issue and error message does not point and what is missing/wwong.

May I ask for some help/hint? 🤔

flexiblas was build using cmake params:

%cmake \
        -D CMAKE_SKIP_INSTALL_RPATH=ON \
        -D INTEGER8=OFF \
        -D SYS_BLAS_LIBRARY=-lblas \
        -D SYS_LAPACK_LIBRARY=-llapack \
        -D TESTS=ON \

and after install flexiblas package flexiblas list shows

[tkloczko@pers-jacek SPECS]$ flexiblas list
System-wide:
System-wide (config directory):
 NETLIB
   library = libflexiblas_netlib.so
   comment =
User config:
Host config:
Enviroment config:

and flexiblas print

[tkloczko@pers-jacek SPECS]$ flexiblas print
FlexiBLAS, version 3.4.2
Copyright (C) 2013-2024 Martin Koehler and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.


Configured BLAS libraries:
System-wide (/etc/flexiblasrc):

System-wide from config directory (/etc/flexiblasrc.d/)
 NETLIB
   library = libflexiblas_netlib.so
   comment =

User config (/home/tkloczko/.flexiblasrc):

Host config (/home/tkloczko/.flexiblasrc.pers-jacek):

Available hooks:

Backend and hook search paths:
  /usr/lib64/flexiblas/

Default BLAS:
    System:       OPENBLAS-OPENMP
    User:         (none)
    Host:         (none)
    Active Default: OPENBLAS-OPENMP (System)
Run-time properties:
   verbose = 0 (System)

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