Search found 918 matches

by mgates3
Fri Aug 28, 2020 10:04 am
Forum: User discussion
Topic: Building MAGMA on Windows
Replies: 8
Views: 1423

Re: Building MAGMA on Windows

As noted above, it's an issue in CMake. They don't seem to be making any progress on it.
https://gitlab.kitware.com/cmake/cmake/ ... ote_642545

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

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: 752

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: 499

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: 568

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: 659

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: 8743

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: 1224

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: 665

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...