cudnn verify failed

I just installed cuda (10.0.130 ) and cudnn ( 7.3.1 for ubuntu 18 )
OS is ubuntu 18.04.1 LTS , intel core i7-8700 , Geforce GTX 1060.

Then I tried to verify cudnn: using mnistsample

make clean && make
rm -rf *o
rm -rf mnistCUDNN
/usr/local/cuda/bin/nvcc -ccbin g++ -I/usr/local/cuda/include -IFreeImage/include -m64 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_53,code=compute_53 -o fp16_dev.o -c fp16_dev.cu
g++ -I/usr/local/cuda/include -IFreeImage/include -o fp16_emu.o -c fp16_emu.cpp
g++ -I/usr/local/cuda/include -IFreeImage/include -o mnistCUDNN.o -c mnistCUDNN.cpp
/usr/local/cuda/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_53,code=compute_53 -o mnistCUDNN fp16_dev.o fp16_emu.o mnistCUDNN.o -I/usr/local/cuda/include -IFreeImage/include -LFreeImage/lib/linux/x86_64 -LFreeImage/lib/linux -lcudart -lcublas -lcudnn -lfreeimage -lstdc++ -lm

run the test( failed ):
./mnistCUDNN
cudnnGetVersion() : 7301 , CUDNN_VERSION from cudnn.h : 7301 (7.3.1)
Cuda failurer version : GCC 7.3.0
Error: unknown error
error_util.h:93
Aborting…

please help.

btw, I had installed tensorflow before I installed cuda, didnot reinstall yet.

Thanks.

for more information,
the driver used is : nvidia-driver-410 (open source ) .
I have nvidia-driver-390 installed , but seems be changed by cuda or cudnn.