| CIRCA Unix Services This handout can be found online at: http://www.circa.ufl.edu/handouts/unix/imsl.html |
Using IMSL on GroveAugust 23, 2005 |
IMSL, the International Mathematical and Statistical Library, is a collection of functions that can be called from your FORTRAN program. IMSL is available on Grove, CIRCA's Unix system.
IMSL functions can only be used in conjuction with your Fortran program. Before you compile and link your FORTRAN program, enter this (interactive) command:
imsl
This command defines environment variables so that the IMSL subroutine library can be located. You only need to enter this command when you are linking with the library and you need to enter the command once for each grove session.
This command will compile and link the fortran source file imsltest.f with the IMSL library and produce an executable file named imsltest:
f77 -o imsltest imsltest.f $LINK_FNL
If the program compiles and links correctly, you can execute the resulting program by entering the name of the program:
imsltest
In the makefile you need to add the line:
source /usr/local/vni/ipt/bin/iptsetup.sh