Intel® C++ Compiler 18.0 Developer Guide and Reference

Using Other Tools with Intel® Cilk™ Plus Programs

Intel® Cilk™ Plus is a deprecated feature. Use OpenMP* or Intel® Threading Building Blocks instead. For more information see Migrate Your Application to use OpenMP* or Intel® TBB Instead of Intel® Cilk™ Plus.

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.