NCSA Home
Contact Us | Intranet | Search

ncsa

IMSL software on the Origin 2000

IMSL software on the Origin 2000: 64 bit, mips4


The IMSL Fortran 90 MP Library, IMSL Fortran Numerical and Statistics Libraries (version 4.0) and the IMSL C Numerical Library from Visual Numerics, Inc. have been installed on the NCSA SGI/Cray Origin2000. This software is a 64-bit, mips4 version to be used with the MIPSpro F90 compiler.

Software Location

IMSL software is located in the directory:
    /usr/apps/math/vni/imsl/CTT4.0
Note: this is the directory that is referred to as within the on-line documentation.

Basic Usage

In order to be able to use the IMSL environment, certain environment variables must be properly set, by adding the line
	source /usr/apps/math/vni/imsl/CTT4.0/ctt/bin/cttsetup.csh 
to your .cshrc file (csh/tcsh users), and/or
	. /usr/apps/math/vni/imsl/CTT4.0/ctt/bin/cttsetup.sh 
to your .profile file (sh/ksh users). Some of the more important environment variables that are set by this procedure are (below Fortran 90 MP refers to the IMSL Fortran 90 MP library):
    $CTT_DIR		   - location of the top of the installation tree 
    $F90                   - Fortran 90 compiler
    $F90FLAGS              - Fortran 90 compiler options
    $FC                    - Fortran 90 compiler
    $FFLAGS                - Fortran 90 compiler options
    $LINK_F90_SHARED       - Link options required to link with the shared
                             Fortran 90 MP Library
    $LINK_F90_STATIC       - Link options required to link with the static
                             Fortran 90 MP Library
    $LINK_F90              - By default, set to $LINK_F90_SHARED
    $LINK_FNL_SHARED       - Link options required to link with the shared
                             Fortran Numerical Libraries
    $LINK_FNL_STATIC       - Link options required to link with the static
                             Fortran Numerical Libraries
    $LINK_FNL              - By default, set to $LINK_FNL_SHARED
    $LINK_MPI              - Fortran 90 MP library using MPI 
    $LINK_CNL_SHARED       - Link options required to link with the shared
			     IMSL C numerical library
    $LINK_CNL_STATIC	   - Link options required to link with the static
			     IMSL C numerical library
    $LINK_CNL		   - By default, set to $LINK_CNL_SHARED
Please consult the file
/usr/apps/math/vni/imsl/CTT4.0/ctt/bin/IRIX64.csh
for other libraries. Once you have sourced the setup file (above), you can compile and link applications as follows: "native" Fortran applications:
	$FC -o executable $FFLAGS main.f  $LINK_FNL
C applications:
	$CC -o executable $CFLAGS main.c  $LINK_CNL
Include files can be found in
	$CTT_DIR/include
and some modules also in
	$CTT_DIR/include/IRIX64

Example Programs

Some example programs are available in the directory
	$CTT_DIR/examples

Documentation and Further Information

To access the PDF documentation, start (e.g.) netscape and open imsl.pdf located in
	$CTT_DIR/help
An acrobat reader should open the file for your perusal. Additional information is available through release notes, located in the directory:
	$CTT_DIR/notes

Vendor Information on the Web

For more information, see Visual Numerics Incorporated's IMSL page.
Please direct inquiries about the IMSL Math library to the NCSA Consulting Office:
        consult@ncsa.uiuc.edu
        (217) 244-1144

Math Libraries (mathsoft@ncsa.uiuc.edu)
Last Modified: November 13, 2001 by Greg Bauer