Search found 893 matches

by mgates3
Tue Apr 23, 2019 4:42 pm
Forum: User discussion
Topic: Is it possible to get MKL ERROR messages despite running on the GPU
Replies: 1
Views: 467

Re: Is it possible to get MKL ERROR messages despite running on the GPU

MAGMA is a hybrid CPU-GPU library. It does some computation on the CPU, and some on the GPU, trying to overlap those two computations and leverage the strengths of each. Thus, it can run into MKL errors on the CPU. As for your error, gesdd cannot work if there are NaNs. The SVD is not defined in tha...
by mgates3
Tue Apr 23, 2019 4:40 pm
Forum: User discussion
Topic: Magma-2.5.0-rc1
Replies: 6
Views: 1696

Re: Magma-2.5.0-rc1

1) No need to change the Makefile. Instead of setting GPU_TARGET=Kepler, set GPU_TARGET=sm_35, in your make.inc file. 2) I think the issue with CUDA arch 3.0 has been resolved in the bitbucket repository (https://bitbucket.org/icl/magma). We should be having a bug fix release soon to address it. -ma...
by mgates3
Tue Apr 23, 2019 4:32 pm
Forum: User discussion
Topic: Possible to build without gpu support?
Replies: 1
Views: 461

Re: Possible to build without gpu support?

It is not currently possible to build MAGMA without GPU support. You would need to switch between LAPACK and MAGMA.
-mark

[Sorry for the delay in posting. A misconfiguration left messages in the moderation queue.]
by mgates3
Tue Apr 23, 2019 4:28 pm
Forum: User discussion
Topic: Sparse matrix eigenvalues
Replies: 0
Views: 439

Re: Sparse matrix eigenvalues

Hi Lee, Unfortunately, we haven't built Fortran interfaces for the MAGMA sparse components. You would have to write wrappers in C that your Fortran functions can call. Most all the dense functionality in MAGMA should be accessible from Fortran now. Looks like the example code needs a little updating...
by mgates3
Tue Apr 23, 2019 4:17 pm
Forum: User discussion
Topic: Conjugate Gradient Solver (CG) using Python
Replies: 1
Views: 546

Re: Conjugate Gradient Solver (CG) using Python

The paper you reference discusses the scikit-cuda package, a 3rd party package that wraps some CUDA and MAGMA functionality for use in Python. You would have to check their library to see if it supports the MAGMA sparse functions for CG. -mark [Sorry for the delay in posting. A misconfiguration left...
by mgates3
Tue Apr 23, 2019 4:09 pm
Forum: User discussion
Topic: Unable to run Magma_dgeqrf_batched
Replies: 1
Views: 413

Re: Unable to run Magma_dgeqrf_batched

See magma/testing/testing_dgeqrf_batched.cpp for sample code. I can't debug your code for you, but from a quick scan, I'm wondering why h_d_A is allocated with cudaMalloc on the GPU device, while h_d_tau is allocated with malloc on the CPU host. -mark [Sorry for the delay in posting. A misconfigurat...
by mgates3
Tue Apr 23, 2019 4:01 pm
Forum: User discussion
Topic: Would like some tips before going into Linear Algebra?
Replies: 1
Views: 384

Re: Would like some tips before going into Linear Algebra?

If you understand calculus, then I think understanding linear algebra should be fine. Important concepts include numerical stability (e.g., why do we need pivoting in LU / Gaussian elimination?), symmetric / Hermitian matrices, positive definite, orthogonal vectors & matrices, eigenvalues, and singu...
by mgates3
Tue Apr 23, 2019 3:56 pm
Forum: User discussion
Topic: magma compilation, microsoft visual studio and cmake runtime_library conflict
Replies: 1
Views: 468

Re: magma compilation, microsoft visual studio and cmake runtime_library conflict

Thanks for the report. We can look into it. We're revising the CMake file now to address some other issues, so that may resolve this issue as well.

-mark

[Sorry for the delay in posting. A misconfiguration left messages in the moderation queue.]
by mgates3
Tue Apr 23, 2019 3:54 pm
Forum: User discussion
Topic: Solving least squares problems for underdetermined systems
Replies: 3
Views: 1265

Re: Solving least squares problems for underdetermined systems

Hi Greg, Support for under-determined systems shouldn't be difficult to add to MAGMA. The necessary pieces (QR, LQ) are already available. We don't have any immediate plans to add it, as it hasn't been requested before, but can look into adding it. I'm not aware if other libraries support it. -mark ...
by mgates3
Tue Apr 23, 2019 3:50 pm
Forum: User discussion
Topic: Undefined symbol errors while calling magma routine from a matlab mex file
Replies: 1
Views: 413

Re: Undefined symbol errors while calling magma routine from a matlab mex file

You may need to link with the MKL library that ships with Matlab, instead of an external one. Search for mkl in your Matlab installation. The specifics depend on your platform. For instance, on MacOS, Matlab's MKL library is here: >> pfind mkl /Applications/Mine/MATLAB_R2017a.app/ /Applications/Mine...