Intel® Cilk™ Plus

Using Cilk reducer inside Cilker shared function

Hi I am trying to offload some parallel work to MIC using _Cilk_Shared and _Cilk_offload. 

I declare a Cilk shared function:

_Cilk_shared void somefun(int count)

 

In main I call this function using 

_Cilk_offload somefun(12) ;

inside this function everything is expected to be offloaded to MIC;

I want to declare a Cilk reducer inside somefun, so I can then use cilk_for and append to a cilk reducer list, 

but I get error:

Unable to Compile GCC

I was following the instructions from https://www.cilkplus.org/build-gcc-cilkplus, and I consistently got an error saying that "tm.h": no file or directory was found. I'm not sure what tm.h is, or what package it is included with.

I installed the following packages: GNAT (probably doesn't help), GMP, MPFR, MPC, ISL, Flex, Bison.

My configuration options were `./configure --prefix=/usr/lib/gcc/cilkplus --enable-languages="c,c++" --disable-multilib`

On Ubuntu 14.10. 

Intel® Parallel Studio XE 2016 Beta

Thank you for your interest. The Intel® Parallel Studio XE 2016 Beta program is now closed.

If you’d like to try out the official release of the Intel® Parallel Studio XE 2016, visit our product pages and grab a free 30-day evaluation copy. If you have an existing license for our tools (not Beta), you can download the latest release from the Intel® Registration Center.

We value your feedback and look forward to sharing our new products with you!

  • Developers
  • Partners
  • Professors
  • Students
  • Apple OS X*
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • Business Client
  • Server
  • .NET*
  • C#
  • C/C++
  • Fortran
  • Intel® Parallel Studio XE
  • Intel® Parallel Studio XE Composer Edition
  • Intel® Parallel Studio XE Professional Edition
  • Intel® Parallel Studio XE Cluster Edition
  • Intel® VTune™ Amplifier
  • Intel® C++ Compiler
  • Intel® Inspector
  • Intel® Advisor
  • Intel® Data Analytics Acceleration Library (Intel® DAAL)
  • Intel® Fortran Compiler
  • Intel® Cilk™ Plus
  • Intel® Trace Analyzer and Collector
  • Intel® Cluster Checker
  • Intel® Math Kernel Library
  • Intel® MPI Benchmarks
  • Intel® MPI Library
  • Intel® Threading Building Blocks
  • Intel® Integrated Performance Primitives
  • Intel® Cilk Plus Software Development Kit
  • Intel® Cluster Poisson Solver Library
  • Intel® Streaming SIMD Extensions
  • Message Passing Interface
  • Academic
  • Big Data
  • Cluster Computing
  • Debugging
  • Development Tools
  • Financial Services Industry
  • Geolocation
  • Healthcare
  • Optimization
  • Parallel Computing
  • Threading
  • Vectorization
  • Is cilk slower on Linux than on Windows?

    Currently, I am getting decent results with Intel 15 Cilk on Windows. However, the results is not nearly as good on Linux. My feeling is the overhead of a spawn is bigger on Linux. Any suggestions/comments?

    I had expected the opposite results i.e. better results on Linux. 

    I am using fairly new hardware and have tried to disable hyperthreading. Disabling hypertreading improves the result a bit but not much.

     

    cilkview and gcc 4.9 cilkplus branch on 64 bit linux

    Hello, I've downloaded the latest (I think) version fo cilkview from the cilkplus website. For some reason it is not working (even if I try to run it from the same folder, it doesn't find the program...) I'm thinking it has to do with some 32 vs 64-bit library. I exported the lib64 to no avail. Is there any kind of support for cilkview? If not, will you guys just release the source, so we can patch it? This would be great. Same with cilkprof.

    Thanks for your time.

    Subscribe to Intel® Cilk™ Plus