I just wanted to report an error I get when I try to run the PAPI CUDA component test Helloword, that was built using PAPI from CVS and using the newest CUDA toolkit 4.1
I have 2 machines (both under Ubuntu 11.04) and I managed to make the Papi/CUDA component running only when using CUDA toolkit 4.0; here are the differences between the 2 machines:
- machine 1: driver 270.41.19; toolkit 4.0, PAPI 4.2:
everything is working well; example in src/components/cuda/testHelloworld output is:
- Code: Select all
DEVICE USED: GeForce GT 430 (0)
PAPI_VERSION : 4 2 0
Name PAPI_FP_OPS --- Code: 80000066
END: Hello World!
10892 --> PAPI_FP_OPS
in fact I can also build Tau, and everything is fine.
- machine 2: driver 285.05.23 (needed to install toolkit 4.1), CUDA toolkit 4.1 and PAPI-CVS (needed to build against cuda 4.1)
CUDA component helloworld is not working; here is the output
- Code: Select all
DEVICE USED: GeForce GTX 560 Ti (0)
PAPI_VERSION : 4 2 0
Name PAPI_FP_OPS --- Code: 80000066
PAPI_add_events failed
PAPI_start failed
END: Hello World!
PAPI_stop failed
0 --> PAPI_FP_OPS
So it fails when calling 'PAPI_add_events';
On machine 2, I have also tried to run the same test, but build from PAPI-4.2 using cuda toolkit 4.0, and it fails the same way; so I wonder if it could be related to Nvidia driver ?
I would like to know what are the configurations (Nvidia driver, etc) that are known to make PAPI-CVS + CUDA 4.1 working together.
Best regards,
Pierre Kestener.
