Getting started with F90 on the Crays

Help me, I'm converting! . . .

rule

Juli Rew
by Juli Rew


Contents

Search

Index

Home

Subscribe

ConsultWeb

SCD

We recently began encouraging NCAR's Cray users to move to the newer compilers, particularly Fortran 90. Here are a few basic tips to help you get started using F90 on the Crays.


Using the compilers

What should you do to use the compilers on the Cray? Under UNICOS 9, you must add some initialization information to your startup files to use the compilers and libraries. This is called "setting up your Cray Programming Environment" or "setting up your modules environment."

  • csh/tcsh users:

    Put this in your .cshrc (after any other path or manpath stuff):

       source /opt/modules/modules/init/csh
       module load modules PrgEnv nqe
    

  • sh/ksh users:

    Put this in your .profile (after any other path or manpath stuff):

       . /opt/modules/modules/init/ksh
       module load modules PrgEnv nqe
    


Fortran 90 info on the Web

The SCD Consultants have set up a Web site under ConsultWeb containing extensive information on Fortran 90. This information includes language changes, new features, compiling examples, a Fortran 90 tutorial, a Frequently Asked Questions (FAQ) list, and tips for converting from Fortran 77 and CF77.

The information is available at:

If you have questions about Fortran 90, you can also call the consultants at 303-497-1278 or send e-mail to consult1@ncar.ucar.edu.

rule

Contents || Search || Index || Home || Subscribe || ConsultWeb || SCD