2 Installing DIGITAL Fortran

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.


Note
You must first install the DIGITAL Fortran Run-Time Library (RTL) before you install the DIGITAL Fortran compiler.

Follow these steps to install DIGITAL Fortran from the OpenVMS Alpha Software Products Library CD-ROM set:

  1. Log in to a privileged account on the system (or cluster) where you will install DIGITAL Fortran. This account must have the following privileges enabled:

    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
    

  2. To obtain the kit directory location of the DIGITAL Fortran product distribution files on the appropriate OpenVMS Alpha Software Product Library CD-ROM (media CD-ROM), do one of the following:

    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.

  3. To determine whether the appropriate media CD-ROM is already mounted on your system, type the following command:
    $ SHOW DEVICE DKA400
    

    Note
    DKA400 is the device name used in examples in this document to show where the appropriate media CD-ROM has been mounted.

  4. If the media CD-ROM containing the DIGITAL Fortran installation files is not mounted, either contact the appropriate system manager or insert the appropriate media CD-ROM (write down the volume label) into an available CD-ROM drive. Type the appropriate MOUNT command to mount the media CD-ROM (omit the /FOREIGN qualifier), such as the following:
    $ MOUNT DKA400 label
    

    Where label is the volume label of that media CD-ROM.

  5. To check that you have located the correct CD-ROM device and directory, use the following DIRECTORY command:
    $ DIRECTORY 
    
    Directory DKA400:[dir.subdir]
    
    DEC-AXPVMS-FORRTL-Vnnnn-x-1.PCSI  DEC-AXPVMS-FORTRAN-Vnnnn-x-1.PCSI
    
    Total of 2 files.
    

  6. To extract the DIGITAL Fortran online release notes before you install DIGITAL Fortran, type the following command:
    $ 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
    

  7. In addition to the DIGITAL Fortran compiler (development) kit, DIGITAL Fortran also provides a separate Run-Time Library kit.

    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
    $
    

  8. Installation of the Run-Time Library kit takes about one minute (depending on your system). When installation has been completed, the DCL $ prompt reappears.

  9. If DEC Fortran 90 was previously installed on this system, it must be removed before DIGITAL Fortran is installed. To determine if DEC Fortran 90 is present, type the following command:
    $ 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
    

  10. To install the DIGITAL Fortran compilers, type the following PRODUCT INSTALL command:
    $ 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
    $
    

  11. Installation takes about 2-5 minutes (depending on your system). When installation has been completed, the DCL $ prompt reappears.

  12. To obtain a list of files installed, type the following command:
    $ PRODUCT SHOW OBJECT /PRODUCT=(FORTRAN, FORRTL) 
    

To use other features of the PCSI utility, see the POLYCENTER Software Installation Utility User's Guide.


Copyright © 1997, Digital Equipment Corporation -- All rights reserved.

Click to return to the table of contents.