how to run cilk programs under valgrind?

how to run cilk programs under valgrind?

valgrind spews out lots of errors when running a null cilk_main program. is there a recommended way to suppress some of this? we are using cilk++ buil 8503 and valgrind 3.5.0 on centos 5.4.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I was not able to get Cilk++ and valgrind to work together. Cilk allocates function activations on the heap and valgrind got too confused trying to follow the stack pointer. I think changes to valgrind source would be required.

Quoting John Carr (Intel)
I was not able to get Cilk++ and valgrind to work together. Cilk allocates function activations on the heap and valgrind got too confused trying to follow the stack pointer. I think changes to valgrind source would be required.

we found that compiling with -fcilk-stub creates a serial version of the program that valgrind can deal with. now exactly what i was looking for, but good enough for now.

Leave a Comment

Please sign in to add a comment. Not a member? Join today