I use Intel Parallel Studio XE 2011 .It says it supports Cilk.When I include a cilk_for statement in the code it does not compile.It says symbol undefined.I have included the cilk.h at the beginning of my code and also under include directories I put the location of cilk.h (C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\include\cilk).Can someone tell me what am I missing? How can i successfully compile my code.
Cannot compile code using Intel Cilk
1.7k Views Asked by Manish At
1
There are 1 best solutions below
Related Questions in VISUAL-STUDIO-2010
- How would I be able to use a file in visual studio project on any computer?
- Which is the most advantageous strategy for creating a tweaked Visual Studio Project Template?
- ASP.NET textbox textchange with same text input
- windows phone emulator of visual studio 2010
- Reference to an object magically disaprears? STRANGE
- Implementing a custom header bar for chromiumembedded
- Aldebaran Nao robot simulator without a real robot
- windows form application to work with Oracle without installing Oracle client
- Referenced DLL is not found when running application from VS
- Records won't update in datagridview
- Writing to text file with StreamWriter. File used by another process
- Double templated function overload fails
- Make input to Web Service field optional not required
- How to update label from callback function in code behind?
- display .NET code error instead of HTTP 500
Related Questions in PARALLEL-PROCESSING
- Async vs Horizontal scaling
- Scattered indices in MPI
- How to perform parallel processes for different groups in a folder?
- Julia parallel programming - Making existing function available to all workers
- Running scala futures somewhat in parallel
- running a thread in parallel
- How to make DGEMM execute sequentially instead of in parallel in Matlab Mex Function
- Running time foreach package
- How to parallelize csh script with nested loop
- SSIS ETL parallel extraction from a AS400 file
- Fill an array with spmd in Matlab
- Distribute lines of code to workers
- Java 8 parallelStream for concurrent Database / REST call
- OutOfRangeException with Parallel.For
- R Nested Foreach Parallelization not Working
Related Questions in INTEL
- How can I compile *without* various instruction sets enabled?
- Restrict MKL optimized scipy to single thread
- Why is genymotion running so slowly?
- Intel VT-X not found
- Intel Edison with Kinect
- Formatting a MicroSD card within OSX
- Can I run Cuda or OpenCl on Intel processor graphics I7 (3rd or 4rd generation)
- Contrast reduction - intel x86
- x86 assembly fading bmp with linear interpolation
- Why I'm getting "error expected an expression" while compile cilk program
- Intel HAXM's intelhaxm-android.exe is not running
- Cordova - Media Plugin - Intel XDK - IOS build fail
- intel xdk: my links are not working
- running a python script that requires matplotlib gives: ImportError: undefined symbol: __libm_sse2_sincos
- To which cache a function pointer belongs to?
Related Questions in CILK
- Why I'm getting "error expected an expression" while compile cilk program
- Compiling Cilkplus-GCC on CentOS
- Trying to run cilkscreen/cilkview on gcc with cilkplus
- Is it possible to use `__sec_implicit_index` inside an `if` block statement using Cilk Plus Array Notation?
- Assigning tasks to threads in Cilk and assigning threads to NUMA nodes
- Cilk Program has different speeds
- Internal and external parallelism
- Cilk installation error on Ubuntu
- cilk.h: No such file or directory
- Statically link cilk library on Mac with gcc
- Multithreading in LLVM
- How to use cilk_reducer variable to write data into a file without race condition(#opencilk)
- Is Intel Xeon Phi used intrinsics get good performance than Auto-Vectorization?
- How Should I Implement Cilk Parallelism with a Recursive Scan Algorithm?
- Installing g++ = 7.5.0 with support for Cilk Plus
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
My guess is that you are not picking up the cilk header correctly. Try using the cilk keywords (_Cilk_spawn, _Cilk_sync, and _Cilk_for) instead and see if that works without the header. If it does, at least you know that the Cilk stuff in the compiler is working and it is the header. Then try using "#include
<cilk/cilk.h>" and using cilk_for to see if it picks up the header correctly. You shouldn't have to be specifying the location of the cilk.h file yourself if everything is set up correctly. Are you doing this on the command line or using Microsoft's Visual Studio? If you are using MS VS are you sure that you are specifying to use the Intel compiler?