Scripting at the speed of Compiled Code: Vectorisation


COVID-19 Essential Service

NeSI remains open for normal business during the level 4 shutdown. Our team is working remotely and remain available during this time.

NeSI is a supplier of essential services to research teams working on the COVID-19 response across NZ. If you're involved in this work, please get in touch and we will do our best to assist in any way possible.

For more information see: Accessing NeSI platforms and support during COVID-19 Alert Level 4
 

 

You may be very familiar with ‘for’ loops and ‘while’ loops. Quite often, they are the first things we learn about on our coding journey.  Surprisingly, these humble loops could be slowing down the jobs you run on NeSI! 

Luckily, there is a trick you can learn to address loop inefficiencies in your scripted code. Come along to NeSI’s last training webinar of 2019 where Alex Pletzer, a member of our Computational Science team, will demonstrate how you can replace loops with a single array operation to speed up your code-- a technique known as vectorisation.

In this 1-hour webinar Alex will:

  • Describe what vectorisation is and how it can speed up your code
  • Explain what code sections make the best candidates for vectorisation 
  • Demonstrate the increased efficiency that vectorisation provides

This webinar is geared towards novice and advanced coders who plan on coding in a scripting language (Python, R, MATLAB, Julia, etc). Whether you are new to HPC, have HPC experience but mostly code in compiled languages, or something in between, this webinar will equip you with the knowledge you need to write scripted code that is more efficient.  There are no prerequisites for attending and all are welcome.

 

To Register for this webinar click here

Event Date: 
Thursday, November 28, 2019 - 13:00 to 14:00