Skip to content
Prev 14804 / 15075 Next

Compiling BLAS with Accelerate

Thank you Simon!
configure with this option seems to work fine and produce:
"External libraries:          pcre2, readline, BLAS(Accelerate), curl
 Additional capabilities:     PNG, JPEG, TIFF, NLS, cairo, ICU
 Options enabled:             framework, shared BLAS, R profiling"

However after starting compilation I get a lot of errors mainly in the gist:
sources/src/extra/blas/blas00.c:6:5: error: implicit declaration of
function 'dasum_' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
    F77_CALL(dasum)();
    ^
/[...]/sources/src/include/R_ext/RS.h:104:22: note: expanded from macro
'F77_CALL'
# define F77_CALL(x)    x ## _
<scratch space>:69:1: note: expanded from here
dasum_
^
my arch is x86-64.
I tried to find something on the Internet or R admin but with no luck.
I guess some includes or other configuration is missing but I have no
experience with such huge build system.

I am generally aiming at testing different BLASes or own implementations of
matrix operations (matmul mainly),
perf and correctness wise.

T.

sob., 30 lis 2024 o 09:14 Simon Urbanek <simon.urbanek at r-project.org>
napisa?(a):