30 January 2018
Barcelona BSC Campus Nord
CET timezone

The registration to this course will open in September. Please, bring your own laptop. All the PATC courses at BSC are free of charge.

Course convener: Rosa Badia

Objectives: The objectives of this course are COMPSs is a programming model which is able to exploit the inherent concurrency of sequential applications and execute them in a transparent manner to the application developer in distributed computing platform. This is achieved by annotating part of the codes as tasks, and building at execution a task-dependence graph based on the actual data used consumed/produced by the tasks. The COMPSs runtime is able to schedule the tasks in the computing nodes and take into account facts like data locality and the different nature of the computing nodes in case of heterogeneous platforms. Additionally, recently COMPSs has been enhanced with the possibility of coordinating Web Services as part of the applications. COMPSs supports Java, C/C++ and Python as programming languages.

Learning Outcomes:  In the course, the COMPSs syntax, programming methodology and an overview of the runtime internals will be given. The attendees will get a first lesson about programming with COMPSs that will enable them to start programming with this framework.

A hands-on with simple introductory exercises will be also performed. The students who finish this course will be able to develop simple COMPSs applications and to run them both in a local resource and in a distributed platform (initially in a private cloud)

Level: for trainees with some theoretical and practical knowledge.


Session 1 / 9am – 11am: Introduction to COMPSs

Programming mode

  • COMPSs programming model overview
  • Steps when developing a COMPSs application
  • Syntax in Java and Python

COMPSs runtime system

  • Overview of COMPss runtime
  • COMPSs runtime features

Session 1 / 11:30am – 1pm: Application examples

  • Sample codes in Java and Python
  • Demos
  • Demos of the graphical interface (IDE)

Lunch Break 1pm to 2pm

Session 2 / 2 pm- 3:30 pm: Hands-on I

  • Virtual Machine Setup
  • Sample application overview
  • Exercise with an incomplete sample code

Session 2 / 4 pm- 6 pm: Hands-on II

  • Configuration, compilation & execution of sample codes
  • Monitoring, debugging & tracing a COMPSs application
  • Final notes

Free hands-on: Students use COMPSs environment with prepared examples, except in the free hands-on session were they can bring their own application.



Starts 30 Jan 2018 09:00
Ends 30 Jan 2018 18:00
Barcelona BSC Campus Nord

For further details and practical info such as local transport and venue please visit the local course pages for PATC@BSC: http://www.bsc.es/patc