- Install requirements:
- Xcode
- Intel C++ Composer XE SP1 (It's important to get SP1 version since older versions won't work with Xcode for OSX Mavericks)
- Intel Fortran Composer XE SP1
- CUDA 6.0 RC
- Copy make.inc.mkl-icc into make.inc
- Edit the following:
Code: Select all
NVCC = /usr/local/cuda/bin/nvcc OPTS = -O3 -DADD_ -Wall -openmp -DMAGMA_WITH_MKL FOPTS = -O3 -DADD_ -warn all -fpp MKLROOT ?= /opt/intel/composerxe/mkl CUDADIR ?= /usr/local/cuda LIBDIR = -L$(MKLROOT)/lib \ -L$(CUDADIR)/lib - Build:
It's important to prepend DYLD_LIBRARY_PATH=/opt/intel/lib/ since otherwise ifort will fail with weird errors
Code: Select all
DYLD_LIBRARY_PATH=/opt/intel/lib make
Install Magma + MKL + CUDA 6 on OSX Mavericks
Install Magma + MKL + CUDA 6 on OSX Mavericks
I've just wanted to let you know everything I did to build magma on OSX Mavericks using Intel MKL + CUDA 6
Re: Install Magma + MKL + CUDA 6 on OSX Mavericks
Thanks for sharing. We usually compile on MacOS using Apple's compiler and veclib, so this is helpful to know how to do it with Intel's compiler and MKL.
-mark
-mark