Search found 916 matches

by mgates3
Thu Jul 16, 2020 1:59 pm
Forum: User discussion
Topic: Problem compiling MAGMA in ubuntu
Replies: 5
Views: 241

Re: Problem compiling MAGMA in ubuntu

It looks like CUDA renamed a field from `memoryType` to `type`. Changing that one line should fix the issue (but I haven't tested). In interface_cuda/interface.cpp, change: return (attr.memoryType == cudaMemoryTypeDevice); to: return (attr.type == cudaMemoryTypeDevice); Note that CUDA deleted a whol...
by mgates3
Tue Jul 14, 2020 12:15 pm
Forum: User discussion
Topic: CMake erorr building the library
Replies: 2
Views: 477

Re: CMake erorr building the library

Note that CUDA 11 deleted (not just deprecated) a number of functions, at least in cuSparse, breaking MAGMA sparse.

Mark
by mgates3
Mon Jul 13, 2020 1:04 pm
Forum: User discussion
Topic: Compiling Magma on Windows
Replies: 2
Views: 257

Re: Compiling Magma on Windows

We have had difficulty with CMake compiling MAGMA on Windows. This appears to be a bug or deficiency in CMake. It is unclear when this occurred -- whether some new version of CUDA, CMake, or MAGMA broke it -- as we have previously compiled MAGMA with CMake on Windows. See this thread: https://icl.cs...
by mgates3
Tue Jun 09, 2020 2:52 pm
Forum: User discussion
Topic: solving multivariate polynomial system
Replies: 1
Views: 379

Re: solving multivariate polynomial system

This forum is for MAGMA, the linear algebra library for GPUs.
http://icl.utk.edu/magma/

It seems you are refering to the Magma Computational Algebra System,
http://magma.maths.usyd.edu.au/magma/

Mark
by mgates3
Wed Jun 03, 2020 11:25 am
Forum: User discussion
Topic: SuiteSparse and Magma
Replies: 1
Views: 455

Re: SuiteSparse and Magma

Matlab uses both dense and sparse components from MAGMA. It also uses components from SuiteSparse.
We do some collaboration with Tim Davis, the primary author of SuiteSparse. Applications can use both, as Matlab does, but there are no current plans to integrate MAGMA and SuiteSparse together.

Mark
by mgates3
Thu May 28, 2020 10:41 am
Forum: User discussion
Topic: Cuda 10.1 is lack of cublas, which is required by magma-2.5.0 ?
Replies: 7
Views: 6923

Re: Cuda 10.1 is lack of cublas, which is required by magma-2.5.0 ?

This is an issue with CUDA, not with MAGMA. See: https://forums.developer.nvidia.com/t/cublas-for-10-1-is-missing/71015 What specific OS are you using (e.g., Ubuntu 20.04)? What did you do to install cuda and cublas? From the link above, it sounds like these may be separate packages that need to be ...
by mgates3
Wed May 27, 2020 9:17 pm
Forum: User discussion
Topic: CMake failed to configure
Replies: 3
Views: 959

Re: CMake failed to configure

The easiest fix is to define $MKLROOT in your environment, so MAGMA knows where to find MKL. E.g., source /opt/intel/bin/compilervars.csh intel64 # sets MKLROOT echo $MKLROOT /opt/intel/compilers_and_libraries_2020.1.216/mac/mkl # in magma directory mkdir build cd build rm * # clean out stale cache ...
by mgates3
Thu May 21, 2020 9:34 am
Forum: User discussion
Topic: Porting a function from lapack to magma
Replies: 2
Views: 466

Re: Porting a function from lapack to magma

As shown in example/example_v2.c, you should include magma_v2.h. Then replace LAPACK dgesdd_ with magma_dgesdd. The job parameter changes from a string to an enum. The dimensions change from int pointers to plain ints. I highly suggest doing a workspace query, as LAPACK and MAGMA will have different...
by mgates3
Tue May 12, 2020 1:27 pm
Forum: User discussion
Topic: Call magma from Fortran, problem of wrapper
Replies: 13
Views: 6067

Re: Call magma from Fortran, problem of wrapper

There are wrappers for MAGMA BLAS routines since 2.5.0 (Nov 2018). They are lacking documentation, though. See control/magmablas_zfortran.F90, and control/magma.F90 for queues, constants, etc.

Mark
by mgates3
Mon Apr 27, 2020 11:04 am
Forum: User discussion
Topic: GPU_TARGET selection affects performance?
Replies: 2
Views: 959

Re: GPU_TARGET selection affects performance?

Do you mean AMD? ATI no longer exists.
Yes, there is a HIP version of MAGMA for AMD GPUs, available from MAGMA's website.

Mark