SlideShare a Scribd company logo
Starting Cilk™ Development on Windows 
A small guide by Mazen Abdulaziz < > 
Changelog Date Change Summary 
12/12/2014 
Document created 
1 Introduction 
This document will guide you through preparing your Windows environment to start developing C/C++ applications using the Intel Cilk™ extensions. 
2 Prerequisites 
The following software packages are required in order to use Cilk™: 
 Microsoft Visual Studio 2010* or above, with .NET framework 4.0 or above. 
 One of the following: 
o Intel Parallel Studio Composer Edition 2013 or above. A trial version can be obtained from this link (choose Windows OS, then Composer Edition for C++). 
o Intel Parallel Studio Professional Edition 2013 or above. 
o Intel Parallel Studio Cluster Edition 2013 or above. 
* Note that for Visual Studio 2010, you need to update the .NET framework to version 4 or 4.5: 
1. Download .NET framework version 4.0 from this link. 
2. Download .NET framework version 4.5 from this link. 
3 Installation Instructions 
Now that you have all the requirements, you can start the installation process in the following order: 
1. Install Visual Studio, making sure to include Visual C++ in the installation options. 2. If your version of Visual Studio is 2010, then install .NET framework 4.0 and 4.5. 
3. Install Intel Parallel Studio. The installation wizard will ask you at some point to choose Visual Studio integration target. Choose all that applies. For example, if you have Visual Studio 2012 on your machine, choose to integrate with it, and continue installation:
4. You’re all set! 
4 Your First Cilk™ Project 
Let’s create our first Cilk-enabled project in Visual Studio. In this tutorial, I’ll be using Visual Studio 2013. However, these instructions should apply similarly to older versions of Visual Studio: 
1. Run Visual Studio. 
2. Select File > New > Project: 
3. From Visual C++ template, choose Win32 Console Application, give a name to the project, then hit OK:
4. The Win32 Application Wizard will be displayed, click Next. 
5. Choose “Empty project”, then click Finish: 
6. Choose Project > Intel (…) > Use Intel C++:
7. From the Solution Explorer view, right click on the Source Files folder, choose Add > New Item: 
8. Choose C++ File (.cpp), give it a name then hit Add:
9. Write the following code (copy/paste): #include <iostream> #include <cilk/cilk.h> int main() { int sum = 0; // The following for loop will be parallelized cilk_for(int i = 0; i <= 10000; i++) { sum += i; } std::cout << sum << "n"; return 0; } 
10. Run the code using Ctrl + F5: 
Congratulations, you can now make a better world by coding faster applications!

More Related Content

What's hot

Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
IT eLearn
 
Microsoft Virtual Academy Transcript
Microsoft Virtual Academy TranscriptMicrosoft Virtual Academy Transcript
Microsoft Virtual Academy TranscriptEdward Gilligan III.
 
PowerPoint Lesson 1
PowerPoint Lesson 1PowerPoint Lesson 1
PowerPoint Lesson 1Linda Bodrie
 
Transcript_May29_2015
Transcript_May29_2015Transcript_May29_2015
Transcript_May29_2015Randy Conrad
 
Windows Communication Foundation (WCF) programming using Visual Studio
Windows Communication Foundation (WCF) programming using Visual StudioWindows Communication Foundation (WCF) programming using Visual Studio
Windows Communication Foundation (WCF) programming using Visual Studio
Dharma Raju
 
Using Slideshare in Wordpress
Using Slideshare in WordpressUsing Slideshare in Wordpress
Using Slideshare in Wordpress
Richard Hodgkiss
 
2018 What's New in Visual Studio Code 1.25?
2018 What's New in Visual Studio Code 1.25?2018 What's New in Visual Studio Code 1.25?
2018 What's New in Visual Studio Code 1.25?
Aegis Software Canada
 
Getting Started with Visual Studio 2015 and C# 6.0
Getting Started with Visual Studio 2015 and C# 6.0 Getting Started with Visual Studio 2015 and C# 6.0
Getting Started with Visual Studio 2015 and C# 6.0
WinWire Technologies Inc
 
Asp 2-createaspnetmvc
Asp 2-createaspnetmvcAsp 2-createaspnetmvc
Asp 2-createaspnetmvc
Fajar Baskoro
 
Azure web performance test
Azure web performance testAzure web performance test
Azure web performance test
Cheah Eng Soon
 
JUnit and MUnit Set Up In Anypoint Studio
JUnit and MUnit Set Up In Anypoint StudioJUnit and MUnit Set Up In Anypoint Studio
JUnit and MUnit Set Up In Anypoint Studio
Sudha Ch
 
How uploading a presentation on the blog?
How uploading a presentation on the blog?How uploading a presentation on the blog?
How uploading a presentation on the blog?pripri
 
Everyone print 3.3 New Features
Everyone print 3.3 New FeaturesEveryone print 3.3 New Features
Everyone print 3.3 New Features
EveryonePrint
 
Autocad 2013 installation
Autocad 2013 installationAutocad 2013 installation
Autocad 2013 installation
Gulshan Kumar
 
Coded ui - lesson 3 - case study - calculator
Coded ui - lesson 3 - case study - calculatorCoded ui - lesson 3 - case study - calculator
Coded ui - lesson 3 - case study - calculator
Omer Karpas
 
Deployment options for mule applications
Deployment options for mule applicationsDeployment options for mule applications
Deployment options for mule applications
sivachandra mandalapu
 
eDocs importing a Adobe Acrobat document from menu option
eDocs importing a Adobe Acrobat document from menu   optioneDocs importing a Adobe Acrobat document from menu   option
eDocs importing a Adobe Acrobat document from menu optionMohammed Golam
 

What's hot (19)

2310 b 02
2310 b 022310 b 02
2310 b 02
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
 
Microsoft Virtual Academy Transcript
Microsoft Virtual Academy TranscriptMicrosoft Virtual Academy Transcript
Microsoft Virtual Academy Transcript
 
PowerPoint Lesson 1
PowerPoint Lesson 1PowerPoint Lesson 1
PowerPoint Lesson 1
 
Transcript_May29_2015
Transcript_May29_2015Transcript_May29_2015
Transcript_May29_2015
 
Windows Communication Foundation (WCF) programming using Visual Studio
Windows Communication Foundation (WCF) programming using Visual StudioWindows Communication Foundation (WCF) programming using Visual Studio
Windows Communication Foundation (WCF) programming using Visual Studio
 
Using Slideshare in Wordpress
Using Slideshare in WordpressUsing Slideshare in Wordpress
Using Slideshare in Wordpress
 
2018 What's New in Visual Studio Code 1.25?
2018 What's New in Visual Studio Code 1.25?2018 What's New in Visual Studio Code 1.25?
2018 What's New in Visual Studio Code 1.25?
 
Getting Started with Visual Studio 2015 and C# 6.0
Getting Started with Visual Studio 2015 and C# 6.0 Getting Started with Visual Studio 2015 and C# 6.0
Getting Started with Visual Studio 2015 and C# 6.0
 
Asp 2-createaspnetmvc
Asp 2-createaspnetmvcAsp 2-createaspnetmvc
Asp 2-createaspnetmvc
 
Android course (lecture2)
Android course (lecture2)Android course (lecture2)
Android course (lecture2)
 
Azure web performance test
Azure web performance testAzure web performance test
Azure web performance test
 
JUnit and MUnit Set Up In Anypoint Studio
JUnit and MUnit Set Up In Anypoint StudioJUnit and MUnit Set Up In Anypoint Studio
JUnit and MUnit Set Up In Anypoint Studio
 
How uploading a presentation on the blog?
How uploading a presentation on the blog?How uploading a presentation on the blog?
How uploading a presentation on the blog?
 
Everyone print 3.3 New Features
Everyone print 3.3 New FeaturesEveryone print 3.3 New Features
Everyone print 3.3 New Features
 
Autocad 2013 installation
Autocad 2013 installationAutocad 2013 installation
Autocad 2013 installation
 
Coded ui - lesson 3 - case study - calculator
Coded ui - lesson 3 - case study - calculatorCoded ui - lesson 3 - case study - calculator
Coded ui - lesson 3 - case study - calculator
 
Deployment options for mule applications
Deployment options for mule applicationsDeployment options for mule applications
Deployment options for mule applications
 
eDocs importing a Adobe Acrobat document from menu option
eDocs importing a Adobe Acrobat document from menu   optioneDocs importing a Adobe Acrobat document from menu   option
eDocs importing a Adobe Acrobat document from menu option
 

Viewers also liked

Paralela10
Paralela10Paralela10
Paralela10
Abraham Zamudio
 
Compilador de fortran h para c y pascal
Compilador de fortran h para c y pascalCompilador de fortran h para c y pascal
Compilador de fortran h para c y pascalGrace Laguna
 
IBM XL Compilers Performance Tuning 2016-11-18
IBM XL Compilers Performance Tuning 2016-11-18IBM XL Compilers Performance Tuning 2016-11-18
IBM XL Compilers Performance Tuning 2016-11-18Yaoqing Gao
 
compilador de Fortran H, para C y Pascal
compilador de Fortran H, para C y Pascalcompilador de Fortran H, para C y Pascal
compilador de Fortran H, para C y Pascaljuniortroya
 
Scale Up Performance with Intel® Development
Scale Up Performance with Intel® DevelopmentScale Up Performance with Intel® Development
Scale Up Performance with Intel® Development
Intel IT Center
 
Computo en paralelo con OpenMP y OpenMPI
Computo en paralelo con OpenMP y OpenMPIComputo en paralelo con OpenMP y OpenMPI
Computo en paralelo con OpenMP y OpenMPI
Alfredo Humberto Escalante Godinez
 
Curso de-fortran
Curso de-fortranCurso de-fortran
Curso de-fortran
Diana Rodriguez
 
Gpu workshop cluster universe: scripting cuda
Gpu workshop cluster universe: scripting cudaGpu workshop cluster universe: scripting cuda
Gpu workshop cluster universe: scripting cuda
Ferdinand Jamitzky
 
Paralela3
Paralela3Paralela3
Paralela3
Abraham Zamudio
 
Intel tools to optimize HPC systems
Intel tools to optimize HPC systemsIntel tools to optimize HPC systems
Intel tools to optimize HPC systems
Intel Software Brasil
 
PROGRAMACIÓN PARALELA
PROGRAMACIÓN PARALELAPROGRAMACIÓN PARALELA
PROGRAMACIÓN PARALELA
Raquel Solano
 
Программно-конфигурируемые технологии. CISEG, Богдан Вакулюк
Программно-конфигурируемые технологии. CISEG, Богдан ВакулюкПрограммно-конфигурируемые технологии. CISEG, Богдан Вакулюк
Программно-конфигурируемые технологии. CISEG, Богдан ВакулюкBogdan Vakulyuk
 
Identity Protection for the Digital Age
Identity Protection for the Digital AgeIdentity Protection for the Digital Age
Identity Protection for the Digital Age
Intel IT Center
 
Seminar Fortran and Julia
Seminar Fortran and JuliaSeminar Fortran and Julia
Seminar Fortran and Julia
Krissia Zawadzki
 

Viewers also liked (16)

Paralela10
Paralela10Paralela10
Paralela10
 
Integracion
IntegracionIntegracion
Integracion
 
Compilador de fortran h para c y pascal
Compilador de fortran h para c y pascalCompilador de fortran h para c y pascal
Compilador de fortran h para c y pascal
 
IBM XL Compilers Performance Tuning 2016-11-18
IBM XL Compilers Performance Tuning 2016-11-18IBM XL Compilers Performance Tuning 2016-11-18
IBM XL Compilers Performance Tuning 2016-11-18
 
Intel
IntelIntel
Intel
 
compilador de Fortran H, para C y Pascal
compilador de Fortran H, para C y Pascalcompilador de Fortran H, para C y Pascal
compilador de Fortran H, para C y Pascal
 
Scale Up Performance with Intel® Development
Scale Up Performance with Intel® DevelopmentScale Up Performance with Intel® Development
Scale Up Performance with Intel® Development
 
Computo en paralelo con OpenMP y OpenMPI
Computo en paralelo con OpenMP y OpenMPIComputo en paralelo con OpenMP y OpenMPI
Computo en paralelo con OpenMP y OpenMPI
 
Curso de-fortran
Curso de-fortranCurso de-fortran
Curso de-fortran
 
Gpu workshop cluster universe: scripting cuda
Gpu workshop cluster universe: scripting cudaGpu workshop cluster universe: scripting cuda
Gpu workshop cluster universe: scripting cuda
 
Paralela3
Paralela3Paralela3
Paralela3
 
Intel tools to optimize HPC systems
Intel tools to optimize HPC systemsIntel tools to optimize HPC systems
Intel tools to optimize HPC systems
 
PROGRAMACIÓN PARALELA
PROGRAMACIÓN PARALELAPROGRAMACIÓN PARALELA
PROGRAMACIÓN PARALELA
 
Программно-конфигурируемые технологии. CISEG, Богдан Вакулюк
Программно-конфигурируемые технологии. CISEG, Богдан ВакулюкПрограммно-конфигурируемые технологии. CISEG, Богдан Вакулюк
Программно-конфигурируемые технологии. CISEG, Богдан Вакулюк
 
Identity Protection for the Digital Age
Identity Protection for the Digital AgeIdentity Protection for the Digital Age
Identity Protection for the Digital Age
 
Seminar Fortran and Julia
Seminar Fortran and JuliaSeminar Fortran and Julia
Seminar Fortran and Julia
 

Similar to Starting cilk development on windows

openGl configuration_in visual studio 2019.pptx
openGl configuration_in visual studio 2019.pptxopenGl configuration_in visual studio 2019.pptx
openGl configuration_in visual studio 2019.pptx
MuhammadUmer787617
 
How to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptxHow to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptx
MSivani
 
Cloud: Publish First Web Application to Azure Using Visual Studio
Cloud: Publish First Web Application to Azure Using Visual StudioCloud: Publish First Web Application to Azure Using Visual Studio
Cloud: Publish First Web Application to Azure Using Visual Studio
Marvin Heng
 
C installation guide
C installation guideC installation guide
C installation guide
vikas mishra
 
Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoMamgmo Magnda
 
Android Application Development Environment Setup
Android Application Development Environment SetupAndroid Application Development Environment Setup
Android Application Development Environment Setup
Ian Pinto
 
Fast DDS Hello World in Windows
Fast DDS Hello World in WindowsFast DDS Hello World in Windows
Fast DDS Hello World in Windows
eProsima
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
Aravindharamanan S
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
Aravindharamanan S
 
W1.pptx
W1.pptxW1.pptx
Android Studio Overview
Android Studio OverviewAndroid Studio Overview
Android Studio Overview
Salim Hosen
 
Getting started with code composer studio v4 for tms320 f2812
Getting started with code composer studio v4 for tms320 f2812Getting started with code composer studio v4 for tms320 f2812
Getting started with code composer studio v4 for tms320 f2812Pantech ProLabs India Pvt Ltd
 
Develop android application with mono for android
Develop android application with mono for androidDevelop android application with mono for android
Develop android application with mono for androidNicko Satria Consulting
 
Membangun Desktop App
Membangun Desktop AppMembangun Desktop App
Membangun Desktop App
Fajar Baskoro
 
Getting started with mono game on visual studio 2019
Getting started with mono game on visual studio 2019Getting started with mono game on visual studio 2019
Getting started with mono game on visual studio 2019
Simon Jackson
 
web application.pptx
web application.pptxweb application.pptx
web application.pptx
vishal choudhary
 
How to Work with Dev-C++
How to Work with Dev-C++How to Work with Dev-C++
How to Work with Dev-C++
Deepak Jha
 
Android Development Tools and Installation
Android Development Tools and InstallationAndroid Development Tools and Installation
Android Development Tools and Installation
Prof. Erwin Globio
 
Android app upload
Android app uploadAndroid app upload
Migrating Unity3D projects to Windows 8
Migrating Unity3D projects to Windows 8Migrating Unity3D projects to Windows 8
Migrating Unity3D projects to Windows 8
282productions
 

Similar to Starting cilk development on windows (20)

openGl configuration_in visual studio 2019.pptx
openGl configuration_in visual studio 2019.pptxopenGl configuration_in visual studio 2019.pptx
openGl configuration_in visual studio 2019.pptx
 
How to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptxHow to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptx
 
Cloud: Publish First Web Application to Azure Using Visual Studio
Cloud: Publish First Web Application to Azure Using Visual StudioCloud: Publish First Web Application to Azure Using Visual Studio
Cloud: Publish First Web Application to Azure Using Visual Studio
 
C installation guide
C installation guideC installation guide
C installation guide
 
Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul Yao
 
Android Application Development Environment Setup
Android Application Development Environment SetupAndroid Application Development Environment Setup
Android Application Development Environment Setup
 
Fast DDS Hello World in Windows
Fast DDS Hello World in WindowsFast DDS Hello World in Windows
Fast DDS Hello World in Windows
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
 
W1.pptx
W1.pptxW1.pptx
W1.pptx
 
Android Studio Overview
Android Studio OverviewAndroid Studio Overview
Android Studio Overview
 
Getting started with code composer studio v4 for tms320 f2812
Getting started with code composer studio v4 for tms320 f2812Getting started with code composer studio v4 for tms320 f2812
Getting started with code composer studio v4 for tms320 f2812
 
Develop android application with mono for android
Develop android application with mono for androidDevelop android application with mono for android
Develop android application with mono for android
 
Membangun Desktop App
Membangun Desktop AppMembangun Desktop App
Membangun Desktop App
 
Getting started with mono game on visual studio 2019
Getting started with mono game on visual studio 2019Getting started with mono game on visual studio 2019
Getting started with mono game on visual studio 2019
 
web application.pptx
web application.pptxweb application.pptx
web application.pptx
 
How to Work with Dev-C++
How to Work with Dev-C++How to Work with Dev-C++
How to Work with Dev-C++
 
Android Development Tools and Installation
Android Development Tools and InstallationAndroid Development Tools and Installation
Android Development Tools and Installation
 
Android app upload
Android app uploadAndroid app upload
Android app upload
 
Migrating Unity3D projects to Windows 8
Migrating Unity3D projects to Windows 8Migrating Unity3D projects to Windows 8
Migrating Unity3D projects to Windows 8
 

Recently uploaded

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
abdulrafaychaudhry
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 

Recently uploaded (20)

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 

Starting cilk development on windows

  • 1. Starting Cilk™ Development on Windows A small guide by Mazen Abdulaziz < > Changelog Date Change Summary 12/12/2014 Document created 1 Introduction This document will guide you through preparing your Windows environment to start developing C/C++ applications using the Intel Cilk™ extensions. 2 Prerequisites The following software packages are required in order to use Cilk™:  Microsoft Visual Studio 2010* or above, with .NET framework 4.0 or above.  One of the following: o Intel Parallel Studio Composer Edition 2013 or above. A trial version can be obtained from this link (choose Windows OS, then Composer Edition for C++). o Intel Parallel Studio Professional Edition 2013 or above. o Intel Parallel Studio Cluster Edition 2013 or above. * Note that for Visual Studio 2010, you need to update the .NET framework to version 4 or 4.5: 1. Download .NET framework version 4.0 from this link. 2. Download .NET framework version 4.5 from this link. 3 Installation Instructions Now that you have all the requirements, you can start the installation process in the following order: 1. Install Visual Studio, making sure to include Visual C++ in the installation options. 2. If your version of Visual Studio is 2010, then install .NET framework 4.0 and 4.5. 3. Install Intel Parallel Studio. The installation wizard will ask you at some point to choose Visual Studio integration target. Choose all that applies. For example, if you have Visual Studio 2012 on your machine, choose to integrate with it, and continue installation:
  • 2. 4. You’re all set! 4 Your First Cilk™ Project Let’s create our first Cilk-enabled project in Visual Studio. In this tutorial, I’ll be using Visual Studio 2013. However, these instructions should apply similarly to older versions of Visual Studio: 1. Run Visual Studio. 2. Select File > New > Project: 3. From Visual C++ template, choose Win32 Console Application, give a name to the project, then hit OK:
  • 3. 4. The Win32 Application Wizard will be displayed, click Next. 5. Choose “Empty project”, then click Finish: 6. Choose Project > Intel (…) > Use Intel C++:
  • 4. 7. From the Solution Explorer view, right click on the Source Files folder, choose Add > New Item: 8. Choose C++ File (.cpp), give it a name then hit Add:
  • 5. 9. Write the following code (copy/paste): #include <iostream> #include <cilk/cilk.h> int main() { int sum = 0; // The following for loop will be parallelized cilk_for(int i = 0; i <= 10000; i++) { sum += i; } std::cout << sum << "n"; return 0; } 10. Run the code using Ctrl + F5: Congratulations, you can now make a better world by coding faster applications!