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

  • Développeurs
  • Partenaires
  • Professeurs
  • Étudiants
  • Apple OS X*
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • Client d’entreprise
  • Serveur
  • .NET*
  • C#
  • C/C++
  • Fortran
  • Intel® Parallel Studio XE
  • Intel® Parallel Studio XE Cluster Edition
  • Intel® Parallel Studio XE Composer Edition
  • Intel® Parallel Studio XE Professional Edition
  • Compilateur Intel® C++
  • Intel® Advisor XE
  • Compilateur Intel® Fortran
  • Intel® Cilk™ Plus
  • Collecteur et analyseur de traces Intel®
  • Bibliothèque Intel® Math Kernel Library
  • Intel® MPI Benchmarks
  • Bibliothèque Intel® MPI Library
  • Intel® Threading Building Blocks
  • Bibliothèque Intel® Integrated Performance Primitives (IPP)
  • Bibliothèque Intel® Data Analytics Acceleration
  • Intel® Cluster Checker
  • Kit de développement logiciel Intel® Cilk Plus
  • Bibliothèque Intel® Cluster Poisson Solver Library
  • Intel® Inspector
  • Intel® VTune™ Amplifier
  • Extensions Intel® Streaming SIMD
  • Interface de transmission de messages
  • Enseignement
  • Données massives
  • Informatique en cluster
  • Débogage
  • Outils de développement
  • Secteur des services financiers
  • Géolocalisation
  • Soins de santé
  • Optimisation
  • Informatique parallèle
  • Parallélisation
  • Vectorisation
  • 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.

    S’abonner à Intel® Cilk™ Plus