I have installed CUDA and MKL in this server before i install MAGMA, and i check both is run well by runing a cuBLAS example program and a MKL example program.
Before i describe what i haved happened i must point it seem that there is no fortran in this server. So i install MAGMA by follows:
- I move make.inc-examples/make.inc.mkl-gcc to ../make.inc
- I modify make.inc:
I commented out:and remove -lgfortran inCode: Select all
FORT = gfortran FFLAGS = -O3 $(FPIC) -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument F90FLAGS = -O3 $(FPIC) -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input
and i also setCode: Select all
LIB = -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lpthread -lstdc++ -lm -lgfortran
in this file.Code: Select all
MKLROOT=/home/lixin/intel/mkl CUDADIR=/usr/local/cuda
- I run , it seem well and i haven't see any error tag.
Code: Select all
make install prefix=/home/lixin/install/
- I run , it cause error soon:
Code: Select all
make test

how should i to install MAGMA and make sure i can use gemm function in MAGMA.(who can give me a gemm example program?)
I have also post this question in stackoverflow https://stackoverflow.com/questions/513 ... 9_51372620