Search found 913 matches

by mgates3
Tue Jun 09, 2020 2:52 pm
Forum: User discussion
Topic: solving multivariate polynomial system
Replies: 1
Views: 229

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

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

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

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

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

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

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
by mgates3
Fri Mar 20, 2020 1:16 pm
Forum: User discussion
Topic: MPI+MAGMA
Replies: 1
Views: 549

Re: MPI+MAGMA

Let me see if I understand you correctly. MAGMA doesn't have any MPI. So you are calling MAGMA for node-local computations on each node, and you are doing your own MPI communication. And in this context, MAGMA running in one MPI rank is giving the wrong result. Right? CUDA counts GPUs from 0. You ca...
by mgates3
Thu Mar 05, 2020 11:49 pm
Forum: User discussion
Topic: Building MAGMA on Windows
Replies: 6
Views: 776

Re: Building MAGMA on Windows

This is a known issue with CMake on Windows (see issue below). We have not yet found a feasible work around.
https://gitlab.kitware.com/cmake/cmake/ ... ote_642545

Mark
by mgates3
Thu Mar 05, 2020 11:04 pm
Forum: User discussion
Topic: magma_dgels_gpu error when trying to compile
Replies: 1
Views: 476

Re: magma_dgels_gpu error when trying to compile

Can you give more specifics such as: version of MAGMA (e.g., MAGMA 2.5.2) C/C++ compiler & version (e.g., g++ 9.2.0) CUDA version (e.g., CUDA 10.0) Is this an error compiling MAGMA, or an error compiling your application using MAGMA? If it's your application, please include a minimum code example th...