IMSL


Overview

IMSL is a collection of libraries containing mathematical and statistical functions, which can be called from within software programs.  IMSL is a product of Visual Numerics, Inc.

The IMSL libraries for FORTRAN are currently available on the Hubert UNIX server (hubert.vcu.edu), which is administered by VCU Technology Services.  For information about the Hubert server, including how to request an account, please visit Resources Managed by Technology Services.

 

Accessing IMSL via FORTRAN on Hubert

You may call IMSL routines from within a FORTRAN program.  To compile your program properly so that it can access the IMSL libraries, do the following (the commands below are CASE SENSITIVE - type them exactly as shown):

  • Before you compile your program, issue the following command at the UNIX command prompt:
    source  /usr/local/vni/CTT6.1/ctt/bin/cttsetup.csh

This will establish various environment variables within your UNIX session to define library locations, compile options, etc.  These will be needed when you compile your FORTRAN program.  This command need only be issued once per UNIX session.

  • Then, compile your program by issuing the following command:
    $F90  $F90FLAGS  -m64  -o  <outputfile>  <inputfile>  $LINK_F90

where <inputfile> is the name of your FORTRAN program file, and <outputfile> is the name you wish to give to the resulting compiled executable file.  Here is an example:

$F90  $F90FLAGS  -m64  -o  myexecutable  myprogram.f  $LINK_F90

During compilation, you will receive warning messages concerning the "xarch" compile option.  You may ignore these warnings.  The "xarch" is one of the compile options defined by the "source" command above; it is in included for completeness and will not be a problem.


Documentation

Documentation is available on the Visual Numerics IMSL® Libraries Technical Documentation webpage.

 

701 W. Broad St., Box 843059
Richmond, VA 23284
(804) 828-1177
RSS

 
VCU