skip to navigation skip to content
Tue 9 Nov, Thu 11 Nov, Fri 12 Nov 2010
09:30 - 13:00

Venue: Room GL.04 (CMS, Wilberforce Road)

Provided by: University Computing Service


Booking

Bookings cannot be made on this event (Programme is completed).


Other dates:

No more events

[ Show past events ]



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


Booking / availability

Unix: Building, Installing and Running Software
Prerequisites

Tue 9 Nov, Thu 11 Nov, Fri 12 Nov 2010

Description

This course is part of the Scientific Computing series.

It is common for a student or researcher to find a piece of software or to have one thrust upon them by a supervisor which they must then build, install and use. It is a myth that any of this requires system privilege. This course demonstrates the building, installation and use of typical software ranging from trivially easy examples (the "configure, make, install" scheme) through to the evils of badly written Makefiles. Common errors and what they mean will be covered and by the end of the course the student should be able to manage their own software without needing to pester their system administrator.

Prerequisites
  • Those attending should be able to use a plain text editor (e.g. emacs, gedit, vi) on a Unix system as might be obtained from the Emacs or Vi introductory courses.
  • A basic knowledge of the Unix command line as might be gleaned from the "Introduction to Unix" course is also required.
Sessions

Number of sessions: 3

# Date Time Venue Trainer
1 Tue 9 Nov 2010   09:30 - 13:00 09:30 - 13:00 Room GL.04 (CMS, Wilberforce Road) R.J. Dowling
2 Thu 11 Nov 2010   09:30 - 13:00 09:30 - 13:00 Room GL.04 (CMS, Wilberforce Road) R.J. Dowling
3 Fri 12 Nov 2010   09:30 - 13:00 09:30 - 13:00 Room GL.04 (CMS, Wilberforce Road) R.J. Dowling
Topics covered (session 1)
  • Software layout
  • Environment variables
  • Unpacking source distributions
  • configure scripts
  • Building configured software with make
  • Installing configured software
  • Dependencies between packages
  • The pkg-config command
Topics covered (session 2)
  • Phases of building an executable
  • Basic use of make
  • Configuring make with Makefiles
  • Setting options in Makefiles
  • Adding rules to Makefiles
  • Automatic macros
  • Static macros
  • Standard targets
Topics covered (session 3)
  • A real-world, "ugly" example
  • Multi-directory builds and recursive make.
Format

Presentation/demonstration with practicals.

System requirements

SUSE v. 11.1 on PWF Linux

Duration

Three half day sessions

Themes

Booking / availability

Override user: