skip to navigation skip to content
Fri 17 Mar 2017
14:15 - 17:00

Venue: Phoenix Teaching Room

Provided by: University Information Services


Booking

Bookings cannot be made on this event (Event is in the past).


Other dates:


Thu 5 Mar 2015



Register interest
Register your interest - if you would be interested in additional dates being scheduled.


Booking / availability

Python: Checkpointing
Prerequisites

Fri 17 Mar 2017

Description

This course is part of the Scientific Computing series.

This course introduces the concept of checkpointing - the saving of a program's state while the program is running, such that the program can be restarted from that saved state - and describes how to implement application-level checkpointing for certain types of scientific programming tasks in Python. Attendees will benefit most from this course if they have a clear idea of the types of task which they wish to checkpoint prior to attending.

Prerequisites
  • Prior attendance at one of the "PPython for Absolute Beginners" or "Python for Programmers" courses or equivalent experience.
  • Prior attendance of the "Python: Further Topics" course or equivalent experience.
  • Those attending should be able to use a plain text editor (e.g. emacs, gedit, pico, vi) on a Unix system as might be obtained from the Emacs or Vi introductory courses.
Sessions

Number of sessions: 1

# Date Time Venue Trainer
1 Fri 17 Mar 2017   14:15 - 17:00 14:15 - 17:00 Phoenix Teaching Room Bruce Beckles
Topics covered
  • What is checkpointing?
  • Importance of checkpointing
  • Designing programs to checkpoint
  • Implementing checkpointing in Python
  • Use of Python's pickle and cPickle modules
  • Testing your implementation of checkpointing
Format

Presentation/demonstration with practical exercises.

System requirements

Python v. 3 on PWF Linux

Notes
  • This course is unsuitable for those who have no experience of Python.
  • Whilst not a prerequisite, those with little programming experience may benefit from first attending the "Programming Concepts for Beginners" course.
  • Those attending this course may also be interested in the "Python: Numerical Programming" course.
Duration

One half day session

Themes

Booking / availability

Override user: