ACCC Home Page ACADEMIC COMPUTING and COMMUNICATIONS CENTER
Accounts / Passwords Email Labs / Classrooms Telecom Network Security Software Computing and Network Services Education / Teaching Getting Help
 

IMSL

   
 
     
Overview
  The IMSL FORTRAN 90 Numerical Libraries are a comprehensive resource of more than 900 FORTRAN 90 subroutines for applications in general applied mathematics and for analyzing and presenting statistical data in scientific and business applications.
 
     
Setup
 

Setup Fortran Numerical Libraries

Before using the FORTRAN 90 Numerical libraries we need to setup Intel compiler variables.
To setup your Intel compiler variables for Fortran execute the following:

For Bash users execute:

.  /usr/common/intel/fc/10.0.023/bin/ifortvars.sh

(Make sure you include the leading period. Make sure you put a blank between the period and the leading slash.)

If you are running the C shell enter:

source /usr/common/intel/fc/10.0.023/bin/ifortvars.csh

Now that the Intel compiler variables have been setup we proceed to setup the IMSL variables.
Before calling onto the script we need to declare the IMSL home by typing the following:

text

Automatization of Environment Setup

Instead of entering the command each time you login, you may place the appropriate command in your login file and the command will automatically be executed each time you login. For bash shell users, place the command in your .bash_profile file; for C shell users, your .cshrc file.

To see which shell you are using, enter the following:

grep $LOGNAME /etc/passwd

If, at the end of the displayed line, you see /bin/bash then you are using the bash shell.

On the other hand, if you see /bin/csh, then you are running the C shell.

 
     
Command to Compile/Link with IMSL
 

$F90 $F90FLAGS -o name_of_executable source_file.f90 $LINK_F90

The Portland Group Fortran compiler is no longer compatible with IMSL; in the example, the Intel Fortran compiler is invoked by $F90.
 
     
Running programs with IMSL
 

Programs are submitted to torque for execution. Create a text file with the following:

#PBS -V
. /usr/common/vni/CTT6.0/ctt/bin/cttsetup.sh
/path_to_my_home_directory/program_to_execute

For example purposes, assume my login name is jsmith, my home directory is located in /home/homes51/jsmith, and the program to be run is called example1. (To see the location of your home directory, enter: cd; pwd).

The script file, which will be named my_script, is as follows:

#PBS -V
. /usr/common/vni/CTT6.0/ctt/bin/cttsetup.sh
/home/homes51/jsmith/example1

To execute the example1 program, enter the following command:

qsub my_script

For more information about the qsub command, see the man page (man qsub).

 
     
Documentation
 
  • The IMSL WWW home page at: http://www.vni.com/products/imsl
  • Online copies of the above manuals, in PDF format (readable by Acrobat Reader 3.0 or later) are available in the /usr/common/vni/CTT5.0/help directory.
  • No man pages are available.

 

 

 


2009-7-21  ACCC Systems Group
UIC Home Page Search UIC Pages Contact UIC