Search found 264 matches

by Stan Tomov
Mon Apr 06, 2015 11:26 am
Forum: User discussion
Topic: MAGMA license
Replies: 1
Views: 638

Re: MAGMA license

Yes, MAGMA is freely-available under a modified BSD license.
by Stan Tomov
Tue Nov 18, 2014 1:05 pm
Forum: User discussion
Topic: Segmentation faul error testing
Replies: 5
Views: 3615

Re: Segmentation faul error testing

Hi, Example on how to compile for 64-bit ints is in make.inc.mkl-ilp64, and example for shared libraries is in make.inc.mkl-shared. I see you tried to combine them but missed some flags like '-DMKL_ILP64'. I think this is what you have to add to your make.inc (after the corresponding variables) CFLA...
by Stan Tomov
Mon Nov 17, 2014 12:05 pm
Forum: User discussion
Topic: Segmentation faul error testing
Replies: 5
Views: 3615

Re: Segmentation faul error testing

Hello, In general, we recommend that you upgrade to the latest version of MAGMA, currently 1.6. Related to the dgemm question, I see you compiled for GPU_TARGET = Tesla when you have a Kepler GPU. Please replace Tesla with Kepler and recompile the library. NVIDIA is not supporting 'compute_10' archi...
by Stan Tomov
Tue Sep 23, 2014 3:03 pm
Forum: User discussion
Topic: MAGMA on ARM
Replies: 5
Views: 4848

Re: MAGMA on ARM

Hi Rob, Thanks for the info. We are targeting a middle of November release, but can provide specific routines in advance if you want to test. There were no problems with the compilation - we just put lapack with reference blas for the ARM with a make.inc looking like this: #/////////////////////////...
by Stan Tomov
Sat Sep 20, 2014 8:22 pm
Forum: User discussion
Topic: MAGMA on ARM
Replies: 5
Views: 4848

Re: MAGMA on ARM

Hi, We have been able to compile on ARM, and in particular on the TK1 development board that you also mentioned. We also compile directly on the TK1 now and everything works out of the box but performance can be further optimized, and we are developing a MAGMA Embedded version of MAGMA to address th...
by Stan Tomov
Wed Jun 04, 2014 2:41 pm
Forum: User discussion
Topic: linking with intel mkl
Replies: 2
Views: 2537

Re: linking with intel mkl

MAGMA requires linking with these libraries:

Code: Select all

-lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread -lcublas -lcudart -lm -liomp5
How is your linking different?
Functions like '_intel_fast_memcpy' are in libirc, so adding '-lirc' may help. Usually this is included automatically by the compiler.
Stan
by Stan Tomov
Tue Apr 22, 2014 6:26 pm
Forum: User discussion
Topic: zgemm for matrices that don't fit
Replies: 2
Views: 1610

Re: zgemm for matrices that don't fit

You can try the new NVIDIA cuBLAS-XT library. See:
https://developer.nvidia.com/cublasxt
Stan
by Stan Tomov
Fri Sep 13, 2013 1:14 am
Forum: User discussion
Topic: the error when I compile magma1.4.0 in vs2010
Replies: 3
Views: 2368

Re: the error when I compile magma1.4.0 in vs2010

You should be able to specify compiler options in vs2010, but I haven't used it recently and I am not sure where exactly. The other way is to revise the magma_types.h, e.g., by adding after the include statements a

Code: Select all

#define HAVE_CUBLAS
by Stan Tomov
Mon Sep 09, 2013 9:20 am
Forum: User discussion
Topic: the error when I compile magma1.4.0 in vs2010
Replies: 3
Views: 2368

Re: the error when I compile magma1.4.0 in vs2010

HAVE_CUBLAS has to be defined, e.g., by adding -DHAVE_CUBLAS to the compiler options. In Linux, the compiler options are set in Makefile.internal based on user input from make.inc.
by Stan Tomov
Thu Aug 22, 2013 5:55 pm
Forum: User discussion
Topic: Error: BLAS/LAPACK routine 'magma_' gave error code -7
Replies: 2
Views: 3585

Re: Error: BLAS/LAPACK routine 'magma_' gave error code -7

I see that the work space is indeed not large enough. You have

Code: Select all

lwork = max( lwork, max( nb, 2*nb*nb ));
but it should be

Code: Select all

lwork = max( lwork, max( n_col*nb, 2*nb*nb ));
Alternatively, you could have called directly magma_dgeqrf with work space size query (instead of lapackf77_dgeqrf).