Numerical Algorithms Group (NAG) Software Training


A NAG software training course jointly organized by ITS and the Department of Statistics and Actuarial Science was held on June 3-4, 2013. The 2-day course was conducted by leading experts from the NAG on how to use the NAG tools for scientific computing and programming. Details are as follows:

Day 1: Introduction to NAG Tools (Monday, 3rd June 2013)

An Introduction to NAG’s Numerical Libraries and the NAG Fortran Compiler (09:00 - 12:00)
Presentation Slides

In this talk, an introduction to NAG's numerical libraries, services and the NAG Fortran Compiler will be presented. An overview of the content of the libraries, and how they can be used together with various languages (including Fortran and C/C++) and under different environments will be shown. The advantages of numerical stability, choice of appropriate algorithm, the extensive NAG documentation, and the benefits of the NAG Fortran compiler will also be discussed.

The NAG Toolbox for MATLAB (13:00 - 17:00)
Presentation Slides

Here, usage of the NAG Toolbox for MATLAB will be presented. Live demonstrations of the Toolbox will be performed, and some functionality and performance comparisons will be shown as well. Attendees will be offered opportunities to experience the Toolbox hands-on.

Prerequisites: Attendees should be familiar with editing files under a UNIX or Windows environment. Prior knowledge of MATLAB is NOT required but will be advantageous.

Note: All attendees are invited to install NAG Libraries, NAG Toolbox for MATLAB and/or the NAG Fortran Compiler on their local machine or laptop prior to the courses (The NAG tools are available to HKU users via a site licence agreement. For more details, please visit http://www.its.hku.hk/services/research/hpc/software/nag. The courses will be run on the classroom machines by default.

Day 2: Fortran 95 Programming (Tuesday, 4th June 2013)

Introduction to Fortran 95 (09:00-12:00 and 13:00-17:00)
Presentation Slides

In this course, the main concepts and syntax of the Fortran 95 language will be taught. The following elements will be covered: basic data types, mathematical operations, arrays and dynamic storage, IF statements, loops, functions, subroutines and modules, input and output, and built-in functions. Good programming practice will be emphasized throughout, and each section of the course will be reinforced by practical exercises.

Prerequisites: Attendees should be familiar with editing files under a UNIX or Windows environment. Prior knowledge of programming is NOT required.

  • How to Request the NAG License Key for HKU users? Readme