Intel® C++ Compiler 16.0 User and Reference Guide

Using Other Tools with Intel® Cilk™ Plus Programs

Because Intel® Cilk™ Plus programs have a stack layout that is different from the standard C and C++ conventions, tools that understand the binary program executable (including memory checkers such as valgrind and code coverage tools) may not work with the parallel Intel® Cilk™ Plus programs. Often, it is sufficient to run your program using only one worker (by setting the CILK_NWORKERS environment variable to 1). If that doesn't work, you can use such tools on the serialization of the Intel® Cilk™ Plus program.