Digital_Fortran_____________________________________ Installation Guide for Digital UNIX Systems Order Number: AA-PW82C-TE March 1996 This guide describes how to install Digital Fortran on an Alpha processor running the Digital UNIX (formerly DEC OSF/1) operating system. It also describes how to read the online release notes. Revision/Update Information: This manual supersedes all previous versions of the DEC Fortran and DEC Fortran 90 installation guides for Digital UNIX systems. Operating System: Digital UNIX Version 3.0 (or higher; see Section 1.1) Software Version: Digital Fortran Version 4.0 for Digital UNIX Systems (or higher) Digital Equipment Corporation Maynard, Massachusetts ________________________________________________________________ First Printing, February, 1993 Revised, September, 1994 Revised, March 1996 Digital Equipment Corporation makes no representations that the use of its products in the manner described in this publication will not infringe on existing or future patent rights, nor do the descriptions contained in this publication imply the granting of licenses to make, use, or sell equipment or software in accordance with the description. Possession, use, or copying of the software described in this publication is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. © Digital Equipment Corporation 1996. All Rights Reserved. The following are trademarks of Digital Equipment Corporation: AlphaGeneration, AXP, DEC, DEC Fortran, DECwindows, DECsupport, Digital, VAX, VAX DOCUMENT, and the DIGITAL logo. The following are third-party trademarks: OSF and OSF/1 are registered trademarks of the Open Software Foundation, Inc. PostScript is a registered trademark of Adobe Systems, Inc. UNIX is a registered trademark licensed exclusively by X /Open Company Ltd. ZK6326 This document is available on CD-ROM. This document was prepared using VAX DOCUMENT Version 2.1. _______________________________________________________________ Contents ................................................... v Preparing for Digital Fortran Installation 1.1 The Software Product Library CD-ROM and Installation-Related Documentation Files...... 1-2 1.2 Registering Your Software License............. 1-3 1.3 Checking the Software Distribution Kit........ 1-4 1.4 Checking Installation Procedure Requirements.................................. 1-5 1.4.1 Login Privileges.......................... 1-5 1.4.2 Hardware Requirements..................... 1-5 1.4.3 Software Requirements..................... 1-5 1.4.4 Determining Which Digital Fortran Subsets to Load................................... 1-7 1.4.5 Determining Disk Space Requirements....... 1-12 1.4.5.1 Checking Current Disk Space............. 1-14 1.4.5.2 Increasing Disk Space by Using Alternative Disks....................... 1-15 1.5 Installing from Media or Using RIS............ 1-16 1.6 Backing Up Your System Disk................... 1-16 1.7 Stopping the Installation..................... 1-16 1.8 Recovering from Installation Errors........... 1-17 Installing Digital Fortran 2.1 Starting the Installation Procedure........... 2-1 2.1.1 Using CD-ROM Software Product Library Media for Local Installations............. 2-1 2.1.2 Using a RIS Distribution Area for Remote Installations............................. 2-3 2.2 Responding to Installation Prompts............ 2-4 2.2.1 Selecting Digital Fortran Subsets......... 2-4 iii 2.2.2 Monitoring Displays During the Subset Loading Process........................... 2-7 3 After Installation 3.1 Running the Installation Verification Procedure (IVP)............................... 3-1 3.2 Deleting Digital Fortran from Your System..... 3-2 3.3 Running Digital Fortran Applications ......... 3-3 3.3.1 Shared Libraries ......................... 3-3 3.3.2 The Message Catalog ...................... 3-4 A Sample Digital Fortran Version 4.0 Listings A.1 Sample Digital Fortran Installation........... A-1 A.2 Sample Digital Fortran Installation Verification Procedure (IVP).................. A-5 Tables 1 Conventions Used in This Document......... ix 1-1 Required Subsets for Digital Fortran Compilers................................. 1-7 1-2 Digital Fortran Subset Sizes (Disk Space Requirements)............................. 1-13 iv _________________________________________________________________ Preface This guide explains how to install Digital Fortran on an Alpha processor running the Digital UNIX operating system. It also describes how to read the online release notes. This guide does not describe how to install the Digital Parallel Software Environment, which is described in the Digital High Performance Fortran 90 HPF and PSE Manual. You must install Digital Fortran before you install any compilation components of Digital Parallel Software Environment. The Digital Fortran installation procedure creates directories subordinate to the /usr/lib/cmplrs and /usr/man directories and loads Digital Fortran software. Keep this guide with your distribution kit. You will need it to install maintenance updates or to reinstall Digital Fortran for any other reason. Intended Audience This guide is intended for system administrators who install Digital Fortran. The online release notes are intended for all users of Digital Fortran (see Section 1.1). Structure of This Document This guide contains the following chapters and appendixes: o Chapter 1 describes the hardware and software requirements for Digital Fortran installation and how to read the Digital Fortran release notes. It also lists related procedures that you must complete before installing Digital Fortran. v o Chapter 2 describes how to install Digital Fortran. o Chapter 3 describes the Installation Verification Procedure (IVP) and how to remove Digital Fortran from your system. It also describes the files you need to run Digital Fortran applications. o Appendix A contains sample listings for an interactive Digital Fortran installation and IVP. Associated Documentation In addition to this guide, the Digital Fortran documentation set includes the following: o A language reference manual, either the DEC Fortran 90 Language Reference Manual (for the DEC Fortran 90 language) or the DEC Fortran Language Reference Manual (for the DEC Fortran language). o A user manual, either the Digital Fortran 90 User Manual for Digital UNIX Systems or the DEC Fortran User Manual for DEC OSF/1 AXP Systems o A letter titled Read Before Installing or Using Digital Fortran Version n.n for Digital UNIX Alpha Systems (which is provided online on the CD-ROM) Please read this letter; it contains important information about installing Digital Fortran that may not be included in this installation guide or in the release notes. The Digital Fortran online release notes provide more information on this version of Digital Fortran. You can view or print the release notes files located on the media CD-ROM (see Section 1.1) at any time. After installation, the release notes are installed in: /usr/lib/cmplrs/fort90/relnotes (Digital Fortran 90 compiler) /usr/lib/cmplrs/fort/relnotes (Digital Fortran 77 compiler) The Digital Fortran online reference pages describe the Digital Fortran software components. These reference pages include f90(1), f77(1), fpr(1), fsplit(1), intro(3f), intro(3hpf), and numerous section 3f and 3hpf reference pages. vi The Digital UNIX documentation set includes online reference pages and hardcopy documentation on installing software and on aspects of the programming environment. You may want to refer to the Digital UNIX Documentation Overview, Glossary, and Master Index, which includes a list of books in the programmer's subkit. The following manuals in the Digital UNIX documentation set contain information relevant to installing software: o Digital UNIX Installation Guide o Digital UNIX System Administration o Digital UNIX Software License Management o Digital UNIX System Tuning and Performance Management o Digital UNIX Network Configuration o Digital UNIX Network Administration and Problem Solving o Digital UNIX User's Guide Sending Digital Your Comments on This Manual We welcome your comments on this or any other Digital Fortran manual. You can send comments in the following ways: o Internet electronic mail: fortran_docs@zko.mts.dec.com o FAX: 603-881-0120 Attn: Languages Documentation, ZKO2-3 /K35 o A letter addressed to: Digital Equipment Corporation Languages Documentation, ZKO2-3/K35 110 Spit Brook Road Nashua, NH 03062-2698 USA o The online questionnaire form. Send the form located near the end of the online release notes to our Internet address or send it by Internet mail, FAX, or through the postal service. vii If you have suggestions for improving a particular section or find any errors, please indicate the title, order number, and section (if available). Digital also welcomes general comments. Getting Help from Digital If you have a customer support contract and have comments or questions about Digital Fortran software, you can contact Digital's Customer Support Center (CSC). For more information, see Section 1.8. Conventions Table 1 lists the conventions used in this document. viii Table_1_Conventions_Used_in_This_Document__________________ Convention_______Meaning___________________________________ # A pound sign (#) is the default superuser prompt. % A percent sign (%) is the default user prompt. In examples, a boxed symbol indicates that you must press the named key on the keyboard. Ctrl/C This symbol indicates that you must press the Ctrl key while you simultaneously press another key (in this case, C). # df /usr In interactive examples, typed user input Filesystem appears in a bold typeface. monospaced In text, this typeface indicates the exact name of a command, routine, partition, pathname, directory, or file. In interactive examples and other screen displays, this typeface indicates what appears on the screen. UPPERCASE The Digital UNIX operating system lowercase differentiates between lowercase and uppercase characters. Literal strings that appear in text, examples, syntax descriptions, and function definitions must be typed exactly as shown. (continued on next page) ix Table_1_(Cont.)_Conventions_Used_in_This_Document__________ Convention_______Meaning___________________________________ setld(8) Cross-references to online reference pages include the appropriate section number in parentheses. For example, setld(8) indicates that you can find the material on the setld command in Section 8 of the reference pages. [y] In a prompt, square brackets indicate that the enclosed item is the default response. For example, [y] means the default response is Yes. DEC OSF/1, References to DEC OSF/1 and Digital UNIX Digital UNIX refer to the same operating system. DEC Fortran References to DEC Fortran and DEC Fortran DEC Fortran 90 90 refer to the merged Digital Fortran Digital Fortran product. For more information, see the Read Before Installing or Using Digital Fortran Version n.n for Digital UNIX Alpha _________________Systems.__________________________________ Unless otherwise noted, press the Return key after entering commands or responses to command prompts. In this manual, some version numbers are given as "Vn.n" or (in subset identifiers) "nnn". When you install Digital Fortran, the actual version numbers appear on your screen. x 1 _________________________________________________________________ Preparing for Digital Fortran Installation For this release of Digital Fortran, Digital is providing two separate compilers (Digital Fortran 77 and Digital Fortran 90) under one license and one name (Digital Fortran). You may choose to install and/or use either compiler or both compilers. Before starting the installation procedure in Chapter 2, you should complete the preparations explained in this chapter. This chapter provides the following information to make your installation run smoothly: o Using the media CD-ROM to read the online Release Notes and "read first" cover letter (Section 1.1) o How to register your Software License (Section 1.2) o How to determine if your distribution kit is complete (Section 1.3) o How long it takes to install Digital Fortran (Section 1.4) o What system privileges you need for installing Digital Fortran (Section 1.4.1) o How to determine if the system where you will install Digital Fortran meets the hardware and software requirements (Sections 1.4.2 and 1.4.3) o Which Digital Fortran subsets you must install and which are optional (Section 1.4.4) o How much disk space you will need for installing Digital Fortran (Section 1.4.5) o How to determine if you must install Digital Fortran from distribution media or if you can use the Remote Installation Service (RIS) (Section 1.5) Preparing for Digital Fortran Installation 1-1 o Whether you should back up your system disk before the installation (Section 1.6) o How to stop the installation procedure (Section 1.7) o How to recover from installation errors (Section 1.8) 1.1 The Software Product Library CD-ROM and Installation-Related Documentation Files The Digital UNIX Alpha Software Product Library CD-ROM (media CD-ROM) set provides the following files: o Digital Fortran installation kit files o Digital Fortran documentation files, including a "read first" cover letter, this installation guide, and other files o Online CD documentation files in the /readme directory on the first media CD-ROM, including a CD user guide and master list of CD products o A cdmenu utility To determine whether the appropriate media CD-ROM is already mounted on your system, contact the appropriate system administrator. Digital Fortran provides online release notes and a "read first" cover letter. The release notes and cover letter are provided on the media CD-ROM set in the Digital Fortran product documentation subdirectory. To obtain the location of the Digital Fortran main product directory on the appropriate media CD-ROM, do one of the following: o Use the cdmenu utility provided on the media CD-ROM. o View the CD master index file on the media CD-ROM. o Contact the appropriate system administrator. For information about using the cdmenu utility and the CD files on the media CD-ROM set, see the Software Product Library CD-ROM User's Guide (CD user guide), which accompanies the media CD-ROM distribution kit. The CD user guide and CD master index file are provided as online files in the /readme directory on the first media CD-ROM. 1-2 Preparing for Digital Fortran Installation Digital strongly recommends that you read the online release notes and the "read first" cover letter before installing Digital Fortran. They contain information about changes to the installation and use of Digital Fortran, such as the minimum version of the Digital UNIX Alpha operating system required for this release of Digital Fortran. The online release notes list the subset numbers for this Digital Fortran version. Once the appropriate media CD-ROM has been mounted (see Section 2.1.1) and the appropriate Digital Fortran documentation subdirectory located, use an ls command to determine the file name of the Digital Fortran cover letter and release notes. You can view or print the release notes, the cover letter, and this installation guide at any time from the media CD-ROM. To read the Digital Fortran documentation files, do one of the following: o Use a more or view command to display the ASCII version of the online documentation files on your screen o Use an lpr command to print the ASCII or PostScript version of the online documentation files to a printer After installation, the release notes for Digital Fortran are in the following files: /usr/lib/cmplrs/fort90/relnotes /usr/lib/cmplrs/fort/relnotes 1.2 Registering Your Software License Digital Fortran includes support for the License Management Facility (LMF). You must register your License Product Authorization Key (License PAK) in the License Database (LDB) in order to use Digital Fortran on a newly-licensed node. The License PAK may be shipped along with the kit if you ordered the license and media together; otherwise, it is shipped separately to a location based on your license order. Preparing for Digital Fortran Installation 1-3 If you are installing Digital Fortran as an update on a node already licensed for this software, you have already completed the License PAK registration requirements. To register a license for Digital UNIX, follow these steps: 1. Log in as superuser. 2. At the superuser prompt, enter the following command to edit your License PAK: # lmf register An empty PAK template is displayed in a text editor (vi by default). Enter all the information from your License PAK form. 3. After you register your license, use the following command to copy the license details from the LDB to the kernel cache: # lmf reset For complete information on using the License Management Facility, see the Digital UNIX Software License Management and the lmf(8) reference page. 1.3 Checking the Software Distribution Kit Use the Bill of Materials (BOM) to check the contents of your Digital Fortran software distribution kit. The software distribution kit includes the following: o One or more CD-ROM optical disks containing Digital UNIX layered products (media CD-ROM set) o A user guide for the media CD-ROM set and a CD read first letter If your software distribution kit is damaged or incomplete, contact your Digital representative. 1-4 Preparing for Digital Fortran Installation 1.4 Checking Installation Procedure Requirements Section 1.4.1 through Section 1.4.5 discuss various requirements for installing Digital Fortran. Installing Digital Fortran, including running the Installation Verification Procedure (IVP), takes approximately 10 to 15 minutes, depending on your type of media and system configuration. 1.4.1 Login Privileges You must have superuser privileges to install the Digital Fortran software and to register the license PAK. 1.4.2 Hardware Requirements To install Digital Fortran, you need the following hardware: o Software distribution device (if installing from media) Locate an available drive for the CD-ROM software distribution media. The documentation for the CD-ROM drive you are using explains how to insert the media CD-ROM. o Terminal You can use either a hardcopy or video terminal to communicate with the operating system and respond to prompts from the installation procedure. For additional hardware requirements, see the Digital Fortran Software Product Description (SPD). 1.4.3 Software Requirements Digital Fortran Version 4.0 requires Digital UNIX Version 3.0 (or higher). Future releases of Digital Fortran may require higher Digital UNIX versions. For information about the minimum version of the operating system required, see the online release notes or the Read Before Installing or Using Digital Fortran Version n.n for Digital UNIX Alpha Systems letter (see Section 1.1). Preparing for Digital Fortran Installation 1-5 Digital Fortran also requires that the following Digital UNIX subsets be loaded on the system where you install Digital Fortran: o OSFBASE - the "Base System" subset o OSFCMPLRS - the "Compiler Back End" subset o OSFPGMR - the "Software Development Environment" subset ________________________ Note ________________________ Beginning with Digital UNIX Version 4.0, the OSFCMPLRS subset now consists of the following multiple subsets: o OSFCMPLRS (required for program development) o OSFSDE (profiling tools) o OSFLIBA (archive libraries) o OSFINCLUDE (include files) o OSFATOM (atom tools) Some of these subsets may require a separate license. For more information, see the Digital UNIX Installation Guide for your version of the Digital UNIX operating system. ______________________________________________________ To install the Digital Fortran reference pages (manual pages), the following Digital UNIX software subsets must be installed on the system where you install Digital Fortran: o OSFMANOS - the "Admin/User" online manual pages o OSFMANOP - the "Programming" online manual pages o OSFDCMT - the document preparation software To check whether these subsets are loaded, follow these steps: 1. Log in to the system where you will install Digital Fortran. 2. Enter the following command: # setld -i | egrep 'OSFBASE|OSFCMPLRS|OSFPGMR|OSFMANOS|OSFMANOP|OSFDCMT' 1-6 Preparing for Digital Fortran Installation If you do not log in as superuser (login name root), you must enter the full path of the command. For example: % /usr/sbin/setld -i | grep OSFBASE Check the displayed rows for the name of the relevant subset and any related patches. The word "installed" appears in a row after the subset identifier when a subset is loaded. If the word "installed" does not appear (the second column in a row is blank), the subset or patch is not loaded. In this case, you must load the missing Digital UNIX software before installing Digital Fortran. (For information on how to load Digital UNIX operating system software, see the Digital UNIX Installation Guide.) 1.4.4 Determining Which Digital Fortran Subsets to Load You must choose the Digital Fortran subsets you want to load. Note that there are two separate compilers included in this kit. Table 1-1 indicates which subsets are required to use each compiler. Table_1-1_Required_Subsets_for_Digital_Fortran_Compilers___ Digital Digital Subset_Name___Fortran_90____Fortran_77____Both_____________ F9ABASE Required F9ADOC Required PSESHPF Required DFABASE Required DFADOC Required DFACOM Required DFARTL____________________________________Required_________ You may choose to install both compilers which allows you to use either compiler at compile-time. Preparing for Digital Fortran Installation 1-7 In the subset identifiers starting with "F9A," the nnn represents the version number of Digital Fortran 90. In the subset identifiers starting with "DFA", the nnn represents the version number of Digital Fortran 77. In the subset identifier DFACOMnnn and PSESHPFnnn, the nnn represents the current version of those subsets. The subsets have the following identifiers and titles: o F9ABASEnnn (title: Digital Fortran 90 Vn.n for Digital UNIX Alpha Systems) This is the primary subset for Digital Fortran 90 and depends on DFARTLnnn and PSESHPFnnn. ________________________ Note ________________________ You must install the F9ABASEnnn, DFARTLnnn, and PSESHPFnnn subsets to compile, link, and run Fortran programs using Digital Fortran 90. ______________________________________________________ This subset installs its files in the following directories: /usr/lib/cmplrs/fort90 /usr/lib/cmplrs /usr/bin /usr The directory /usr/lib/cmplrs/fort90 is a symbolic link to the directory /usr/lib/cmplrs/fort90_nnn. o DFARTLnnn (title: Digital Fortran RTL for Digital UNIX Alpha Runtime Support) This subset supports both Digital Fortran 77 and Digital Fortran 90 and contains: - Static and shared versions of the Digital Fortran runtime libraries - The Digital Fortran 77 and Digital Fortran message catalog 1-8 Preparing for Digital Fortran Installation This subset (or a higher version) is a prerequisite for the DFABASEnnn and the F9ABASEnnn subsets. Always choose this subset if it appears in your menu and if you are also installing F9ABASEnnn or DFABASEnnn. During the Digital Fortran installation procedure, if you choose DFARTLnnn, it will not be installed if there is already a more recent version on your system. This subset installs files in the following directories: /usr/lib/nls/msg/en_US.ISO8859-1 /usr/lib/cmplrs/fortrtl /usr/lib/cmplrs /usr/lib /usr/shlib The directory /usr/lib/cmplrs/fortrtl is a symbolic link to the directory /usr/lib/cmplrs/fortrtl_nnn. o PSESHPFnnn (title: High Performance Fortran Scalar Libraries) This subset contains: - The nonparallel (serial) version of the High Performance Fortran (HPF) run-time library - Associated reference pages for HPF_LIBRARY and HPF_ LOCAL_LIBRARY, including intro(3hpf) The parallel and parallel profiling versions of this library are installed with the Digital Parallel Software Environment kit. This subset installs its files in the following directories: /usr/lib/cmplrs/hpfrtl_nnn /usr/lib/cmplrs/hpfrtl /usr/lib /usr/shlib /usr/man/man3 The directory /usr/lib/cmplrs/hpfrtl is a symbolic link to the directory /usr/lib/cmplrs/hpfrtl_nnn. o F9ADOCnnn (title: Digital Fortran 90 Vn.n Release Notes and Man Pages) Preparing for Digital Fortran Installation 1-9 This subset contains: - The online release notes for Digital Fortran 90 - The f90(1) reference page - A list of files in the Digital Fortran 90 kit (file /usr/lib/cmplrs/fort90/filelist) Because the f90(1) reference page and the Digital Fortran release notes must be available to programmers using Digital Fortran, you should load this subset. To view these files before proceeding with the Digital Fortran installation, you can choose to install this subset first. This subset installs its files in the directory /usr/lib/cmplrs/fort90, a symbolic link to the directory /usr/lib/cmplrs/fort90_nnn. o DFABASEnnn (title: Digital Fortran 77 Vn.n for Digital UNIX Alpha Systems) This is the primary subset for Digital Fortran 77 and depends on DFARTLnnn. You must install this subset to compile, link, and run Digital Fortran 77 programs. This subset installs its files in the following directories: /usr/lib/cmplrs /usr/lib/cmplrs/fort /usr/bin The directory /usr/lib/cmplrs/fort is a symbolic link to the directory /usr/lib/cmplrs/fort_nnn. o DFADOCnnn (title: Digital Fortran 77 Vn.n Release Notes and Man Pages) This subset contains: - The online release notes for Digital Fortran 77 - The f77(1) reference page - A list of files in the DEC Fortran 77 kit (file /usr /lib/cmplrs/fort/filelist) Because the f77(1) reference page and the Digital Fortran 77 release notes must be available to programmers using Digital Fortran, you should load this subset. 1-10 Preparing for Digital Fortran Installation To view these files before proceeding with the Digital Fortran installation, you can choose to install this subset first. This subset installs its files in the /usr/lib/cmplrs/fort directory, a symbolic link to the directory /usr/lib/cmplrs/fort_nnn. o DFACOMnnn (title: Digital Fortran Vn.n Tools & their Man Pages) This subset contains: - All unformatted Section 3f reference pages - All include files (such as /usr/include/foriosdef.f) - Certain Digital Fortran utilities and their reference pages (such as fsplit) - Libraries required by certain 3f library routines If disk space is a concern, you can omit installing this subset. This subset and its files are used by Digital Fortran 77 (f77 command). This subset installs its files in the following directories: /usr/bin /usr/include /usr/lib /usr/shlib /usr/man/man1 /usr/man/man3 Because the DFACOMnnn, F9ADOCnnn, and DFADOCnnn, subsets contain reference pages, you can load them only if the appropriate Digital UNIX reference pages subsets are already loaded on your system (see Section 1.4.3). Users on the system where Digital Fortran is being installed may use reference pages that are nfs mounted from another system. If so, consider loading the reference pages subsets only on the other system (not the system where you are installing Digital Fortran). Preparing for Digital Fortran Installation 1-11 When reference pages are nfs mounted on another system, do not request the DFACOMnnn, F9ADOCnnn, and DFADOCnnn subsets during the Digital Fortran installation. After the installation is complete, you can log in to the system where the reference pages are installed and load only the Digital Fortran DFACOMnnn, F9ADOCnnn, and DFADOCnnn subsets on that system. In addition to being supplied with Digital Fortran, some or all of these subsets are included on the Digital UNIX operating system CD-ROM distribution media (see Section 3.3). For information about loading specific subsets, see the setld(8) reference page. 1.4.5 Determining Disk Space Requirements Table 1-2 lists the disk space requirements for loading Digital Fortran software subsets. These disk space requirements apply to the disks where you load the Digital Fortran subsets. The disk space requirements are listed by directory for convenience if you are doing installations on systems where these directories are mount points for different disk partitions. 1-12 Preparing for Digital Fortran Installation Table 1-2 Digital Fortran Subset Sizes (Disk Space __________Requirements)____________________________________ Kbytes Subset_Name__Directory__________________________Required___ F9ABASEnnn /usr 1 /usr/bin 1 /usr/lib/cmplrs 1 /usr/lib/cmplrs/fort90_nnn _8075 Total: 8078 DFARTLnnn /usr/lib 1 /usr/lib/cmplrs 1 /usr/lib/cmplrs/fortrtl_nnn 2450 /usr/lib/nls/msg/en_US.ISO8859-1 1 /usr/shlib ____1 Total: 2454 F9ADOCnnn /usr/lib/cmplrs/fort90_nnn 120 DFACOMnnn /usr/bin 110 /usr/include 35 /usr/man/man1 5 /usr/man/man3 180 /usr/lib 360 /usr/shlib ___30 Total: 720 PSESHPFnnn /usr/lib 1 /usr/lib/cmplrs/hpfrtl 1 /usr/lib/cmplrs/hpfrtl_nnn 1250 /usr/man/man3 1 /usr/shlib ____1 Total: 1254 DFABASEnnn /usr 1 /usr/bin 1 /usr/lib/cmplrs 1 /usr/lib/cmplrs/fort_nnn _4750 Total: 4753 DFADOCnnn /usr/lib/cmplrs/fort_nnn 130 _____ ___________________________Grand_Total:_________17509______ Preparing for Digital Fortran Installation 1-13 Using these disk space requirements, total the values for the subsets you will load in each directory. Compare the space required for subsets with the free space currently on the disks where Digital Fortran files will reside. If you need precise information on the sizes of individual Digital Fortran files in the various directories, view the file /usr/lib/cmplrs/fort90/filelist or the file /usr/lib /cmplrs/fort/filelist. 1.4.5.1 Checking Current Disk Space To check the current amount of free space for a directory path, log in to the system where you will install Digital Fortran. You can check which directories are mounted and where they are by viewing the /etc/fstab file. For example: # more /etc/fstab /dev/rd0a:/:rw:1:1:ufs:: /dev/rd0g:/usr:rw:1:2:ufs:: /usr/staff/r1/leslie@bigsys:/usr/staff/r1/leslie:rw:0:0:nfs:bg: /usr/man@bigsys:/usr/man:ro:0:0:nfs:bg: This display indicates that /usr (mounted to /dev/rd0g) is the only mount point that affects where Digital Fortran files will reside; the system has only one local disk drive, and the /usr/lib and /usr/lib/cmplrs file systems reside in the g partition of the disk on that drive. To check total space and free space for the directories where Digital Fortran files will reside, enter the df command. In the case of the previous display of the /etc /fstab file, which shows that only /usr is a mount point, you need to check free space only in the /usr file system, as follows: # df /usr Filesystem Total kbytes kbytes % node kbytes used free used Mounted on /dev/rd0g 122598 54447 55892 49% /usr This display indicates there are 55892 Kbytes free. This free space must accommodate the subset requirements listed in Table 1-2. 1-14 Preparing for Digital Fortran Installation On systems where /usr/lib and /usr/man are mounted to different devices from /usr, enter the following command: # df /usr/lib /usr/man In this case, you would compare space required for Digital Fortran files in /usr/lib with the free space displayed in the first line of the df output list. You would compare the space required for Digital Fortran files in /usr/man with the free space displayed in the second line of that list. 1.4.5.2 Increasing Disk Space by Using Alternative Disks The Digital Fortran installation procedure creates some directories and loads files into subordinate directories, as listed in either of the following files: /usr/lib/cmplrs/fort90/filelist /usr/lib/cmplrs/fort/filelist If the /usr/lib/cmplrs directory does not exist, the Digital Fortran installation procedure creates it; if this directory does exist, the installation procedure uses it. If you find that there is insufficient disk space for the Digital Fortran subsets and if you know that there is additional space on other disks or disk partitions for your system, take the following steps before installing Digital Fortran: 1. Log in as superuser (login name root) to the system where you will install Digital Fortran. 2. Create one or both of the following directories: /usr/lib/cmplrs /usr/lib/cmplrs/fort90_nnn or /usr/lib/cmplrs/fort_nnn Directory /usr/lib/cmplrs/fort90 is a symbolic link to the directory /usr/lib/cmplrs/fort90_nnn. Directory /usr/lib/cmplrs/fort is a symbolic link to the directory /usr/lib/cmplrs/fort_nnn. (In these directory names, nnn is the Digital Fortran version number.) 3. Specify in the /etc/fstab file that one or more of the newly created directories are mount points to new disk partitions where there is additional space. Preparing for Digital Fortran Installation 1-15 4. Enter the mount -a command so that the new mount points take effect. 1.5 Installing from Media or Using RIS Someone from your site must perform at least one Digital Fortran installation from the distribution medium. Your site system administrator can then decide whether or not to make a Digital Fortran distribution kit available online, so that subsequent installations of Digital Fortran can use the Remote Installation Service (RIS). For information on extracting Digital Fortran subsets to a RIS distribution area, see your Digital UNIX system management documentation. If you expect to use Digital Fortran subsets from a RIS area of a remote system for installation on your local system, first check with your site system administrator to ensure the following: o A Digital Fortran network kit is available for use. o Your system is registered as a RIS client. For more information on installing Digital Fortran from a RIS distribution area, see Section 2.1.2. 1.6 Backing Up Your System Disk Digital recommends that you back up your system disk before installing Digital Fortran or any software. Use the backup procedures established at your site. For information about backing up your system disk, see the Digital UNIX system documentation. 1.7 Stopping the Installation To stop the installation procedure at any time, enter Ctrl /C. You must then delete files created interactively up to this point. The directories and files created during the Digital Fortran installation are listed in the following files: /usr/lib/cmplrs/fort90/filelist /usr/lib/cmplrs/fort/filelist 1-16 Preparing for Digital Fortran Installation 1.8 Recovering from Installation Errors If errors occur during the installation, the system displays appropriate error messages. For example, if the installation of the F9ABASEnnn subset fails due to insufficient disk space, the installation procedure displays the following message: There is not enough space for subset F9ABASEnnn Digital Fortran (F9ABASEnnn) will not be loaded. Errors can occur during the installation if any of the following conditions exist: o The operating system version is incorrect. o The prerequisite software version is incorrect. o The system parameter values for successful installation are insufficient. For descriptions of error messages generated by these conditions, see the Digital UNIX documentation on system messages and software installation. If any of these conditions exist, take the appropriate action described in the message. For information on system requirements for installing Digital Fortran, see Section 1.4.3. If an error occurs while Digital Fortran is in use and you believe the error is caused by a problem with Digital Fortran, take one of the following actions: o If you have a Software Product Services Support Agreement, consider contacting your Customer Support Center (CSC) by telephone (in the United States, 1-800- 354-9000) or by using the electronic means provided with your support agreement. You can use DSNlink or other electronic means to report the problem to the CSC. o Customers without a service contract can arrange for per-call CSC support. When you initially contact the CSC, please indicate the following: 1. The name and version number of the operating system you are using 2. The name and version number of Digital Fortran you are using Preparing for Digital Fortran Installation 1-17 3. The hardware system you are using (such as a model number) 4. Whether or not the problem is critical 5. A very brief description of the problem (one sentence if possible) When you submit information electronically or are speaking on the phone to the appropriate support specialist, you can provide more detailed information. This includes the specific commands used to compile and link the program, the error messages displayed, and relevant detailed information (possibly including source program listings). Please try to narrow the cause of the problem to a specific module or lines of code. CSC personnel may ask for additional information, such as listings of any command files, INCLUDE files, relevant data files, and so forth. If the program is longer than 50 lines, submit a copy of it electronically or provide machine-readable media (floppy diskette or magnetic tape). For information about submitting media, see the tar(1) reference page. Experience shows that problem reports sometimes do not contain enough information to duplicate or identify the problem. Concise, complete information helps Digital give accurate and timely service to software problems. If the problem is related to Digital Fortran documentation, you can use the Internet mail address or FAX number listed on the "Send Us Your Comments" section in the front of this guide. 1-18 Preparing for Digital Fortran Installation 2 _________________________________________________________________ Installing Digital Fortran This chapter describes how to install Digital Fortran, as follows: o How to install your kit locally using CD-ROM media (Section 2.1.1) o How to install your kit remotely using a RIS distribution area (Section 2.1.2) o How to respond to installation prompts (Section 2.2) Before you start the installation, read Chapter 1, which describes the requirements and general options for installing Digital Fortran using the media CD-ROM. 2.1 Starting the Installation Procedure Digital Fortran can be installed locally (using CD-ROM media) or from a server area. 2.1.1 Using CD-ROM Software Product Library Media for Local Installations The installation procedure loads Digital Fortran files on to a disk belonging to the system where you perform the installation. When Digital Fortran is run, its executable images are mapped into memory on your system. Follow these steps to install Digital Fortran from the Software Products Library CD-ROM set: 1. To obtain the kit directory location of the Digital Fortran subsets on the appropriate Software Product Library CD-ROM (media CD-ROM), do one of the following: o Use the cdmenu utility provided on the media CD-ROM o View the CD master index file on the media CD-ROM o Contact the appropriate system administrator Installing Digital Fortran 2-1 For information about using the cdmenu utility and the CD 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 master index file are provided as online files in the /readme directory on the first media CD-ROM. 2. If the media CD-ROM containing the Digital Fortran installation files is not mounted, either contact the appropriate system administrator or insert the appropriate media CD-ROM into an available CD-ROM drive. 3. Log in as superuser (login name root) to the system where you will install Digital Fortran. 4. Make sure you are at the root directory (/) by entering the following command: # cd / 5. Find out whether a previous version of Digital Fortran is installed by entering the following commands: # setld -i | egrep 'F9A|PSESH|DFA' If the directory /usr/sbin is not in your path, specify the path before the setld command (/usr/sbin/setld). If a version of Digital Fortran is not installed, skip to the next step. If multiple versions of the same subset exist, consider deleting the older versions. Before you delete the older subset versions, you might make sure that Fortran programmers using the system no longer need the older versions. For example, if the subset names F9ABASE, F9ADOC, and PSESHPF are displayed and are no longer needed, enter the following command. (In these subset names, nnn is the version number of the old subsets.) # setld -d F9ABASEnnn F9ADOCnnn PSESHPFnnn This command deletes the previous versions of the Digital Fortran subsets. For example, you might remove older subset versions from the system when you install a more recent version of Digital Fortran. 2-2 Installing Digital Fortran For more information on deleting subsets for previous versions before continuing the installation (including Digital Fortran subsets also used by other products), see Section 3.2. 6. Specify the /mnt directory to be the mount point for the distribution file system on the drive. If your drive is rz1, enter the following command: # mount -dr /dev/rz1c /mnt Once you mount the media CD-ROM, you can print or view the release notes and the "read first" cover letter, as described in Section 1.1. 7. To verify the location of the Digital Fortran main product directory on the appropriate media CD-ROM, type an ls command (see step 1), such as the following: # ls /mnt/product-directory/kit 8. Enter a setld command that requests the load function (-l option) and identifies the directory in the mounted file system where Digital Fortran Version 4.0 subsets are located: # setld -l /mnt/product-directory/kit Where product-directory is the main Digital Fortran directory listed in the CD user guide and CD master index file (such as dfa400). The installation procedure now displays the names of Digital Fortran subsets and asks you to specify the subsets you want to load. See Section 2.2 to continue the installation. 2.1.2 Using a RIS Distribution Area for Remote Installations If you are installing Digital Fortran subsets that reside in an /etc/ris (RIS) distribution area on a remote system, follow these steps: 1. Log in as superuser (login name root) to the system where you will install Digital Fortran. Installing Digital Fortran 2-3 2. Make sure you are at the root directory (/) by entering the following command: # cd / 3. Enter a setld command that requests the load function (-l option) and identifies the system where the Digital Fortran subsets are located. For example, if you are loading Digital Fortran subsets from a RIS distribution area on node orion, enter the following: # setld -l orion: Remote Installation Services now displays a menu that lists all the software subsets available to you and asks you to specify the subsets you want to load. See Section 2.2 to continue the installation. 2.2 Responding to Installation Prompts This section explains the installation procedure prompts and displays. Examples in this section use generic version numbers, such as "Vn.n" or (in subset identifiers) "nnn". During installation, the actual version numbers will appear on your screen. 2.2.1 Selecting Digital Fortran Subsets After you mount the media CD-ROM (for a local installation) and use setld to load and identify where the Digital Fortran subsets are located, specify which Digital Fortran subsets you want to load. ________________________ Note ________________________ If you are installing from a RIS distribution area, the numbers of the Digital Fortran subsets can vary depending on what products are available in the RIS area and how many subsets they have. ______________________________________________________ 2-4 Installing Digital Fortran *** Enter Subset Selections *** The subsets listed below are optional: There may be more optional subsets than can be presented on a single screen. If this is the case, you can choose subsets screen by screen or all at once on the last screen. All of the choices you make will be collected for your confirmation before any subsets are installed. 1) Digital Fortran 77 V4.n Release Notes and Man Page 2) Digital Fortran 77 V4.n for Digital UNIX Alpha Systems 3) Digital Fortran 90 V4.n for Digital UNIX Release Notes and Man Page 4) Digital Fortran 90 V4.n for Digital UNIX Systems 5) Digital Fortran RTL #nnn for Digital UNIX Alpha 6) Digital Fortran V4.n Tools & their Man Pages 7) High Performance Fortran Scalar Libraries Or you may choose one of the following options: 8) ALL of the above 9) CANCEL selections and redisplay menus 10) EXIT without installing any subsets Enter your choices or press RETURN to redisplay menus. Choices (for example, 1 2 4-6): The actual display shown on your system might not include certain lines if you have a recent version of Digital Fortran 77 or Digital Fortran 90 installed. For example, if the same version of the "Digital Fortran RTL #nnn for Digital UNIX Alpha" (subset DFARTL) on the Digital Fortran kit has already been installed, that line will not be displayed. The following text in this section assumes this is a new installation and all lines are displayed as shown above. To compile and run Fortran 77 programs using the Digital Fortran 77 tools, you must choose subset numbers 2, 5, and 6. To compile and run Fortran programs using the Digital Fortran 90 tools, choose 4, 5, and 6. Remember that you can exercise the option of installing both compilers now and deciding which to use on a per application basis. Installing Digital Fortran 2-5 To install only the online release notes without installing Digital Fortran, choose subset 1 or subset 3. If you specify more than one number at the prompt, separate each number with a space, not a comma. Enter 8 to install all of the listed subsets. ________________________ Note ________________________ The "DEC Compiled Code Support Library" (OTABASE subset) is no longer provided on the Digital Fortran kit. The contents of the OTABASE subset are now provided with the base operating system (OSFBASE subset). ______________________________________________________ Next, the procedure lets you verify your choice. For example, if you enter 8 in response to the previous prompt, the following display appears: You are installing the following optional subsets: Digital Fortran 77 V4.n Release Notes and Man Page Digital Fortran 77 V4.n for Digital UNIX Alpha Systems Digital Fortran 90 V4.n for Digital UNIX Release Notes and Man Page Digital Fortran 90 V4.n for Digital UNIX Systems Digital Fortran RTL #nnn for Digital UNIX Alpha Digital Fortran V4.n Tools & their Man Pages High Performance Fortran Scalar Libraries Is this correct? (y/n): If the displayed subsets are not the ones you intended to choose, enter n. In this case, the subset selection menu is again displayed, and you can correct your choice of optional subsets. If the displayed subsets are the ones you want to load, enter y. 2-6 Installing Digital Fortran 2.2.2 Monitoring Displays During the Subset Loading Process The installation procedure loads and verifies the selected Digital Fortran subsets. The following example shows a display where all Digital Fortran Version 1.3 subsets are being loaded from the media CD-ROM: Checking file system space required to install selected subsets: File system space checked OK. Copyright © Digital Equipment Corporation, 1996. All Rights Reserved. Parallel Software Environment for Digital UNIX V1.0-7 Subset: High Performance Fortran Scalar Libraries (PSESHPF107) Starting installation at Mon Mar 11 14:32:58 EST 1996. There are no installation questions for this subset. High Performance Fortran Scalar Libraries Copying from . (disk) Verifying Loading 2 of 7 subset(s).... Digital Fortran 90 V4.n for Digital UNIX Systems Copying from . (disk) Working....Mon Mar 11 14:33:47 EST 1996 Verifying Loading 3 of 7 subset(s).... Digital Fortran 90 V4.n for Digital UNIX Release Notes and Man Page Copying from . (disk) Verifying Loading 4 of 7 subset(s).... Digital Fortran RTL #nnn for Digital UNIX Alpha Copying from . (disk) Verifying Loading 5 of 7 subset(s).... Copyright Digital Equipment Corporation 1992,1996. All rights reserved Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. Installing Digital Fortran 2-7 This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. Digital Fortran 77 V4.n for Digital UNIX Alpha Systems Copying from . (disk) Verifying Loading 6 of 7 subset(s).... Digital Fortran V4.n Tools & their Man Pages Copying from . (disk) Verifying Loading 7 of 7 subset(s).... Copyright Digital Equipment Corporation 1992,1996. All rights reserved Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. Digital Fortran 77 V4.n Release Notes and Man Page Copying from . (disk) Verifying 7 of 7 subset(s) installed successfully. Creating softlinks for PSESHPF107 ...done. Parallel Software Environment for Digital UNIX V1.0-7 Subset: High Performance Fortran Scalar Libraries (PSESHPF107) Installation completed at Mon Mar 11 14:37:00 EST 1996. Configuring "High Performance Fortran Scalar Libraries" (PSESHPF107) Copyright (c) Digital Equipment Corporation, 1995, 1996. All Rights Reserved. Parallel Software Environment for Digital UNIX V1.0-7 Subset: High Performance Fortran Scalar Libraries (PSESHPF107) Starting configuration (INSTALL) at Mon Mar 11 14:37:02 EST 1996. Completing configuration (INSTALL) at Mon Mar 11 14:37:02 EST 1996. 2-8 Installing Digital Fortran F9ABASE400 : information : You can run the Installation Verification Procedure using the following command from root: setld -v F9ABASE400 Configuring "Digital Fortran 90 V4.n for Digital UNIX Systems" (F9ABASE400) F9ADOC400, information: The release notes are in /usr/lib/cmplrs/fort90/relnotes Configuring "Digital Fortran 90 V4.n for Digital UNIX Release Notes and Man Page" (F9ADOC400) Configuring "Digital Fortran RTL #nnn for Digital UNIX Alpha" (DFARTL368) DFARTL369, information: Shared libraries installed. DFABASE400, information: You can run the Installation Verification Procedure using the following command from root: setld -v DFABASE400 Configuring "Digital Fortran 77 V4.n for Digital UNIX Alpha Systems" (DFABASE400) Configuring "Digital Fortran V4.n Tools & their Man Pages" (DFACOM400) DFADOC400, information: The release notes are in ./usr/lib/cmplrs/fort/relnotes Configuring "Digital Fortran 77 V4.n Release Notes and Man Page" (DFADOC400) # When you see the "Verifying" message during the subset installation, the installation procedure is checking to see that the files are copied correctly; it is not an IVP message. This sample installation shows Version 4.0 subset numbers and the CD-ROM subset directory /mnt/dfa400/kit (where the Digital Fortran subsets are located on the locally mounted media CD-ROM). When installing a version after V4.0, the displayed numbers for the subsets, version, and subset directory will differ. The subset numbers are listed in the online release notes (see Section 1.1). Installing Digital Fortran 2-9 During the installation, if you get errors from the setld utility, see the Diagnostics section of the setld(8) reference page for an explanation of the errors and the appropriate actions to take. Chapter 3 explains how to run the Installation Verification Procedure (IVP) after installation and how to delete old Digital Fortran subsets before installing a new version of Digital Fortran. 2-10 Installing Digital Fortran 3 _________________________________________________________________ After Installation This chapter describes the following tasks performed after installing Digital Fortran: o How to run the Installation Verification Procedure (Section 3.1) o How to delete Digital Fortran from your system (Section 3.2) It also describes the files you need to run Digital Fortran applications (Section 3.3). 3.1 Running the Installation Verification Procedure (IVP) After installing Digital Fortran, you can run the Installation Verification Procedure (IVP) independently to verify that the software is available on your system. You might also want to run the IVP after a system failure to be sure that users can access Digital Fortran. The IVP verifies the installation by using the fverify command with the -y option (see the fverify(8) reference page). Depending on which Digital Fortran subsets you specify on the setld -v command line, the following checks might occur: o For the F9ABASEnnn and PSESHPFnnn subsets, the IVP compiles, links, and runs a Fortran program with Digital Fortran 90 tools. For the DFABASEnnn subsets, the IVP compiles, links, and runs a Fortran program with Digital Fortran 77 tools. o For other subsets, the IVP verifies that certain files are present. For instance, the DFARTLnnn and PSESHPFnnn subsets verify that the runtime libraries exist. After Installation 3-1 To run the IVP after an installation, enter the following command: # setld -v subset-name In this command, subset-name can be any Digital Fortran subset, such as F9ABASEnnn, F9ADOCnnn, DFABASEnnn, and DFADOCnnn. (For nnn, substitute the appropriate version number). For a sample listing of the Digital Fortran IVP, see Appendix A. If the verification process fails, look in the /var/adm/smlogs/fverify.log file for information to help diagnose the problem. 3.2 Deleting Digital Fortran from Your System If you must remove a version of Digital Fortran from your system, delete each subset that you previously installed. To delete subsets: 1. Log in as superuser (login name root). 2. Make sure you are at the root directory (/) by entering the following command: # cd / 3. Enter the following form of the setld command: # setld -i | egrep 'F9A|PSESH|DFA' 4. Look for the word "installed" in the listing produced. You can delete any subset names displayed in response to the previous command, especially older versions if multiple versions exist. For example: # setld -d F9ABASEnnn F9ADOCnnn PSESHPFnnn DFABASEnnn DFADOCnnn DFACOMnnn In this command, nnn is the version number (400 for Version 4.0 for example). For example, to delete the Digital Fortran Version 4.0 subsets, type the following command: # setld -d DFABASE400 DFADOC400 DFACOM400 ________________________ Note ________________________ If you plan to run Digital Fortran or DEC Fortran 3-2 After Installation applications, do not delete the DFARTL subset (see Section 3.3). Before you delete the DFACOM and DFARTL subsets, be aware that the Digital Fortran 77 product (DFABASE subset) and Digital Fortran 90 (F9ABASE subset) use these subsets. If you have one of these products installed and there is only one version of the subset on your system, do not delete that subset. If multiple versions of the same subset exist, before you delete the older versions, make sure that Fortran programmers using the system no longer need the older versions. ______________________________________________________ When you delete Digital Fortran, the /usr/lib/cmplrs/fort90_nnn directory is deleted and symbolic links are removed. If you have another version of Digital Fortran installed, then you must use the SELECT option to reestablish the symbolic links for the remaining version of Digital Fortran for each subset deleted. For example, to reestablish the symbolic links for the DFABASEnnn subset: # setld -c DFABASEnnn SELECT 3.3 Running Digital Fortran Applications You need Digital Fortran shared libraries and the message catalog to run Digital Fortran applications on your system. 3.3.1 Shared Libraries To run Digital Fortran applications compiled with the default -call_shared flag, you must have the following Digital Fortran subsets (and included shared libraries) installed: ___________________________________________________________ Subset_Name_____Shared_Libraries___________________________ DFACOMnnn libshcom.so DFARTLnnn libfor.so After Installation 3-3 ___________________________________________________________ Subset_Name_____Shared_Libraries___________________________ libUfor.so libFutil.so PSESHPFnnn______libshpf.so_________________________________ The shared library files included in the DFARTLnnn subset can be installed on any system licensed to run the Digital UNIX operating system. This allows executable programs created with Digital Fortran to be executed regardless of whether Digital Fortran is installed on that system. In addition to being supplied with Digital Fortran, some or all of these subsets are included on the Digital UNIX operating system CD-ROM distribution media (see the Digital UNIX Installation Guide). You should always use the most recent versions of these subsets. The Digital Fortran release notes list the versions of the subsets included in the Digital Fortran kit. 3.3.2 The Message Catalog The message catalog contains the text for all messages issued by the Digital Fortran run-time library. The message catalog should be installed on any system used to run Digital Fortran applications. If the message catalog is not present and a Digital Fortran application signals an error from the run-time library, you will see the error message number and a message saying that for_msg.cat is missing. The descriptive text for the error will not be displayed. The message catalog is included in the DFARTLnnn subset. This subset must be installed if you want to be able to read the descriptive text associated with Digital Fortran run-time library errors. The message catalog file included in the DFARTLnnn subset can be installed on any system licensed to run the Digital UNIX operating system. 3-4 After Installation DFARTLnnn subset is included with Digital Fortran and also in the /mnt/ALPHA/DEC_Fortran_RTL directory on the Digital UNIX operating system CD-ROM distribution media (see the Digital UNIX Installation Guide). You should always use the most recent version of this subset. The Digital Fortran release notes list the version of the DFARTL subset included in the Digital Fortran kit. The message catalog is installed in the /usr/lib/cmplrs /fortrtl directory and is pointed to by a symbolic link in /usr/lib/nls/msg/en_US.ISO8859-1. Digital Fortran uses the NLSPATH environment variable to find its run-time message catalog. If NLSPATH is not set, the default used is /usr/lib/nls/msg/en_US.ISO8859-1/for_msg.cat. If the Digital Fortran run-time library cannot find its message catalog, it displays a message that includes the following: Check environment variable NLSPATH and protection of /usr/lib/nls/msg/en_US.ISO8859-1/for_msg.cat In this case, check to see if for_msg.cat exists and that users have access to it. The for_msg.cat file is bundled with Digital Fortran. For more information on NLSPATH, see the Digital UNIX documentation or the catopen(3) reference page. After Installation 3-5 A _________________________________________________________________ Sample Digital Fortran Version 4.0 Listings This appendix provides listings of the following procedures: o A Digital Fortran installation from CD-ROM (Section A.1) o An Installation Verification Procedure (IVP) run after the installation (Section A.2) This installation guide is not revised for each release of Digital Fortran. When installing later versions of Digital Fortran, the displayed numbers for the subsets, version, and subset directory will differ. A.1 Sample Digital Fortran Installation The sample installation in this appendix shows: o Digital Fortran Version 4.0 subset numbers o Use of a locally mounted media CD-ROM and subset directory of /mnt/dfa400/kit (where the Digital Fortran subsets are located on the locally mounted media CD- ROM). o Installation on a system running Digital UNIX Version 3.2. The actual menu display shown on your system might not include certain lines if you have a recent version of Digital Fortran 77 or Digital Fortran 90 installed. This appendix shows a new installation (all lines are displayed). The subset numbers are listed in the online release notes (see Section 1.1). For an explanation about Digital Fortran installation (including the mount command), see Chapter 2. Sample Digital Fortran Version 4.0 Listings A-1 # setld -l /mnt/dfa400/kit The subsets listed below are optional: There may be more optional subsets than can be presented on a single screen. If this is the case, you can choose subsets screen by screen or all at once on the last screen. All of the choices you make will be collected for your confirmation before any subsets are installed. 1) Digital Fortran 77 V4.0 Release Notes and Man Page 2) Digital Fortran 77 V4.0 for Digital UNIX Alpha Systems 3) Digital Fortran 90 V4.0 for Digital UNIX Release Notes and Man Page 4) Digital Fortran 90 V4.0 for Digital UNIX Systems 5) Digital Fortran RTL #369 for Digital UNIX Alpha 6) Digital Fortran V4.0 Tools & their Man Pages 7) High Performance Fortran Scalar Libraries Or you may choose one of the following options: 8) ALL of the above 9) CANCEL selections and redisplay menus 10) EXIT without installing any subsets Enter your choices or press RETURN to redisplay menus. Choices (for example, 1 2 4-5): 8 You are installing the following optional subsets: Digital Fortran 77 V4.0 Release Notes and Man Page Digital Fortran 77 V4.0 for Digital UNIX Alpha Systems Digital Fortran 90 V4.0 for Digital UNIX Release Notes and Man Page Digital Fortran 90 V4.0 for Digital UNIX Systems Digital Fortran RTL #369 for Digital UNIX Alpha Digital Fortran V4.0 Tools & their Man Pages High Performance Fortran Scalar Libraries Is this correct? (y/n): y Checking file system space required to install selected subsets: File system space checked OK. 7 subset(s) will be installed. Loading 1 of 7 subset(s).... Copyright (c) Digital Equipment Corporation, 1995, 1996. All Rights Reserved. Parallel Software Environment for Digital UNIX V1.0-7 Subset: High Performance Fortran Scalar Libraries (PSESHPF107) A-2 Sample Digital Fortran Version 4.0 Listings Starting installation at Mon Mar 11 14:32:58 EST 1996. There are no installation questions for this subset. High Performance Fortran Scalar Libraries Copying from . (disk) Verifying Loading 2 of 7 subset(s).... Digital Fortran 90 V4.0 for Digital UNIX Systems Copying from . (disk) Working....Mon Mar 11 14:33:47 EST 1996 Verifying Loading 3 of 7 subset(s).... Digital Fortran 90 V4.0 for Digital UNIX Release Notes and Man Page Copying from . (disk) Verifying Loading 4 of 7 subset(s).... Digital Fortran RTL #369 for Digital UNIX Alpha Copying from . (disk) Verifying Loading 5 of 7 subset(s).... Copyright Digital Equipment Corporation 1992,1996. All rights reserved Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. Digital Fortran 77 V4.0 for Digital UNIX Alpha Systems Copying from . (disk) Verifying Loading 6 of 7 subset(s).... Digital Fortran V4.0 Tools & their Man Pages Copying from . (disk) Verifying Sample Digital Fortran Version 4.0 Listings A-3 Loading 7 of 7 subset(s).... Copyright Digital Equipment Corporation 1992,1996. All rights reserved Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. Digital Fortran 77 V4.0 Release Notes and Man Page Copying from . (disk) Verifying 7 of 7 subset(s) installed successfully. Creating softlinks for PSESHPF107 ...done. Parallel Software Environment for Digital UNIX V1.0-7 Subset: High Performance Fortran Scalar Libraries (PSESHPF107) Installation completed at Mon Mar 11 14:37:00 EST 1996. Configuring "High Performance Fortran Scalar Libraries" (PSESHPF107) Copyright (c) Digital Equipment Corporation, 1995, 1996. All Rights Reserved. Parallel Software Environment for Digital UNIX V1.0-7 Subset: High Performance Fortran Scalar Libraries (PSESHPF107) Starting configuration (INSTALL) at Mon Mar 11 14:37:02 EST 1996. Completing configuration (INSTALL) at Fri Mon Mar 11 14:37:02 EST 1996. F9ABASE400 : information : You can run the Installation Verification Procedure using the following command from root: setld -v F9ABASE400 Configuring "Digital Fortran 90 V4.0 for Digital UNIX Systems" (F9ABASE400) F9ADOC400, information: The release notes are in /usr/lib/cmplrs/fort90/relnotes Configuring "Digital Fortran 90 V4.0 for Digital UNIX Release Notes and Man Page" (F9ADOC400) Configuring "Digital Fortran RTL #369 for Digital UNIX Alpha" (DFARTL369) DFARTL369, information: Shared libraries installed. A-4 Sample Digital Fortran Version 4.0 Listings DFABASE400, information: You can run the Installation Verification Procedure using the following command from root: setld -v DFABASE400 Configuring "Digital Fortran 77 V4.0 for Digital UNIX Alpha Systems" (DFABASE400) Configuring "Digital Fortran V4.0 Tools & their Man Pages" (DFACOM400) DFADOC400, information: The release notes are in ./usr/lib/cmplrs/fort/relnotes Configuring "Digital Fortran 77 V4.0 Release Notes and Man Page" (DFADOC400) # A.2 Sample Digital Fortran Installation Verification Procedure (IVP) This sample installation verification procedure shows Digital Fortran subset numbers and displayed information for a Version 4.0 IVP, which will change for subsequent releases. # /usr/sbin/setld -v DFABASE400 Digital Fortran 77 V4.0 for Digital UNIX Alpha Systems (DFABASE400) DFABASE400: Starting Installation Verification Procedure (IVP). Copyright (c) Digital Equipment Corporation, 1992,1996. All rights reserved. If this IVP fails, please include the following when submitting a report: 1) This subset name, which is DFABASE400 2) Output from: ls -l /tmp/DFABASE400.ivptmp 3) This setld session IVP, information: Emptied scratch directory. IVP, information: Compiling and linking. IVP, information: Running. IVP, information: Execution successful. IVP, information: Cleaning up. IVP, information: DFABASE400 is properly installed. # /usr/sbin/setld -v DFABASE400 Digital Fortran 90 V4.0 for Digital UNIX Systems (F9ABASE400) Sample Digital Fortran Version 4.0 Listings A-5 F9ABASE400: Starting Installation Verification Procedure (IVP). Copyright (c) Digital Equipment Corporation, 1996. All rights reserved. If this fails, please include the following when submitting a report: 1) This subset name, which is F9ABASE400 2) Output from: ls -l /tmp/F9ABASE400.ivptmp 3) This setld session IVP, information: Created scratch directory. IVP : information : Compiling and linking IVP : information : Running IVP : information : Execution successful IVP : information : F9ABASE400 is properly installed A-6 Sample Digital Fortran Version 4.0 Listings