Hi!
I have written a simple programe given below , with the help
of this I want to know the capability of GPU on remote machine.
its running fine on remote machine giving out put Capability 3.5
but when I am trying to get output on server machine with help of
check_nrpe I am getting nothing ,unable to read output. ,my NRPE
configuration is ok.
I am not getting why I am unable to get output on server
Please help me.
#include <stdio.h>
// Print device properties
void printDevProp(cudaDeviceProp devProp)
{
printf("Capability,%d.%d\n",devProp.major,devProp.minor);
return;
}
int main()
{
int devCount;
cudaGetDeviceCount(&devCount);
for (int i = 0; i < devCount; ++i)
{
// Get device properties
cudaDeviceProp devProp;
cudaGetDeviceProperties(&devProp, i);
printDevProp(devProp);
}
return 0;
}
--
Thanks&Regards
Nagendra Verma
Not getting output from remote machine
-
- Posts: 8
- Joined: Sat Apr 20, 2013 12:30 am
Re: Not getting output from remote machine
Can you try running the check from the cli as user "nagios"?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.