Questions tagged [blas]

The Basic Linear Algebra Subprograms are a standard set of interfaces for low-level vector and matrix operations commonly used in scientific computing.

A reference implementation is available at NetLib; optimized implementations are also available for all high-performance computing architectures, for example:

The BLAS routines are divided into three levels:

  • Level 1: vector operations e.g. vector addition, dot product
  • Level 2: matrix-vector operations e.g. matrix-vector multiplication
  • Level 3: matrix-matrix operations e.g. matrix multiplication
906 questions
0
votes
1 answer

theano - speed test compared to numpy - BLAS libraries

I just managed to install theano. I did the speed test with the code below- and theano is a lot slower than numpy on the CPU. I presume that I might inadvertently have linked theano to the wrong blas library? (presuming that they would show equal…
user1885116
  • 1,757
  • 4
  • 26
  • 39
0
votes
1 answer

Jblas, Error on argument 8 (LDA) in DGEMM

I am calculating a covariance matrix without any problems like so: DoubleMatrix W = new DoubleMatrix(w); DoubleMatrix ret = new DoubleMatrix(coReturns); DoubleMatrix meanRets = ret.columnMeans(); DoubleMatrix demeanedReturns =…
KIC
  • 5,887
  • 7
  • 58
  • 98
0
votes
1 answer

linking ipopt against openblas

Currently, I am trying to build Ipopt linking against openblas. I downloaded the openblas source and did make in the parent directory. The configure script of Ipopt has several options to link against blas: I tried ./configure…
Moritz
  • 5,130
  • 10
  • 40
  • 81
0
votes
2 answers

Installing SciPy without Anaconda on Windows: how to fix "no lapack/blas" error?

Is there an option to install SciPy on Windows without installing Anaconda as well? I could not do it via pip and everywhere it says to use Anaconda. More details: I want the SciPy package without any additional programs like Python(x, y) or…
MyNick
  • 536
  • 1
  • 9
  • 25
0
votes
1 answer

SHould I trust BLAS libraries unconditionally to improve performance

I am working on some project that involves computationally intensive image processing algorithms that involve a lot of steps that could be handled by BLAS libraries (mostly level 1 routines). Since my data is quite large it certainly makes sense to…
Laurent
  • 101
  • 4
0
votes
0 answers

Installing ODEPACK on a Mac with C++ Code

I used homebrew to install R on my mac. My question is we have an example code that uses dlsode as a call, programmed in c++. When I compile I get linker errors. How would I properly link the library, and is the R package what I need to use…
0
votes
1 answer

Segfault while trying to compile R 3.2.1 with ACML math library when using proprietary NVIDIA driver

Running Ubuntu 14.04, trying to compile R with the ACML math library, and I get this error: byte-compiling package 'grDevices' *** caught segfault *** address (nil), cause 'memory not mapped' *** caught segfault *** address (nil), cause 'memory…
mrip
  • 14,913
  • 4
  • 40
  • 58
0
votes
1 answer

R Packages, gcc, and BLAS on Amazon EC2

I am trying to install RTextTools for R on my Amazon EC2 instance. I'm using R 3.1.1. (installed 2014-07-10) with Amazon's Linux AMI. I open R with root privileges and try the following: > install.packages('RTextTools') Installing package into…
ZacharyST
  • 658
  • 2
  • 6
  • 22
0
votes
1 answer

Run a program using cblas

I need to start a program with using cblas.h library. I download cblas.tgz and decompile it, I Run the command: ln -s Makefile.LINUX Makefile.in and try to run my program. But I have this error. I run my program used gcc main.c -cblas or gcc…
TheAvenger
  • 458
  • 1
  • 6
  • 19
0
votes
2 answers

Questions about Octave 3.8.2 compilation on CentOS 6.4

I try to compile Octave 3.8.2 on CentOS 6.4 (serve), but there's an error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings. I'm so confused. I compiled a BLAS and a LAPACK myself, and I added their path to…
GQZhou
  • 11
  • 1
0
votes
0 answers

cannot find -lgoto while compiling on Ubuntu 12.04LTS

My Dear All the Greatest Lords, It's most simple to install software packages in common use. But by means of such oversimplified routines lost control of varieties under different context of developing environments. After downloading, unzipping,…
piratesailor
  • 305
  • 5
  • 15
0
votes
1 answer

ndk-build using amadillo (blas lapack) and vlfeat lib

I am trying to compile c++ code written using armadillo that I have uncomment blas lapack in config.hpp and also vlfeat (vl.so) in Andriod make file. In Jni folder I have the following Andriod.mk LOCAL_PATH := $(call my-dir) include…
afsaneh
  • 21
  • 4
0
votes
1 answer

calling daxpy from C. What is going wrong?

I am trying to use some BLAS routines in my C code just to experiment and something is going wrong for some reason that I do not understand. Here is my code #include #define N 100000 void daxpy_(int* n, double* alpha, double*…
Slugger
  • 665
  • 1
  • 5
  • 17
0
votes
1 answer

Invalid Operation Error while compiling Lapack Fortran files with LF Fortran in VS2013

I am trying to compile LAPACK Fortran files with LF Fortran compiler in Visual STudio 2013 to create .NET DLL. I have succesfully compiled BLAS package, which is a dependency for LAPACK. But in compiling LAPACK files, I am getting "Invalid…
0
votes
2 answers

RedHat MultiNest: failed install, issue with CMake/BLAS/LAPACK (or pthreads)

I am trying to install MultiNest on my desktop running Enterprise Red Hat 6.6 (Santiago). I downloaded the necessary package (MultiNest_v3.9_CMake.tar.gz), and followed the installation instructions: cd MultiNest/build cmake .. Although BLAS and…
Kreuzfeld
  • 33
  • 1
  • 7