Bitcoin Forum

Other => Beginners & Help => Topic started by: sharpie64 on March 28, 2012, 01:54:16 AM



Title: Remotely running rpcminer-cuda fails "could not initialize cuda"
Post by: sharpie64 on March 28, 2012, 01:54:16 AM
I'm in a particular bind.  I can use Windows WMI to remotely execute processes and manage processes.  This is useful in the environment for which I intend to mine coins.

Specifically, 3 lines of python code like this can start a process on a remote system:

 
Code:
import wmi
c=wmi.WMI(computer="remotehost")
c.Win32_Process.Create(target="path\to\exe")

The miner executable and the flags I pass work when I run them as a user at the actual computer, but when running them through this method or through remote desktop they fail.  I specifically mention that they fail during remote desktop because nvidia released a doc saying RDP replaces the video driver with one that CUDA supposedly can not work with during RDP sessions.

Is there a way to initialize cuda?

Is there a way to remotely start rpcminer-cuda.exe?


Title: Re: Remotely running rpcminer-cuda fails "could not initialize cuda"
Post by: sharpie64 on March 28, 2012, 05:41:22 PM
So what do I do since I can't post this in the actual RPCminer thread?


Title: Re: Remotely running rpcminer-cuda fails "could not initialize cuda"
Post by: DeathAndTaxes on March 28, 2012, 05:46:12 PM
You can't.  With WMI or RDP the process won't have access to the host GPU.

It is failing to "initialize CUDA" because it isn't seeing any valid GPU.

You will need an alternative form of remote management.  ssh, logmein, pcanywhere, etc.


Title: Re: Remotely running rpcminer-cuda fails "could not initialize cuda"
Post by: TheStig on March 28, 2012, 06:21:46 PM
There's a free remote application called Team Viewer