next up previous contents
Next: Running computationally intensive jobs Up: No Title Previous: Compiling programs

Locally added software

There is a great deal of locally added software on newt. To find it, have a look in the directory tree starting at /usr/local. To get help on an item of local software, use man just as you would for the standard UNIX commands, e.g., to get help on tex, type

man tex

The following subsections detail some of the available packages.

Arbitrary precision mathematics

There is an arbitrary precision mathematics package in /usr/local/src/apml. This allows exact calculations for additions, subtractions, and multiplications, and a user-specifiable accuracy for divisions. The package is written in C, and Michael Ashley has written some FORTRAN routines to access it, including routines for handling complex numbers (see the fortran subdirectory).

FORTRAN to C converter

The program f2c will take a FORTRAN source file and generate a C equivalent, which you then have to link against a couple of emulating libraries. f2c may be useful in the case that the FORTRAN compiler generates buggy code, or if you wish to port a FORTRAN program to a machine that doesn't have FORTRAN.

The procedure for making a binary is

f2c prog.f

which creates prog.c, and then

cc -I/usr/local/include prog.c -lF77 -lI77 -lm -lc

to generate the binary.

Image processing software-IRAF

IRAF, the Image Reduction and Analysis Facility, written by Kitt Peak Observatory in the United States, is available on the workstation. To use it for the first time, type the following commands

cd
mkdir iraf
cd iraf
mkiraf
xterm&
cl              ! from within the xterm
To use it subsequently, all you need to do (after starting up an xterm) is
cd ~/iraf
cl
cl stands for ``command language'', and is the IRAF user interface. Once in cl you can type help for information, or logout to get back to the UNIX shell.

Miscellaneous local software

The following programs are not part of the usual UNIX command set, and have been obtained mostly from public domain sources.

tabular920

New items of local software will be added on an ongoing basis. Check the /usr/local directory tree for details. Use this software at your own risk, no guarantees are given that any given package will work, is installed correctly, or will remain on the system. If your work requires one of these programs, then you are strongly advised to make a copy of it on magtape.


next up previous contents
Next: Running computationally intensive jobs Up: No Title Previous: Compiling programs

Michael C. B. Ashley
Fri Jun 28 13:34:23 EST 1996