Opened 3 years ago

Closed 11 months ago

#21561 closed defect (invalid)

OpenBLAS package fails to build

Reported by: mjo Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords:
Cc: strogdon Merged in:
Authors: Reviewers: Martin Rubey
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

In #20096, OpenBLAS was made standard in place of ATLAS, but the build fails:

...
gcc -c -O2 -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME="_" -DCHAR_CNAME="" -DNO_AFFINITY -I. -DHAVE_LAPACK_CONFIG_H -I ../include -o lapacke_chpgvx.o lapacke_chpgvx.c
In file included from ../include/lapacke_utils.h:37:0,
                 from lapacke_chpgvx.c:34:
../include/lapacke.h:889:1: warning: null character(s) ignored
                             lapack_int ldb, lapack_complex_float* x,
 ^
In file included from ../include/lapacke_utils.h:37:0,
                 from lapacke_chpgvx.c:34:
../include/lapacke.h:889:8216: error: unknown type name 'ued'
                             lapack_int ldb, lapack_complex_float* x,

Attachments (1)

openblas-0.2.15.log.gz (351.3 KB) - added by mjo 3 years ago.
Build log for openblas-0.2.15

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by mjo

Build log for openblas-0.2.15

comment:2 Changed 3 years ago by strogdon

  • Cc strogdon added

comment:3 Changed 3 years ago by jpflori

Can you try the latest upstream version? That's currently 0.2.19.

comment:4 Changed 3 years ago by strogdon

I'm wondering if the hardened profile gcc version 4.9.3 (Gentoo Hardened 4.9.3 p1.5, pie-0.6.4 is doing something strange. I have gcc version 4.9.3 (Gentoo 4.9.3 p1.5, pie-0.6.4) and it (0.2.15) builds for me, but my hardware is fairly old.

Last edited 3 years ago by strogdon (previous) (diff)

comment:5 Changed 3 years ago by leif

Until we merge a working version of OpenBLAS, we should probably revert the default to ATLAS.

The current version in Sage apparently crashes (or makes other parts of Sage crash) on any "recent" AMD CPU (Bulldozer, Piledriver aka bdver1, bdver2 / Opteron 62xx, 63xx, etc.).

comment:6 Changed 3 years ago by jpflori

See #21627 for updating openblas.

comment:7 Changed 17 months ago by mantepse

  • Milestone changed from sage-7.4 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

comment:8 Changed 17 months ago by mantepse

  • Reviewers set to Martin Rubey
  • Status changed from needs_review to positive_review

No longer relevant

comment:9 Changed 11 months ago by embray

  • Resolution set to invalid
  • Status changed from positive_review to closed

Presuming these are all correctly reviewed as either duplicate, invalid, or wontfix.

Note: See TracTickets for help on using tickets.