I'm new with MAGMA and I would like to test the OpenCL version due to its multiplatform nature. But I'm having some troubles during compilation, therefore I would like to answer if someone have been able to install clmagma-1.0.0 under similar conditions:
- Ubuntu 12.04
- Processor: Intel i7
- Graphic card: Nvidia 210
- BLAS, LAPACK, ATLAS from the ubuntu repositories.
Regarding the corresponding make.inc configuration file is detailed below:
- Code: Select all
CC = g++
NVCC = nvcc
FORT = gfortran
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
OPTS = -O0 -DADD_ -g -Wall
FOPTS = -O0 -DADD_ -g -Wall -x f95-cpp-input
NVOPTS = -O3 -DADD_ --compiler-options -fno-strict-aliasing -DUNIX
LDOPTS = -fPIC -Xlinker -zmuldefs
LIB = /usr/lib/lapack/liblapack.a \
-llapack_atlas -lcblas -latlas -lf77blas -lm -lf2c -latlas -lOpenCL -lgfortran -lstdc++ -fopenmp -ldl -lgsl
GPUBLAS = /usr/local/cuda
LIBDIR = -L/usr/lib/atlas-base \
-L$(GPUBLAS)/lib64
INC = -I$(GPUBLAS)/include
I'd appreciate any help, thanks.
