Hi, i’m trying to install magma 2.5.0 but when i do “make” i get the following error:
src/xhsgetrf_gpu.cpp:110:45: error: no matching function for call to ‘__half::__half(double)’
const magmaHalf h_neg_one = (magmaHalf)-1.0;
This is how my makefile looks:
[b]GPU_TARGET = Kepler
CC = gcc
NVCC = nvcc
FORT = gfortran
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
OPTS = -O3 -DADD_ -fopenmp -DMAGMA_SETAFFINITY
F77OPTS = -O3 -DADD_
FOPTS = -O3 -DADD_ -x f95-cpp-input
NVOPTS = -O3 -DADD_ -Xcompiler -fno-strict-aliasing
LDOPTS = -fopenmp
Depending on how ATLAS and LAPACK were compiled, you may need one or more of:
-lifcore -ldl -lf2c -lgfortran
LIB = -llapack -lf77blas -latlas -lcblas -lcublas -lcudart -lstdc++ -lm -lgfortran
define library directories here or in your environment
LAPACKDIR = /usr/lib
ATLASDIR = /usr/lib/atlas-base
CUDADIR = /usr/local/cuda
-include make.check-atlas
-include make.check-cuda
LIBDIR = -L$(LAPACKDIR)
-L$(ATLASDIR)
-L$(CUDADIR)/lib64
INC = -I$(CUDADIR)/include[/b]
Do you guys have any idea of what’s happening?