Indiana University
University Information Technology Services
  
What are archived documents?

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 csh or tcsh, 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.sh

    For 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 IMSL, 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:

Also see:

This is document adzh in domain iu.
Last modified on June 11, 2004.
Please tell us, did you find the answer to your question?