Building Software on Linux

Course  Description

 

Course Overview

An introduction to building software from source code under Linux.  The course focuses on the Intel Composer and GNU Compiler Collection (GCC) suites.

Date(s)

Unfortunately there are no further dates scheduled at present. 

Please contact Organisational Development email: orgdev@leicester.ac.uk if you are interested in attending this course.

What can I expect to cover?

This course will provide an overview of the Intel Composer and GCC compiler suites, including:

  • Compile basic C and Fortran programs
  • Stop the compilation process at different compilation stages
  • Awareness of pre-processing directives and pragmas
  • How to link to existing libraries
  • Difference between static and shared object libraries
  • Linux linker and loader utilities, e.g. ld, ldconfig, ld.so, ld-linux.so
  • How to query ELF headers
  • Library versioning schemes under Linux
  • Create static and dynamic libraries
  • Basic understanding of commands for working with libraries, e.g. ar, ldd, readelf, nm, ranlib
  • Knowledge of compile-time and run-time environment variables
What will I get out of this course?

On completion of this course you will be able to:

  • Understand the main compilation phases and know what happens at each phase
  • Understand the differences between static and shared object libraries, including the advantages and disadvantages of each
  • Understand how to use existing software libraries, including the roles of the linker and dynamic linker loader and the various methods by which the linker finds libraries
  • Basic understanding of how Linux distributions package, update and version libraries
  • How to create static archives and shared object libraries.
Who is it for?

The course is aimed at researchers interested in building software from source code; primarily researchers using, or intending to use, the University’s central High Performance Computing facilities.

The course will be useful for researchers relatively new to software development as well as researchers that need to install third-party packages from source code (even if they themselves are not software developers).

Participant preparation needed?

All attendees must have an account on one of the University’s High Performance Computing systems prior to arriving at the course.  See the High Performance Computing section of the IT Help website for information on how to request an account:

Additional Information

 

What prior experience do I need?

Participants should be comfortable with all of the material in the following courses:

Research Computing

  • Linux Introduction
  • High Performance Computing at Leicester (was ALICE Introduction)

Participants should also be familiar with text editors (such as vi, gedit, nedit, emacs, etc).

A basic understanding of C, C++ or Fortran is highly recommended.

Is it formally assessed?

None.

Facilitator(s)

Dr Jon Wakelin (IT Services)

Delegate places

Maximum 11 delegates
Minimum 5 delegates

How to make
your reservation

Please complete the Online Booking Form submitting to Organisational Development.  Booking Conditions apply.

Registration closes 48 hours prior to the event.

Questions

Questions About the workshop content:
Contact Jon Wakelin email: jw292@le.ac.uk Tel: (0116) 252 5147.

About the workshop arrangements:
Contact Organisational Development email: orgdev@le.ac.uk/ tel: (0116) 252-5680 / 252-5118 / 223-1257.

For Office Use Only

Course Code: SDCCT083

Share this page:

Booking Forms

How to Book
To make a request to attend a training and development workshop, please complete a Booking Form.  Please note Booking Conditions apply. 

Additional requirements
If you have any access or additional requirements, please contact Staff Development Contact Us.  

About Us

who-are-we.pngWho are we?

Staff contact list

where-are-we.pngWhere are we?

Organisational Development,
Division of Human Resources,
University of Leicester,
Room 004, ground floor, Astley Clarke Building,
University Road, Leicester, LE1 7RH

email.png

Email

orgdev@le.ac.uk

telephone.png

Telephone

0116 252 5021