- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Im using Ubuntu 14.04 & eclipse & intel compiler v 15
I have 2 same cilk programs (one with as c program and the other as cpp program).
I can compile it with icc (without any problem)
But when I'm using icpc (cpp program) I'm getting errors: symbol _cilk_spawn could not be resolved
In those same 2 programs Im not using any flags.
What is the different with cpp program, which I cant compile
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're getting a run time error associated with not finding cilk runtime shared object, the suspicion would be that you neglected to source the compilervars script to set up LD_LIBRARY_PATH or take some alternative action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why do I need to update LD_LIBRARY_PATH is I cant compile it via icc without any change ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Supposing that you built with -static-intel or -static, cilk runtime may be the only shared object you require from the icc library, so you would require it only to support those cilk functions. Parallel runtime libraries are the main exception to the rule of icc providing both static and dynamic versions of its libraries.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page