DIGITAL Fortran 90

DIGITAL Fortran 90

User Manual for
DIGITAL UNIX Systems

Order Number: AA--Q66TC--TE


March 1998

This manual provides information about the DIGITAL Fortran 90 (formerly DEC Fortran 90) program development and run-time environment on DIGITAL UNIX (formerly DEC OSF/1) Alpha systems.

It describes compiling, linking, running, and debugging DIGITAL Fortran 90 programs, performance guidelines, run-time I/O and error-handling support, data types, numeric data conversion, calling other procedures and library routines, and compatibility with DIGITAL Fortran 77 (formerly DEC Fortran). It also describes the f90 command options needed to develop DIGITAL Fortran 90 programs for parallel execution using High Performance Fortran features.

Revision/Update Information: This manual supersedes the previous version of this manual, the Digital Fortran 90 User Manual for Digital UNIX Systems, order number AA--Q66TB--TE.

Software Version: DIGITAL Fortran 90 Version 5.1 or higher

Digital Equipment Corporation
Maynard, Massachusetts


First Printing, June 1994 First Revision, March 1996 Second Revision, March 1998

The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document.

The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license.

Copyright ©1994, 1998

The following are trademarks of Digital Equipment Corporation: AXP, DEC, DEC Fortran, DEC FUSE, DECnet, DECwindows, DIGITAL, OpenVMS, ULTRIX, VAX, VAX FORTRAN, VMS, and the DIGITAL logo.

The following are third-party trademarks:

CRAY is a registered trademark of Cray Research, Inc.
Hewlett-Packard and HP-UX are registered trademarks of the Hewlett-Packard Company.
IBM is a registered trademark of International Business Machines Corporation.
IEEE is a registered trademark of the Institute of Electrical and Electronics Engineers, Inc.
KAP is a registered trademark of the Kuck and Associates, Inc.
Microsoft is a registered trademark and Windows NT, and NT are trademarks of Microsoft Corporation.
OpenMP and the OpenMP logo are trademarks of OpenMP Architecture Review Board.
OSF, OSF/1, and OSF/Motif are registered trademarks of the Open Software Foundation, Inc.
RISC System/6000 is a registered trademark of International Business Machines Corporation.
Sun is a registered trademark of Sun Microsystems, Inc.
System\370 is a registered trademark of International Business Machines Corporation.
TotalView is a trademark of Dolphin Interconnect Solutions.
UNIX is a registered trademark in the United States and other countries licensed exclusively through X/Open Company Ltd.

All other trademarks and registered trademarks are the property of their respective holders.

ZK6325

This document is available on CD-ROM.

This document was prepared using VAX DOCUMENT, Version V3.2-1m.

Contents Index


Preface

This manual describes the DIGITAL Fortran 90 compiler command, compiler, and run-time environment. This includes how to compile, link, execute, and debug DIGITAL Fortran 90 nonparallel programs using the DIGITAL UNIX (formerly DEC OSF/1) operating system on Alpha hardware.

This manual describes the program development environment that is common to DIGITAL Fortran 90 and its associated run-time Parallel Software Environment, including the f90 command options needed to develop DIGITAL Fortran 90 programs for parallel run-time execution on multiple systems. It does not cover running, debugging, and profiling programs that execute in parallel using High Performance Fortran (HPF) features (requires the DIGITAL Parallel Software Environment).

The term Parallel Software Environment refers to an optional product (license and software) that allows parallel HPF execution of programs on multiple Alpha systems running the DIGITAL UNIX operating system.

Intended Audience

This manual makes the following assumptions about you, the reader:

Structure of This Document

This manual consists of the following chapters and appendixes:

Associated Documents

The following documents may also be useful to DIGITAL Fortran 90 programmers:

Sending DIGITAL Your Comments on This Manual

DIGITAL welcomes your comments on this or any other DIGITAL Fortran 90 manual. You can send comments to us in the following ways:

If you have suggestions for improving particular sections or find any errors, please indicate the title, order number, and section numbers. DIGITAL also welcomes general comments.

Communicating with DIGITAL

If you have a customer support contract and have comments or questions about DIGITAL Fortran 90 software, you can contact our Customer Support Center (CSC), preferably using electronic means (such as DSNlink). In the United States, customers can call the CSC at 1-800-354-9000.

You may also send comments, questions and suggestions about the DIGITAL Fortran product to the following Internet mail address: fortran@digital.com. Please note, however, that this address is for informational inquiries only. It is not a formal support channel.

DIGITAL World Wide Web Pages

If you have Internet access and a World Wide Web (WWW) viewer, you are invited to view the following:

Conventions Used in This Document

This manual uses the conventions listed in Table 1.

Table 1 Conventions Used in This Document
Convention Meaning
% The default user prompt is your system name followed by a right angle bracket. This manual uses a percent sign (%) to represent this prompt. The actual user prompt varies with the shell in use.
[RETURN] This symbol indicates that you must press the named key on the keyboard.
Ctrl/ x This symbol indicates that you must press the Ctrl key while you simultaneously press the key labeled x.
% pwd
/usr/usrc/jones
This manual displays system prompts and responses using a monospaced font. Typed user input is displayed in a bold monospaced font.
monospaced This typeface indicates the name of a command, option, pathname, file name, directory path, or partition. This typeface is also used in examples of program code, interactive examples, and other screen displays.
cat(1) A shell command name followed by the number 1 in parentheses refers to a command reference page. Similarly, a routine name followed by the number 2 or 3 in parentheses refers to a system call or library routine reference page. (The number in parentheses indicates the section containing the reference page.) To read online reference pages, use the man command. Your operating system documentation also includes reference page descriptions.
newterm Bold type indicates the introduction of a new term in text.
variable Italic type indicates important information, a complete title of a manual, or variable information, such as user-supplied information in command or option syntax.
UPPERCASE
lowercase
The operating system shell differentiates between lowercase and uppercase characters. Literal strings that appear in text, examples, syntax descriptions, and function definitions must be typed exactly as shown.
Large braces enclose lists from which you must choose one item. For example:
  • STATUS
  • DISPOSE
  • DISP
[ ] Square brackets enclose items that are optional. For example: BLOCK DATA [nam]

... A horizontal ellipsis means that the item preceding the ellipsis can be repeated. For example: s[,s]...

.
.
.
A vertical ellipsis in a figure or example means that not all of the statements are shown.
real This term refers to all floating-point intrinsic data types as a group.
complex This term refers to all complex floating-point intrinsic data types as a group.
logical This term refers to logical data types as a group.
integer This term refers to integer data types as a group.
Alpha
Alpha systems
AXP
The terms to Alpha, Alpha systems, and AXP refer to the Alpha architecture or systems equipped with this 64-bit architecture.
DIGITAL UNIX
DIGITAL UNIX systems
The terms DIGITAL UNIX and DIGITAL UNIX systems refer to the DIGITAL UNIX (formerly DEC OSF/1) operating system running on Alpha processor hardware.
Fortran This term refers to language information that is common to the ANSI FORTRAN-77, ANSI/ISO Fortran 90, and DIGITAL Fortran 90.
Fortran 90 This term refers to language information that is common to ANSI/ISO Fortran 90 and DIGITAL Fortran 90.
DIGITAL Fortran 77
DEC Fortran
The term DIGITAL Fortran 77 (formerly DEC Fortran) refers to language information that is common to the FORTRAN-77 standard and any DIGITAL Fortran extensions.
DIGITAL Fortran 90
DEC Fortran 90
The term DIGITAL Fortran 90 (formerly DEC Fortran 90) refers to language information that is common to the Fortran 90 standard and any DIGITAL Fortran 90 extensions.
DIGITAL Fortran DIGITAL Fortran 90 and DIGITAL Fortran 77 have been merged into the product known as DIGITAL Fortran. DIGITAL Fortran also refers to language features provided by both DIGITAL Fortran 77 and DIGITAL Fortran 90.
Parallel Software Environment This term refers to an optional license and software that allows parallel execution of programs using High Performance Fortran (HPF) constructs.
HPF This term refers to the High Performance Fortran Language.


Next Contents Index