Compilers Available

    • gfortran - GNU FORTRAN 95 compiler
    • g95 - FORTRAN 95 compiler
    • ifort - Intel FORTRAN compiler - Linux PCs only
  • C
    • gcc - GNU C compiler
    • icc - Intel C compiler
  • C++
    • g++ - GNU C++ compiler
    • icpc - Intel C++ compiler
  • Pascal
    • ppc386 - free pascal compiler available on the Linux PCs only
    • p2c - pascal to C convert

The Autonicer

What's the Autonicer and why does it keep e-mailing me.

On the generally available computational machines, it isn't nice to hog all the processor and memory and deny other users the facility, so on such machines an autonicer monitors user's jobs. If a job is running for a set amount of time the autonicer will automatically renice the job until it reaches a maximum nice level of 19. The owner will receive an e-mail informing them of the jobs nice level when it has been changed.

Program Timing

How can I time how long it takes for my program to run?

Date Command

A simple way to get the `wallclock' timing of a program is to use the dat command before and after the program and compare the diffference. Suppose the executable in question is called myprog and is in the current dirctory then doing

date ; ./myprog ; date

Will first run the date command, then run the code and finally run the date command again. The output of the date command will take the form

Input and Output Redirection

How can I get my program to take input from a file rather than me typing it in? How can I get it to send output to a file rather than the screen?

Redirecting input and output

To tell a program myprog, which lives in the current directory, to get its input from a file input.txt, use

torbernite% ./myprog < input.txt

To send normal output (e.g, the results of print statements) to output.txt, use

IT Courses and Training

Within the Mathematical Institute

  • There is a large amount of online documentation and answers to questions on the Mathematical Institute help web pages.
  • Books and manuals are available in the Whitehead Library in the St Giles Building and the Alan Tayler Room in Dartington House
  • The computing officers are also available to give one to one assistance as required wherever possible.


Subscribe to Mathematical Institute RSS