This chapter describes:
Before you start the installation, read Chapter 1, which describes the general options and requirements for installing DIGITAL Fortran.
The installation procedure loads DIGITAL Fortran product distribution files on to the system disk on the system where you perform the installation.
Follow these steps to install DIGITAL Fortran from the OpenVMS Alpha Software Products Library CD-ROM set:
Do not proceed with the installation unless your account has the CMKRNL, SYSLCK, and SYSPRV privileges enabled. If your process has the SETPRV privilege, you can enable the CMKRNL, SYSLCK, and SYSPRV privileges by typing the following command:
$ SET PROCESS/PRIVILEGE=(CMKRNL,SYSLCK,SYSPRV)
To check whether your process has these privileges enabled, type the following command:
$ SHOW PROCESS/PRIVILEGES
For information about using the CDMENU utility and the CD-ROM files on the media CD-ROM set, see the Software Product Library CD-ROM User's Guide (media CD-ROM user guide), which accompanies the media CD-ROM distribution kit. The media CD-ROM user guide and CD-ROM master index file are provided as online files in the [README] directory on the first media CD-ROM.
$ SHOW DEVICE DKA400
$ MOUNT DKA400 label
Where label is the volume label of that media CD-ROM.
$ DIRECTORY Directory DKA400:[dir.subdir] DEC-AXPVMS-FORRTL-Vnnnn-x-1.PCSI DEC-AXPVMS-FORTRAN-Vnnnn-x-1.PCSI Total of 2 files.
$ PRODUCT EXTRACT RELEASE_NOTES FORTRAN /SOURCE=disk:[dir] - $_/FILE=FORTRAN.RELNOTES
In this command, disk:[dir] is the
specification of the disk and directory containing the product
installation files.
You can view or print the file FORTRAN.RELNOTES before you continue with the installation (next command). For example:
$ TYPE/PAGE FORTRAN.RELNOTES
If you are running a version of OpenVMS Alpha earlier than Version 7.0, you must install the DIGITAL Fortran Run-Time Library kit before you install the DIGITAL Fortran compiler kit. If you are running OpenVMS Alpha Version 7.0 or later, installing the Run-Time Library kit is optional, but recommended, as it contains corrections and enhancements not included in OpenVMS Alpha Version 7.0.
The DIGITAL Fortran Run-Time Library kit contains a shared DIGITAL Fortran 77 and DIGITAL Fortran 90 Run-Time Library (Fortran RTL) needed to execute (RUN) Fortran programs.. The Fortran RTL kit provided with DIGITAL Fortran compiler media contains changes needed to run Fortran 90 programs that are not included in the Fortran RTL version supplied with the OpenVMS Alpha operating system Version 6.1 or Version 6.2.
The Fortran RTL kit includes the shareable image DEC$FORRTL.EXE, which is compatible with DEC Fortran for OpenVMS Alpha Version 6.1 (or earlier releases). This compatibility allows you to copy Fortran executable images from other OpenVMS systems and run them on systems where the DEC$FORRTL.EXE from the DIGITAL Fortran kit is installed.
To run Fortran 90 images on other OpenVMS Alpha systems earlier than Version 7.0 or Fortran 77 images on other OpenVMS Alpha systems earlier than Version 6.2, you must install the Fortran RTL kit on those OpenVMS Alpha systems. This Fortran RTL kit can be installed on other licensed OpenVMS systems-see the DIGITAL Fortran Software Product Description (SPD) for details.
OpenVMS Alpha Version 7.0 and later includes RTL components which are sufficient to run both Fortran 77 and Fortran 90 applications. The RTL kit provided with DIGITAL Fortran will not replace components provided by OpenVMS Alpha if the existing components are newer.
To install the DIGITAL Fortran Run-Time Library, type the following PRODUCT INSTALL command:
$ PRODUCT INSTALL FORRTL /SOURCE=disk:[dir] /HELP
Where disk:[dir] is the specification of the
disk and directory containing the product installation files.
The following text appears for a Run-Time Library installation:
If the installation fails, repeat the PRODUCT INSTALL command(s) adding the qualifiers /LOG/TRACE to the command line. The additional output will help DIGITAL support analyze the problem. The following product has been selected: DEC AXPVMS FORRTL V7.0-n Do you want to continue? [YES]<Return> *** DEC AXPVMS FORRTL V7.0-n Copyright © Digital Equipment Corporation 1995,1996 - All rights reserved. This software is produced by Digital Equipment Corporation This software is licensed under the OpenVMS product license Do you want all the default values for this product? [YES] <Return> Do you want to view the values? [NO] <Return> %PCSIUI-I-DONEASK, execution phase starting The following product will be installed: DEC AXPVMS FORRTL V7.0-n %PCSI-I-VOLINFO, estimated space information for volume DISK$vvvvvvvv -PCSI-I-VOLSPC, nnnn required; nnnnnn available; nnnnnn net Portion Done: 0%...20%...70%...90%...100% The following product has been installed: DEC AXPVMS FORRTL V7.0-n *** DEC AXPVMS FORRTL V7.0-n Release notes are in SYS$HELP:FORRTL.RELEASE_NOTES Do INSTALL REPLACE SYS$LIBRARY:DEC$FORRTL.EXE on all other cluster nodes $
$ PRODUCT SHOW PRODUCT FORTRAN90
If DEC Fortran 90 is present, the following text appears:
PRODUCT ------- DEC AXPVMS FORTRAN90 V2.0-1 1 item found
If DEC Fortran 90 is not present, the following text appears:
PRODUCT ------- 0 items found
If DEC Fortran 90 is present, remove it by typing the following PRODUCT REMOVE command:
$ PRODUCT REMOVE FORTRAN90
The following text appears:
The following product has been selected:
DEC AXPVMS FORTRAN90 Vn.n-n
%PCSI-E-CONREMUNR, optionally remove product DEC AXPVMS FORRTL Vn.n-n
that is no longer required by another product
Do you want to take this action? [NO]<Return>
Do you want to continue? [YES]<Return>
The following product will be removed:
DEC AXPVMS FORTRAN90 Vn.n-n
%PCSI-I-VOLINFO, estimated space information for volume DISK$vvvvvvvv
-PCSI-I-VOLSPC, -nnnnn required; nnnnnnn available; nnnnnnn net
Portion done: 0%...50%...60%...70%...80%...100%
The following product has been removed:
DEC AXPVMS FORTRAN90 Vn.n-n
$ PRODUCT INSTALL FORTRAN /SOURCE=disk:[dir] /HELP
Where disk:[dir] is the specification of the
disk and directory containing the product installation files.
The following text appears:
If the installation fails, repeat the PRODUCT INSTALL command(s) adding
the qualifiers /LOG/TRACE to the command line. The additional output will help
DIGITAL support analyze the problem.
The following product has been selected:
DEC AXPVMS FORTRAN Vn.n-n
Do you want to continue? [YES] <Return>
*** DEC AXPVMS FORTRAN Vn.n-n: Digital Fortran for OpenVMS Alpha Systems
Copyright © Digital Equipment Corporation 1992,1996 - All rights reserved.
This software product is sold by Digital Equipment Corporation
PAKs used: FORTRAN, FORTRAN90, FORTRAN-USER or FORTRAN90-USER
Do you want all the default values for this product? [YES]
If you want both the Fortran 77 and Fortran 90 compilers
installed, or wish to use the same selection as a previous
installation, type YES at this prompt and
skip to the Do you want to view the values? prompt.
If you wish to select which of the compilers to install, type
NO . The following text will be displayed:
*** DEC AXPVMS VMS Vn.n [Available]
%PCSIUI-I-ALRDYINST, product already installed; use RECONFIGURE to modify
DIGITAL Fortran 77 compiler [YES]
If you wish to install the DIGITAL Fortran 77 compiler, type
YES , otherwise type NO .
Installation continues with the following text displayed:
DIGITAL Fortran 90 compiler [YES]
If you wish to install the DIGITAL Fortran 90 compiler, type
YES , otherwise type NO .
Installation continues with the following text displayed:
Do you want to view the values? [NO] <Return>
Execution phase starting ...
The following product will be installed:
DEC AXPVMS FORTRAN Vn.n-n
%PCSI-I-VOLINFO, estimated space information for volume DISK$vvvvvv
-PCSI-I-VOLSPC, nnnnn required; nnnnnnn available; nnnnnnn net
Portion done: 0%...20%...60%...70%...80%...90%...100%
The following product has been installed:
DEC AXPVMS FORTRAN Vn.n-n
%PCSI-I-EXETSTSTART, start of test procedure
%PCSI-I-EXETSTOK, end of test procedure; completed with no errors
*** DEC AXPVMS FORTRAN Vn.n-n: DIGITAL Fortran for OpenVMS Alpha Systems
Execute SYS$STARTUP:FORT$STARTUP.COM on all other VMScluster nodes
Type HELP FORTRAN Release_notes for release notes location
Insert the following lines in SYS$MANAGER:SYSTARTUP_VMS.COM:
@SYS$STARTUP:FORT$STARTUP
$
$ PRODUCT SHOW OBJECT /PRODUCT=(FORTRAN, FORRTL)
To use other features of the PCSI utility, see the POLYCENTER Software Installation Utility User's Guide.