Hi all, I would like to ask about how to integrate a remote GPU with my system. I am currently accessing a NVIDIA Tesla in another school through PuTTY. I am also able to run the sample programs in their environment. But what I want to do is to create my own CUDA program and run it in their GPU. My system has no GPU whatsoever and I’m having a hard time installing the drivers because it cannot detect the GPU. Do you know how to install and integrate CUDA and VS2010 into my computer and then after run this program in the GPU? Thanks
You need to have an nvidia GPU with the same capability or close to the Tesla in your computer.
I have no GPU installed on my notebook PC. Does that mean there’s no way I can use the GPU through PuTTY?
No way to integrate the remote gpu with your local VS installation.
Nothing prevents you from compiling your program on the remote machine though. No need to have CUDA installed locally.
You won’t be able to install the CUDA driver without a CUDA device (which makes sense cause you can’t actually run anything). But you can still install the CUDA toolkit on the local machine without a CUDA device to be able to build a CUDA application. Then deploy the application to the remote machine (where you have to have the CUDA driver installed) and run there.
Thanks for the advice!
I’ve actually tried to install just the Toolkit and the SDK but for some reason I cannot run the sample programs and I’ve been having problems integrating it with VS2010. I’m actually not sure of the problem here, but I’m using PuTTY to connect to the GPU and I have no idea how to establish the connection between my CUDA application and the GPU
You can’t use a remote GPU from a locally running program (at least not without installing rCUDA).
If you have successfully installed the CUDA toolkit locally following John’s advice, you need to transfer your compiled executable to the remote machine and run it there. Or compile it on the remote machine in the first place.
Okay, I think i’m having a problem with the remote GPU since it doesn’t have any sort of user interface, I am only accessing it through PuTTY and the only way I can control it is through some sort of Command Prompt. I will go ahead and try to look into RCUDA. thanks for the advice!
Why not just SCP the binary you built over to the remote machine and run it there. If you have the NVIDIA driver installed on the remote machine, it will run fine. Start by SCP’ing over some pre-built examples that you know should run (like those in the ArrayFire examples or in the CUDA SDK).
I fully support John’s advice. My mention of rCUDA was in no way meant as a recommendation for your problem. Just copy the executable over from the local to the remote machine as John said.
He wants to use use Visual Studio on Windows to compile and then on the remote computer on Unix/Linux without having to open a session. There is no way this can be done easy.
Ok, if the remote machine is a Linux box then he’ll have to follow the other advice and compile there.
thanks! I shall try and do this as well. I’ll keep you posted on the details
I want to install rCUDA on client and server for remote connection between client and server.
Can any one provide me package for installation of both and steps for same.
perhaps you should google “rCUDA”, find the website where it is hosted, and start reading the instructions there.