Not getting output from remote machine
Posted: Wed Jan 15, 2014 6:39 am
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
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