Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

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 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:

This is document adzh in domain iu.
Last modified on June 11, 2004.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.