blas

Matrix/Tensor Triple Product?

拥有回忆 提交于 2020-01-11 01:41:18
问题 An algorithm I'm working on requires computing, in a couple places, a type of matrix triple product. The operation takes three square matrices with identical dimensions, and produces a 3-index tensor. Labeling the operands A , B and C , the (i,j,k) -th element of the result is X[i,j,k] = \sum_a A[i,a] B[a,j] C[k,a] In numpy, you can compute this with einsum('ia,aj,ka->ijk', A, B, C) . Questions: Does this operation have a standard name? Can I compute this with a single BLAS call? Are there

How to build Gotoblas2 on Opensuse 12.2

北战南征 提交于 2020-01-06 08:51:15
问题 While building GotoBlas2 on my x86_64 by using the default make file, I encounter the following build error: gcc -O2 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DMAX_CPU_NUMBER=8 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -I.. -w -o linktest linktest.c ../libgoto2_nehalemp-r1.13.so -L/usr/lib64/gcc/x86_64-suse-linux/4.7 -L/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L

How to build Gotoblas2 on Opensuse 12.2

北城余情 提交于 2020-01-06 08:51:08
问题 While building GotoBlas2 on my x86_64 by using the default make file, I encounter the following build error: gcc -O2 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DMAX_CPU_NUMBER=8 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -I.. -w -o linktest linktest.c ../libgoto2_nehalemp-r1.13.so -L/usr/lib64/gcc/x86_64-suse-linux/4.7 -L/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L

Linking LAPACK/BLAS libraries

ぐ巨炮叔叔 提交于 2020-01-05 08:32:20
问题 Background: I am working on a project written in a mix of C and Fortran 77 and now need to link the LAPACK/BLAS libraries to the project (all in a Linux environment). The LAPACK in question is version 3.2.1 (including BLAS) from netlib.org. The libraries were compiled using the top level Makefile (make lapacklib and make blaslib). Problem: During linking, error messages claimed that certain (not all) BLAS-routines called from LAPACK-routines were undefined. This gave me some headache but the

Linking LAPACK/BLAS libraries

北城以北 提交于 2020-01-05 08:32:13
问题 Background: I am working on a project written in a mix of C and Fortran 77 and now need to link the LAPACK/BLAS libraries to the project (all in a Linux environment). The LAPACK in question is version 3.2.1 (including BLAS) from netlib.org. The libraries were compiled using the top level Makefile (make lapacklib and make blaslib). Problem: During linking, error messages claimed that certain (not all) BLAS-routines called from LAPACK-routines were undefined. This gave me some headache but the

Does the EPD Free distribution use MKL?

你离开我真会死。 提交于 2020-01-05 07:38:22
问题 According to the Enthought website, the EPD Python distribution uses MKL for numpy and scipy. Does EPD Free also use MKL? If not does it use another library for BLAS/LAPACK? I am using EPD Free 7.3-2 Also, what library does the windows binary installer for numpy that can be found on scipy.org use? 回答1: The EPD Free 7.3 installers do not include MKL. The BLAS/LAPACK libraries which they use are ATLAS on Linux & Windows and Accelerate on OSX. 回答2: According to this table, EPD Free 7.3 does not

RenderScript implementation of BLAS?

穿精又带淫゛_ 提交于 2020-01-05 02:52:17
问题 I've seen this: https://github.com/android/platform_frameworks_support/commit/35ef270f319aeac81d562897c480b507102dc9ae And so I'm wondering when this will be available to the external 3rd party developers for general usage. Any info would be greatly appreciated. Thanks! Anthony 回答1: It is already part of the M preview and will be in the forthcoming M SDK. 来源: https://stackoverflow.com/questions/31620728/renderscript-implementation-of-blas

Fortran 90/95 library for sparse matrices?

 ̄綄美尐妖づ 提交于 2019-12-31 20:31:51
问题 I am looking for a library for dealing with sparse matrices in fortran 90/95. I only need very basic operations like matrix-vector multiplication. What do you suggest I use? I have searched around and an extension(?) to BLAS called "sparse blas", documented in chapter 3 of the blast technical forum specification: http://www.netlib.org/blas/blast-forum/, seems ideal. According to that document, there should be a fortran 95 interface to the library. However, I haven't been able to find an

cholesky decomposition ScaLapack error

一个人想着一个人 提交于 2019-12-30 00:59:08
问题 I'm getting the following error and i'm not sure why. { 1, 1}: On entry to PDPOTRF parameter number 2 had an illegal value { 1, 0}: On entry to PDPOTRF parameter number 2 had an illegal value { 0, 1}: On entry to PDPOTRF parameter number 2 had an illegal value { 0, 0}: On entry to PDPOTRF parameter number 2 had an illegal value info < 0: If the i-th argument is an array and the j-entry had an illegal value, then INFO = -(i*100+j), if the i-th argument is a scalar and had an illegal value,

Parallelisation in Armadillo

久未见 提交于 2019-12-29 08:41:17
问题 The Armadillo C++ linear algebra library documentation states one of the reasons for developing the library in C++ to be "ease of parallelisation via OpenMP present in modern C++ compilers", but the Armadillo code does not use OpenMP. How can I gain the benefits of parallelisation with Armadillo? Is this achieved by using one of the high-speed LAPACK and BLAS replacements? My platform is Linux, Intel processor but I suspect there is a generic answer to this question. 回答1: Okay so it appears