Skip to content

build openblas with lapack- and cblas interface fails #341

Closed
@HymiR

Description

@HymiR

Hi,
I'm trying some experiments with numpy and openblas-0.2.8/0.2.9_rc1.
Since numpy needs cblas and lapack, i think I should build openblas with the appropriate interfaces enabled, if I understood the comments within Makefile.rule (sadly the only build specific "documentation") right.

I set following in Makefile.rule:
TARGET=CORE2
CC=gcc
FC=gfortran
DYNAMIC_ARCH=0
USE_THREAD=0
USE_OPENMP=1 // gcc-4.8.2 with fortran and openmp compiled-in

NO_CBLAS=0
NO_LAPACK=0

I use gentoo linux, gcc-4.8.2[fortran, openmp] on a core2-duo cpu
With the last two entries (NO_*) as described above, building fails with errors like:
linktest: undefined reference to xxxxx

With these entries commented-out build works fine.
Here's my question: do I need the mentioned entires to be activated to get cblas and lapack support?
Do I have to install other libs as dependencies in that case???
What do I need the NO_IFNAME flags actually need for? Why theres no documentation?

Thank you very much in advance, greetings from Germay

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