error 30 is usually a GPU initialization error. See if any other CUDA programs work on your system, and if not, you can use “sudo” once to start any cuda program of your choice. After that, it should be fixed.