Training:SummerSchool2016:Programme:Intro

From CAC Wiki
Revision as of 17:21, 4 July 2016 by Hasch (Talk | contribs) (Introduction to make and makefiles)

Jump to: navigation, search

Introduction to Unix Shell Programming

This class serves as an introduction to Linux, the UNIX-like operating system that runs on almost all High-Perfomance and Advanced-Computing systems. It is intended for users who have little or no experience with Unix or Linux. It covers material that will help them develop an understanding of the Linux command-line environment, which is necessary for successful use of Unix. We are covering the following topic:

  • Moving around and looking at things
  • Writing and reading files
  • Wildcards and piping
  • Shell scripts, variables, and loops
  • Working remotely on an HPC cluster

The emphasis is on a hands-on tutorial approach where practical applications are integrated in the lecture. This course is based on the Software Carpentry set of lectures and is conducted by a SWC certified instructor.

Introduction to make and makefiles

make is a tool for managing the building of software and databases. It uses a simple syntax to describe a "dependence graph", which allows the automatic execution of a sequence of commands that rebuild all files of interest. If you are tasked with building and rebuilding a software package that includes many source files, this facility saves you from typing yourself silly. It is included in virtually every Unix system, and is used by almost all software distributions that need re-compilation when installing on a new system. It is no exaggeration to call it one of the most useful Unix tools. Course content include:

  • Makefiles
  • Automatic variables
  • Dependencies
  • Pattern rules
  • Variables
  • Functions

This course is also based on the Software Carpentry lectures, and includes continuous exercises and live coding.

Instructor: Hartmut Schmider, Centre for Advanced Computing, Queen's University.
Prerequisites: None.