MAGMA on MAC OS

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
Peterson
Posts: 1
Joined: Wed Sep 04, 2019 1:31 pm
Contact:

MAGMA on MAC OS

Post by Peterson » Wed Sep 04, 2019 11:59 pm

Can i USE MAGMA on MAC OS? Please share instructiouns, tutorials

mgates3
Posts: 897
Joined: Fri Jan 06, 2012 2:13 pm

Re: MAGMA on MAC OS

Post by mgates3 » Thu Sep 05, 2019 12:50 am

Yes, though since Apple has stopped supporting NVIDIA cards on MacOS Mojave (10.14), anything using CUDA is limited to MacOS 10.13 and older (as I understand it).

Compiling MAGMA on MacOS is similar to on Linux. I use the gcc & gfortran compilers from HPC MacOS X:
http://hpc.sourceforge.net/

Follow the instructions in the README. There's a sample make.inc configuration file in make.inc-examples/make.inc.macos, which uses Apple's Accelerate library for BLAS & LAPACK. Alternatively, you can use OpenBLAS or Intel MKL by using the relevant sample make.inc files. Instead of using the Makefile with make.inc, you can use CMake to compile MAGMA.

Please let us know if you have specific questions.

-mark

Post Reply