Cuda 9.1 installation error Ubuntu 16.04

I installed Cuda9.1 on Ubuntu 16.04 following nvidia webpage.

https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal

I ran samples to verify Cuda9.1 installation and bumped into the following errors.

cuda-install-samples-9.1.sh cd NVIDIA_CUDA-9.1_Samples
$ make

make[1]: Entering directory ‘/usr/local/cuda-9.1/samples/0_Simple/simplePrintf’
/usr/local/cuda-9.1/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_70,code=compute_70 -o simplePrintf.o -c simplePrintf.cu
Assembler messages:
Fatal error: can’t create simplePrintf.o: Permission denied
Makefile:273: recipe for target ‘simplePrintf.o’ failed
make[1]: *** [simplePrintf.o] Error 1
make[1]: Leaving directory ‘/usr/local/cuda-9.1/samples/0_Simple/simplePrintf’
Makefile:52: recipe for target ‘0_Simple/simplePrintf/Makefile.ph_build’ failed
make: *** [0_Simple/simplePrintf/Makefile.ph_build] Error 2

Here are some additional information,
$ printenv PATH
/home/paperspace/torch/install/bin:/home/paperspace/bin:/home/paperspace/.local/bin:/usr/local/cuda/bin/:/home/paperspace/torch/install/bin:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

$ echo $LD_LIBRARY_PATH
/home/paperspace/torch/install/lib:/usr/local/cuda/lib64/:/home/paperspace/torch/install/lib:

$ lspci |grep -i nvidia
00:05.0 VGA compatible controller: NVIDIA Corporation Device 1bb1 (rev a1)
00:06.0 Audio device: NVIDIA Corporation Device 10f0 (rev a1)

$ nvcc -V
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85

You don’t have permission to access the directory where you installed the samples.

Try:

sudo make -k