compil code with MKL+Cublas functions compil

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.