CUDA being related to using graphics card to run code I would suggest that 
if what Richard suggested doesn't work that you look at the option to run 
service with "allow interaction with the desktop" enabled.
Otherwise you may need to change the slave launch method so that windows 
auto-logs in then run the JNLP slave launcher rather than running as a 
service.
If you are only using a single master and no slave (which is not 
recommended) then you can acheive similar by running jenkins form the 
command line (a combination of auto-logon and startup script will surfice).

/James



On Thursday, 26 March 2015 09:35:44 UTC, Richard Bywater wrote:
>
> Don't even know what CUDA is but I would check the %PATH% variable that is 
> set at the time the Jenkins job runs. Doing a "echo %PATH%" step in your 
> build job should give you something to compare with when you have a manual 
> command line.
>
> Richard.
>
> On Thu, 26 Mar 2015 at 22:14 Chikhare <[email protected] <javascript:>> 
> wrote:
>
>> Hi,
>>
>> I have a jenkins server under windows 7 64 bits and a CUDA capable device.
>>
>> I set up a job to perform a google test who execute unit tests on CUDA 
>> device. When running under Jenkins, the google test fails saying 
>> "insufficient version of CUDA ..." which means that the unit tests can't 
>> use the CUDA device.
>>
>> Jekins is launched as a service with a specific user account. If I 
>> execute manually this test (command line) under the same user account, the 
>> unit test performs successfully.
>>
>> I have the same problem if Jenkins is a slave.
>>
>> Someone has any clue ?
>>
>> Regards.
>>
>> Arezki.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/ac6a80df-a64f-4835-8362-e52a827ed3a9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/ac6a80df-a64f-4835-8362-e52a827ed3a9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b369f813-de96-44a9-8c5a-3dff6989a977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to