The problem is that nvcc, which is used to compile some parts of MAGMA, requires an older version of clang to work, and other components seem to require features (OpenMP for example) that this version of clang doesn't support.
The first step is to downgrade your version of clang so that nvcc will work. I used the instructions here to do that: http://stackoverflow.com/questions/3625 ... 0#36590330
Next, you'll have to install GNU GCC to compile the rest of MAGMA; The easiest way to do that is with brew, which can be installed from here: http://brew.sh/
Once you've installed brew, you can install GNU GCC 6 with the following command:
Code: Select all
brew install gccFinally, change your make.inc file to specify to use GNU GCC:
Code: Select all
# programs
CC = gcc-6
CXX = g++-6
NVCC = nvcc
FORT = gfortran