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

"error LINK2019: unresolved..."

I'm trying to compile a test program using Visual Studio 2012 written in C++, the program computes the inverse of an arbitrary matrix using the Armadillo linear algebra library. This requires that you enable LAPACK in Armadillo's config.h file and…
Will Andrew
  • 693
  • 1
  • 10
  • 29
0
votes
1 answer

Problems with porting a fortran program from ubuntu to windows

I previously had some troubles updating old code that still needed a not supported compiler and expensive libraries to a version with gfortran in Eclipse on Windows. I let it rest for a while and recently I took a whole other approach, rebuilding…
tvandenbrande
  • 348
  • 5
  • 21
0
votes
1 answer

I compiled the LAPACK and BLAS but my system can not recognize the library

I am working on a project written in a mix of Fortran 90 and Fortran 77 and now need to link the LAPACK/BLAS libraries, from netlib.org, to the project, all in a Linux environment. I used the gfortran compiler flags OPTS = -O2 -fPIC -m64 in the…
0
votes
1 answer

Compiling SuiteSparse (UMFPACK) with Intel MKL on Linux

I am trying to compile SuiteSparse with BLAS and LAPACK from Intel MKL. However it seems that make cannot find those libraries. The part of SuiteSparse_config.mk file considering BLAS and LAPACK used by makefile looks like this: # This is probably…
Misery
  • 689
  • 2
  • 8
  • 25
0
votes
1 answer

Moving around the lblas library and using it with the g++ compiler

So on my current computer I Have a library to use BLAS functions, but I need to run my c++ program on an external server. I know how to transfer files to the server, but I'm having trouble figuring out how to find my blas library that's on my…
Mechy
  • 259
  • 1
  • 4
  • 14
0
votes
1 answer

Armadillo C++ and BLAS and ATLAS cannot find lapack blas under mingw32

All, Summary ... I am trying to compile example.cpp of arma.sourceforge.net/docs.html#example_prog I try to compile and link armadillo with lapack and blas. I am always getting the same error back. This message is returned ld.exe: cannot find…
0
votes
1 answer

Compile Error, unable to find 'blasint'

I want to use GotoBLAS2 to sum two vectors (z = x+y, where x and y are two vectors with the same length). I use following code: #include #include #include double x[] = {1,2,3}; double y[] = {4,5,6}; void main() { int…
Pouya
  • 1,871
  • 3
  • 20
  • 25
0
votes
1 answer

install ruby-gsl in Ubuntu Precise

I have Ubuntu Precise and can't find in the software repo any lapack or blas. When I run sudo gem install gsl I get an error output. I have gsl 1.15. The output is as follows Building native extensions. This could take a while... ERROR: Error…
user1535776
  • 599
  • 2
  • 5
  • 10
0
votes
2 answers

Error in Compiling a sample file using UMFPACK

I want to compile a very umfpack_simple.c from Demos of UMFPACK but I'm getting following error: [root@localhost Test]# gcc -I../UMFPACK/Include -I../AMD/Include - I../SuiteSparse_config -I../GotoBLAS2 umfpack_simple.c libumfpack.a libamd.a…
Pouya
  • 1,871
  • 3
  • 20
  • 25
0
votes
1 answer

Alg. MKL Threaded DGEMV

As we all may know, there are lots of different ways to implement DGEMV in parallel (column or block -wise etc) resulting in different communication overheads. I have been looking through both the MKL and all the reference manuals to BLAS to try…
0
votes
1 answer

How to make a c++ project run on a different PCs

I developed a small c++ program in Visual Studio 2012 on Windows7, 64bit (let's call it PC1). On that pc it runs fine! Since I didn't have a versioning control system like SVN at hand, I copied ALL the project data (the exact folder structure, DLLs,…
bogus
  • 867
  • 6
  • 14
  • 24
0
votes
1 answer

Adding c++ OpenBLAS library to c# project

I'm trying to use OpenBLAS in a c# project (more specifically I'm attempting to use it with Math.NET via MathNet.Numerics.Control.LinearAlgebraProvider). I've successfully created the files following…
JesseBuesking
  • 6,496
  • 4
  • 44
  • 89
0
votes
1 answer

How to build Gotoblas2 on Opensuse 12.2

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=_…
kobrien
  • 2,931
  • 2
  • 24
  • 33
0
votes
1 answer

What are the fastest available implementations of BLAS/LAPACK or other linear algebra routings on GPU systems?

nVidia, for example, has CUBLAS, which promises 7-14x speedup. Naively, this is nowhere near the theoretical throughput of any of nVidia's GPU cards. What are the challenges in speeding up linear algebra on GPUs, and are there faster linear algebra…
Jiahao Chen
  • 896
  • 7
  • 14
0
votes
1 answer

Fortran C - calling convention - underscore mismatch when compiling BLACS

I am compiling the package BLACS on Linux. I compiled the package, the contents of the INSTALL directory. When I try to build the contents of the directory TESTING, I get errors blacstest.f:(.text+0xb9): undefined reference to…
Elan
  • 443
  • 5
  • 14