I had trouble with installing MAGMA RC5 on Ubuntu. However I have fixed the problem with the following changes in Makefile.
#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.0) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# November 2010
#//////////////////////////////////////////////////////////////////////////////
#
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 1
CC =/opt/intel/composerxe-2011/bin/icc
NVCC = /usr/local/cuda/bin/nvcc
#FORT = gfortran
FORT = /opt/intel/composerxe-2011/bin/ifort
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
OPTS = -O3 -DADD_
FOPTS = -O3 -DADD_ -cpp
NVOPTS = --compiler-options -fno-strict-aliasing -DUNIX -O3 -DADD_
LDOPTS = -fPIC -nofor_main -Xlinker -zmuldefs
LIB = -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_lapack -lmkl_core -lguide -lpthread -lcublas -lcudart -lm
CUDADIR = /usr/local/cuda
LIBDIR = -L/opt/intel/mkl/10.2.4.032/lib/em64t \
-L$(CUDADIR)/lib64
INC = -I$(CUDADIR)/include
LIBMAGMA = ../lib/libmagma.a
LIBMAGMABLAS = ../lib/libmagmablas.a
~
Some changes in make.inc file for RC5
Re: Some changes in make.inc file for RC5
Thanks,
I fixed it, I didn't realize the file has not been updated for the last version of MKL.
Mathieu
I fixed it, I didn't realize the file has not been updated for the last version of MKL.
Mathieu