I want to run oclNbody in our Linux GPU batch system. I use:
oclNbody --benchmark --n=10000 --noprompt
However, it seems that the benchmark-option does not work, as I get the error:
Calling InitGL... Xlib: extension "NV-GLX" missing on display "localhost:10.0". freeglut (oclNbody): Unable to create direct context rendering for window 'OpenCL for GPU Nbody Demo' This may hurt performance. !!! Error # -9999 (Unspecified Error) at line 355 , in file src/oclNbody.cpp !!!
I scanned oclNbody.cpp file and it really looks like the “benchmark” option is never read and used.
Is that a fault in the SDK example?
Or do I have to change anything?
Linux RedHat 4.1
CUDA Toolkit 3.1
Nvidia SDK 3.1
Driver version: 256.53