OpenBLAS build error: debian on sparc

44 views
Skip to first unread message

alejand...@gmail.com

unread,
May 11, 2016, 11:06:15 AM5/11/16
to OpenBLAS-users
I am trying to compile OpenBLAS v0.2.18 library but I'm getting an error at some point in the compilation. The error is show below.


openblas_get_config.c:58:3: error: expected ‘,’ or ‘;’ before CHAR_CORENAME
openblas_get_config
.c: In function openblas_get_corename’:
openblas_get_config
.c:81:10: error: CHAR_CORENAME undeclared (first use in this function)
openblas_get_config
.c:81:10: note: each undeclared identifier is reported only once for each function it appears in ../../common_param.h:1202:186: warning: the right operand of "&" changes sign when promoted [enabled by default]
../../common_param.h:1206:186: warning: the right operand of "&" changes sign when promoted [enabled by default]
../../common_param.h:1214:186: warning: the right operand of "&" changes sign when promoted [enabled by default]
openblas_get_config
.c:85:1: warning: control reaches end of non-void function [-Wreturn-type]
../../common_param.h:1218:186: warning: the right operand of "&" changes sign when promoted [enabled by default]
make
[1]: *** [openblas_get_config.o] Error 1
make
[1]: *** Waiting for unfinished jobs....
make
[1]: Leaving directory `/home/alejandro/Downloads/OpenBLAS-0.2.18/driver/others'
make: *** [libs] Error 1
$ uname -a
Linux antares 3.2.0-4-sparc64-smp #1 SMP Debian 3.2.78-1 sparc64 GNU/Linux
$ lscpu
Architecture:          sparc64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Big Endian
CPU(s):                64
On-line CPU(s) list:   0-63
Thread(s) per core:    4
Core(s) per socket:    2
Socket(s):             8

I'm compiling using gcc and make on Debian 7 sparc and unfortunately OpenBLAS is not available as a binary package in the sparc repositories.

I have compiled this library in Debian+x86 before without problems.

Can someone help me figure out why OB is not building on this machine?

Thank you in advance.


Zhang Xianyi

unread,
May 11, 2016, 11:09:02 AM5/11/16
to alejand...@gmail.com, OpenBLAS-users
Hi,

We didn't test and support sparc architecture.

Xianyi

--
You received this message because you are subscribed to the Google Groups "OpenBLAS-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openblas-user...@googlegroups.com.
To post to this group, send email to openbla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages