compil code with MKL+Cublas
Hi,

I wrote a code which use slarft function from the MKL.
It also use geqrf from Cublas.

I can't compil my code. Here is my Makefile :

CC=nvcc
CFLAGS=-O3
INCLUDES=-I${MKL_INC_PATH}
LIBS= -lcublas

LIBSMKL=-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread

build64:
${CC} -o qrBlocTGPU qrBlocT.cu -DReal=float $(CFLAGS) $(LIBSMKL) $(LIBS)

When I compil, I've this error :

nvcc -o qrBlocTGPU qrBlocT.cu -DReal=float -O3 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread -lcublas
nvcc fatal : Unknown option 'openmp'
make: *** [build64] Error 255

Could someone help me ?

Thanks.
Hi,



I wrote a code which use slarft function from the MKL.

It also use geqrf from Cublas.



I can't compil my code. Here is my Makefile :



CC=nvcc

CFLAGS=-O3

INCLUDES=-I${MKL_INC_PATH}

LIBS= -lcublas



LIBSMKL=-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread



build64:

${CC} -o qrBlocTGPU qrBlocT.cu -DReal=float $(CFLAGS) $(LIBSMKL) $(LIBS)



When I compil, I've this error :



nvcc -o qrBlocTGPU qrBlocT.cu -DReal=float -O3 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread -lcublas

nvcc fatal : Unknown option 'openmp'

make: *** [build64] Error 255



Could someone help me ?



Thanks.

#1
Posted 08/04/2011 12:37 PM   
Scroll To Top