Software Packages

Various software packages and libraries available at CITA are listed below.  Please note that we have a limited number of licenses for IDL, Matlab and Mathematica - be considerate and do NOT leave yourself idle inside these programs!

To check who is using IDL or MATLAB licenses type:  /cita/local/lib/matlab/etc/lmstat -A

To check Mathematica type:  mathlicense

IDL                                - data analysis, visualization
IRAF                              -optical data reduction
Maple                              -numerical & symbolic computation, graphics
Mathematica                    -numerical & symbolic computation, graphics
MATLAB                       -numerical & symbolic computation, graphics
Octave - an open-source high-level interactive language, primarily intended for numerical computations that is mostly compatible with MATLAB.
SciPy - open-source python software for mathematics, science, and engineering.
Yorick - open-source interpreted programming language, designed for postprocessing or steering large scientific simulation codes.
SM (SuperMongo)          -plotting
Numerical Recipes          -numerical analysis

NAG Fortran Library
Compaq Extended Math Library
Intel Math Kernel Library
Intel Integrated Performance Primitives


Matlab

The command matlab will launch v7 R14 of Matlab. This can be executed from any CITA workstation.
Currently we have the compiler, optimization, image, symbolic math and pde toolboxes installed.

Maple

Maple Version 8  is a complete mathematical problem-solving environment that supports a wide variety of mathematical operations such as numerical analysis, symbolic algebra, and graphics.

Maple is currently installed only on mouse. In order to launch the program, ssh into mouse and execute with either maple (command-line interface) or xmaple (GUI interface).

Note: The window that contains the gui has frame-type set to 'title-only' by default. If you would like to have a frame (in order to re-size the window), left-click in the window preferences and then select frame-type > normal.

VNC users will see rectangles instead of text for this program, consequentially making it useless.  We're currently working on this issue.

Mathematica

The command mathematica will launch the program.  Older versions of VNC will receive a message concerning fonts and will see rectangles instead of text in the main area.  The current work-around for this is to change to the clean font by selecting Format > Font > Clean. This does not appear to happen with distributions as recent as Fedora Core 3.

Type mathlicense to see which users have licenses checked-out at any given time. Bug them if there are no licenses left for you but they seem to be idle.


IDL

The Interactive Data Language is an easy-to-learn application for doing data analysis and visualization. Kind of like interactive fortran90 and a debugger with lots of build-in math routines. The astron library routines let you easily read FITS images, do photometry, image deconvolution etc. Slice and dice 3D data sets, make isosurfaces, etc. IDL is installed on all CITA systems though only 5 people can use it at once (managed by the flexlm license manager).

Type
ideldemo at a (Unix) command prompt for a tour, idlhelp at the command prompt brings up the manuals.

If you have issues with flashing colours as you move your mouse and/or don't get colour when you expect it then try the following:

-edit .Xdefaults to take away any other idl lines and keep:
idl.gr_visual: TrueColor
idl.gr_depth: 24
-make the new .Xdefaults take effect with:
   xrdb -merge ~/.Xdefaults
-whenever you start IDL,  type:
device, decomposed=0

Tiny sample of how to use IDL interactively or by writing a program:

IDL> a=5
IDL> b=3
IDL> print,a*b

or put the same lines in a file called, say, add.pro, end it with "end",  and then run the "pro" (IDL expects the .pro extension if nothing is specified. I.e.:

IDL> .run add
% Compiled module: $MAIN$.
      15
IDL>

where add.pro looks like:

squirrel> cat add.pro
a=5
b=3
print, a*b
end
squirrel>


Numerical Recipes in Fortran Library

The fortran numerical recipes library can be found in /cita/src/fort_num_rec. These libraries can be used to perform a variety of numerical operations, more information is available at the Numerical Recipes web site.



Nag Fortran Library

The Nag Fortran library for f77 is installed on cougar. The documentation can be found here.
To compile code one should link to the library in the following manner:

f77 program.f /opt/nag_fl/fllux20dgl/libnag_rh9.a -lg2c -lpthread

To use the compiled binary, make sure you have properly set the LM_LICENSE_FILE environment variable:

setenv LM_LICENSE_FILE /opt/nag_fl/fllux20dgl/license/license.dat

Compaq Extended Math Library

The CXML library can be found on the dolphins, orca and octopus. It contains BLAS,LAPACK and signal processing routines, all optimized for the Alpha platform. In addition there is also support for internal threading of the library which will allow for faster computation on our SMP Alphas. The documentation can be found here.


Intel Math Kernel Library

The latest licensed version of this library are installed on porcupine (32 bit) and lobster5 (64 bit). We also maintain versions of it on the Mckenzie cluster.

The Intel® Math Kernel Library (Intel MKL) is composed of highly optimized mathematical functions for math, engineering, scientific and financial applications requiring high performance on Intel® platforms. Intel MKL contains LAPACK, the basic linear algebra subprograms (BLAS), and the extended BLAS (sparse). In addition, there is a set of fast Fourier transforms in single- and double-precision, real and complex data types with both Fortran and C interfaces. MKL also includes a set of vectorized transcendental functions in the Vector Math Library (VML), offering both high performance and excellent accuracy compared to the libm functions for most of the processors."


Intel Math Kernel Library 5.1
Intel Math Kernel Library 6.0
Intel Math Kernel Library 6.1


Intel Integrated Performance Primitives


Intel®Integrated Performance Primitives (IPP) is a cross-platform software library which provides a range of library functions for multimedia, audio codecs, video codecs (for example H.263, MPEG-4), image processing (JPEG), signal processing, speech compression (i.e. G.723, GSM  ARM*) plus computer vision as well as math support routines for such processing capabilities.

Intel Integrated Performance Primitives