ARCHIVED: Using the SCAAMP systems, how do I link a Fortran job to IMSL and execute it?
IMSL requires certain environment variables to be set correctly, both to compile and to execute. You must choose between Fortran90 and Fortran77.
- If you use
cshortcsh, for Fortran90 IMSL, enter: source /usr/local/bin/imsl90.csh For Fortran77 IMSL, enter: source /usr/local/bin/imsl77.csh - If you are using Bourne shell or
bash, on Lakshmi (but not Uma), enter: % sh Then (on either computer), for Fortran90 enter: % . /usr/local/bin/imsl90.shFor Fortran77 IMSL, enter: % . /usr/local/bin/imsl77.sh
After setting the environment variables as discussed above, to execute
your Fortran job, use the following commands:
f90 prog.f $F90FLAGS $LINK_F90 -o prog
f77 prog.f $FFLAGS_MP $LINK_FNL_MP -o prog
Replace prog.f with the name of your Fortran command
file. The compiled and linked version of the program will be called
prog which you can replace with a name of your choosing.
Note: For more details about the NAG and other subroutine libraries (including information about how to compile, link to, and run programs that invoke them), see the IU High Performance Applications subroutine library page.
For a list of research software available on UITS research computing systems, see:
- Big Red: http://rc.uits.iu.edu/hps/research/bigred/software.shtml
- Quarry: http://rc.uits.iu.edu/hps/research/quarry/software.shtml
Last modified on June 11, 2004.







