HP Fortran for Tru64 UNIX Alpha Systems Installation Guide September 2005 This guide describes how to install HP Fortran on an Alpha processor running the HP Tru64 UNIX operating system. Revision/Update Information: This revised manual supersedes the Version 5.5A Compaq Fortran Installation Guide for Tru64 UNIX Systems, AA-PW82H-TE. Operating System: HP Tru64 UNIX Version 4.0F or higher Software Version: HP Fortran Version 5.6 Hewlett-Packard Company Palo Alto, California Copyright 2005 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Printed in the US Contents About This Guide Chapter 1 Summary of HP Fortran Software Components and Packaging 1.1 Files on the SoftwareProduct Library CDROM. . . . ... . . . . 1-1 1.2 Readingthe Release Notes and Cover Letter. . .... . . . . ..... 1-2 1.3 HP Fortran Documentation . . . . . . . . . . . . . . . ... . . 1-2 1.4 Tru64 UNIX Documentation... . . .... . ...... . . ... . .. . .. 1-3 Chapter 2 Prerequisites for Installing HP Fortran 2.1 Registering Your Software License . . . . . . . . . . . . . . . 2-1 2.2 Checking the Software Distribution Kit. . . . . . . . . . . .. 2-2 2.3 Time Requirements and Login Privileges ... ... . . ... . . .. . 2-2 2.4 Hardware Requirements . . . ... . . ... . . . ... . . . . . . 2-2 2.5 Software Requirements. . . . . . . . . . . . . . . . . . . . . 2-3 2.6 Determining Which HP Fortran Subsets to Load. ... .. . ... . . 2-4 2.6.1 DFABASEnnn Subset ... . . ... . . . . ... . . . ... .. . . . 2-5 2.6.2 DFACOMnnn Subset. . . . . . . . . . . . . . . . . . . . . . . 2-5 2.6.3 DFADOCnnn Subset. . . . . . . . . . . . . . . . . . . . . . .2-6 2.6.4 DFARTLnnn Subset. . ... . . .... . . ... . . . ... . . . . . 2-6 2.6.5 HPFLIBSnnn Subset. . . . . . . . . . . . . . . . . . . . . . 2-7 2.6.6 XMDCOMnnn Subset . . . . . . . . . . . . . . . . . . . . . . .2-8 2.6.7 XMDLIB4nnn, XMDLIB5nnn, XMDLIB6nnn Subsets .. . . .... . . ...2-8 2.6.8 XMDSCInnn Subset . .. . . . . . . . . ... . . . ... .. . . . .2-9 2.6.9 XMDMANnnn Subset . . . . . . . . . . . . . . . . . . . . . . 2-9 2.6.10 XMDHTMnnn Subset . . . . . . . . . . . . . . . . . . . .. ..2-9 2.6.11 Reference Pages and nfs Mounting . . . . . . . . . . . . . .2-9 2.7 Determining Disk Space Requirements . . . . . . . . . . . . .. 2-10 2.7.1 Checking Current Disk Space. . . . . . . . . . . . . . . . . 2-11 2.7.2 Increasing Disk Space by Using Alternative Disks . . . . . . .2-12 2.8 Installing from Media or Using Remote Installation Service (RIS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-13 2.9 Backing Up Your System Disk. . . . . . . . . . . . . .. . . . .2-13 2.10 Stopping the Installation . . ... . . .... . . ... .. . . . . 2-14 2.11 Recovering from Installation Errors. . . . . . . . .. . . . . .2-14 Chapter 3 How to Install HP Fortran 3.1 How to Install Your Kit Locally Using CDROM Software Products Library Media . . . . . . . . . . . . . . . . . . . . . . . . ..3-1 3.2 How to Install Your Kit Remotely Using a Remote Installation Service (RIS) Distribution Area. . . . . . . . . . . . . . . . . . . . 3-3 3.3 Selecting HP Fortran Subsets. . . . . . . . . . . . . . . . . . 3-3 3.4 Installing the Compaq Extended Math Library (CXML). ....... . . 3-5 3.4.1 Selecting XMDLIB Subsets. . . . . . . . . . . . . . . . . . 3-6 3.4.2 CXML Library Names . . . . . . . . . . . . . . . . . . . . . 3-6 Chapter 4 Postinstallation Tasks 4.1 How to Run theI nstallation Verification Procedure (IVP)... . 4-1 4.2 How to Delete HP Fortran from Your System . . . . . . . . . . . 4-2 4.3 How to Run HP Fortran Applications. . . .. . . . . . . .. . . . 4-2 4.3.1 Subsets and Shared Libraries... . . . ... . . . . . .... . . 4-3 4.3.2 Message Catalog . . . . . . . . . . . . . . . . . . .. . . . 4-3 4.4 Reporting Problems to HP. . . . . . . . . . . . . . . . . . . 4-4 Appendix A Example of an HP Fortran Installation from CDROM . . . .A-1 Appendix B Example of an HP Fortran Installation Verification Procedure (IVP) . . . . . . . . . . . . . . . . . . . . .B-1 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1 Tables 2-1 Required and Recommended Subsets for HP Fortran Compilers. . . 2-4 2-2 HP Fortran Subset Sizes (Disk Space Requirements). . . . . . . 2-10 4-1 Subset Names for Shared Libraries . . . . . . . . . . . . . . . 4-3 About This Guide This guide explains how to install HP Fortran on an Alpha processor running the Tru64 UNIX operating system. It also explains how to install Compaq Extended Math Library (CXML). Keep this guide with your distribution kit. You will need it to install maintenance updates or to reinstall HP Fortran for any reason. Intended Audience This guide is intended for system administrators who install HP Fortran. Associated Documentation See Section 1.3, HP Fortran Documentation for information about the documentation available with HP Fortran. Also see Section 1.4, Tru64 UNIX Documentation. HP Fortran Web Site You can view the HP Fortran home page at: http://www.hp.com/go/fortran Click on Fortran for Tru64 UNIX Alpha for information about online documentation, software update patch kits, example programs, and additional product information. Sending HP Your Comments HP welcomes your comments on this or any other HP Fortran manual. You can send comments by e-mail to: fortran@hp.com If you have suggestions for improving particular sections or if you find any errors, please indicate the title, order number, and section numbers. HP also welcomes general comments. Getting Help from HP If you have a customer support contract and have comments or questions about HP Fortran software, you can contact HP Global Services. For more information, see Section 4.4, Reporting Problems to HP. CHAPTER 1 Summary of HP Fortran Software Components and Packaging This chapter contains the following sections: 1.1, Files on the Software Product Library CDROM 1.2, Reading the Release Notes and Cover Letter 1.3, HP Fortran Documentation 1.4, Tru64 UNIX Documentation 1.1 Files on the Software Product Library CDROM The Tru64 UNIX Alpha Software Product Library CDROM (media CDROM) provides the following files: HP Fortran installation kit files (including files for installing CXML). HP Fortran documentation files. These files include: The Release Notes The online version of this installation guide The Software Product Description (SPD) Online CDROM documentation files, contained in the /readme directory on the first media CDROM. The files include: A CDROM user guide called Software Product Library CDROM Users Guide A CDROM master index file (a master list of CDROM products) A cdmenu utility To determine whether the appropriate media CDROM is already mounted on your system, contact the system administrator. To obtain the location of the HP Fortran main product directory on the appropriate media CDROM, do one of the following: Use the cdmenu utility provided on the media CDROM. View the CDROM master index file on the media CDROM. Contact the system administrator. Check the cover letter, Read Before Installing HP Fortran Version 5.6 for Tru64 UNIX Alpha Systems. For information about using the cdmenu utility and the files on the media CDROM set, see the Software Product Library CDROM Users Guide. 1.2 Reading the Release Notes and Cover Letter HP strongly recommends that you read the Release Notes and the cover letter before installing HP Fortran. Once the appropriate media CDROM has been mounted (see Section 3.1, How to Install Your Kit Locally Using CDROM Software Products Library Media) and the appropriate HP Fortran documentation subdirectory is located, use an ls command to determine the file name of the HP Fortran Release Notes and cover letter. You can view or print the Release Notes, the cover letter, and this installation guide at any time from the media CDROM. Do one of the following: Use a more or view command to display the ASCII version on your screen. Use an lpr command to print the ASCII or PostScript version. After installation, you can find the Release Notes in this location: /usr/lib/cmplrs/fort90/relnotes90 For Fortran 77 users, the Release Notes are in: /usr/lib/cmplrs/fort/relnotes 1.3 HP Fortran Documentation In addition to this guide, the HP Fortran documentation set includes the following printed manuals: Reference manual: Compaq Fortran Language Reference Manual User manual: Compaq Fortran User Manual for Tru64 UNIX and Linux Alpha Systems The HP Fortran online reference pages describe the HP 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. For complete information about HP Fortran documentation, including HP Fortran online documentation and other sources of information about Fortran 95/90, see the Release Notes. For information about CXML, see the Compaq Extended Math Library Reference Guide. 1.4 Tru64 UNIX Documentation The Tru64 UNIX documentation set includes online reference pages and hardcopy documentation on installing software and on aspects of the programming environment. Refer to the Tru64 UNIX Documentation Overview, Glossary, and Master Index, which includes a list of books in the programmer's subkit. The following manuals in the Tru64 UNIX documentation set contain information relevant to installing software: Tru64 UNIX Installation Guide Tru64 UNIX System Administration Tru64 UNIX Software License Management Tru64 UNIX System Tuning and Performance Management Tru64 UNIX Network Configuration Tru64 UNIX Network Administration and Problem Solving Tru64 UNIX User's Guide CHAPTER 2 Prerequisites for Installing HP Fortran This chapter contains the following sections: 2.1, Registering Your Software License 2.2, Checking the Software Distribution Kit 2.3, Time Requirements and Login Privileges 2.4, Hardware Requirements 2.5, Software Requirements 2.6, Determining Which HP Fortran Subsets to Load 2.7, Determining Disk Space Requirements 2.8, Installing from Media or Using Remote Installation Service (RIS) 2.9, Backing Up Your System Disk 2.10, Stopping the Installation 2.11, Recovering from Installation Errors 2.1 Registering Your Software License HP 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 HP 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. If you are installing HP 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 Tru64 UNIX, follow these steps: 1 Log in as superuser. 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. 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 Tru64 UNIX Software License Management and the lmf(8) reference page. Note that CXML does not require a license. 2.2 Checking the Software Distribution Kit Use the Parts List to check the contents of your Tru64 UNIX Software Product Library CDROM software distribution kit. The software distribution kit is ordered separately from HP Fortran and includes the following: - One or more CDROM optical disks containing Tru64 UNIX layered products (media CDROM set) - A CDROM read first letter If your software distribution kit is damaged or incomplete, contact your HP representative. 2.3 Time Requirements and Login Privileges Installing HP Fortran, including running the Installation Verification Procedure (IVP), takes approximately 10 to 15 minutes, depending on your system configuration. You must have superuser privileges to install the HP Fortran software and to register the license PAK. 2.4 Hardware Requirements To install HP Fortran, you need the following hardware: Software distribution device (if installing from media) Locate an available drive for the CDROM software distribution media. The documentation for the CDROM drive you are using explains how to insert the media CDROM. 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 HP Fortran Software Product Description (SPD). 2.5 Software Requirements HP Fortran Version 5.6 requires Version 4.0F (or later) of the Tru64 UNIX operating system. HP Fortran also requires that the following Tru64 UNIX subsets be loaded on the system where you install HP Fortran: OSFBASE the Base System subset OSFCMPLRS the Compiler Back End subset, which consists of the following multiple subsets: OSFCMPLRS (required for program development) OSFSDE (profiling tools) OSFLIBA (archive libraries) OSFINCLUDE (include files) Some of these subsets may require a separate license. For more information, see the Tru64 UNIX Installation Guide for your version of the Tru64 UNIX operating system. OSFPGMR the Software Development Environment subset To install the HP Fortran reference pages (manual pages), the following Tru64 UNIX software subsets must already be installed on your system: OSFMANOS the Admin/User online manual pages OSFMANOP the Programming online manual pages 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 HP Fortran. 2 Enter the following command: # setld -i | egrep 'OSFBASE|OSFCMPLRS|OSFPGMR|OSFMANOS|OSFMANOP|OSFDCMT' 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 (that is, the second column in a row is blank), the subset or patch is not loaded. In this case, you must load the missing Tru64 UNIX software before installing HP Fortran. (For information on how to load Tru64 UNIX operating system software, see the Tru64 UNIX Installation Guide.) 2.6 Determining Which HP Fortran Subsets to Load You must choose the HP Fortran subsets you want to load. Table 2-1 indicates which subsets are required or recommended for each compiler. (Both compilers are installed.) The subsets starting with XMD are part of the Compaq Extended Math Library (CXML). Typically, a user installs only one of the XMDLIB subsets See Section 2.6.7, XMDLIB4nnn, XMDLIB5nnn, XMDLIB6nnn Subsets. Table 2-1 Required and Recommended Subsets for HP Fortran Compilers Subset Name HP Fortran 95/90 HP Fortran 77 DFABASE Required Required DFACOM Recommended Recommended DFADOC Recommended Recommended DFARTL Required Required HPFLIBS Recommended Not used XMDCOM Recommended Recommended XMDLIB4, Recommended Recommended XMDLIB5, XMDLIB6 XMDSCI Recommended Recommended XMDMAN Recommended Recommended XMDHTM Recommended Recommended In the subset identifiers starting with DFA, the nnn represents the version number of HP Fortran. In the subset identifier DFARTLnnn and HPFLIBSnnn, the nnn represents the current version of those subsets. For a list of the current subset numbers, read the Release Notes. (See Section 1.2, Reading the Release Notes and Cover Letter.) Some of these subsets are also included on the Tru64 UNIX operating system CDROM distribution media (see the Tru64 UNIX Installation Guide). For information about loading specific subsets, see the setld(8) reference page. The subsets are described in the following sections. 2.6.1 DFABASEnnn Subset Subset title: HP Fortran 95/90 and 77 Vn.n for Tru64 UNIX Alpha Systems. This is the primary subset for HP Fortran and requires DFARTLnnn. You must install this subset to compile, link, and run Fortran programs using either HP Fortran 95/90 or HP Fortran 77 programs. This subset installs its files in the following directories: /usr/lib/cmplrs/fort90 /usr/lib/cmplrs/fort /usr/lib/cmplrs /usr/bin /usr The directory /usr/lib/cmplrs/fort90 is a symbolic link to the following directory: /usr/lib/cmplrs/fort90_nnn The directory /usr/lib/cmplrs/fort is a symbolic link to the following directory: /usr/lib/cmplrs/fort_nnn 2.6.2 DFACOMnnn Subset Subset title: HP 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 HP 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 both HP Fortran 95/90 (f90 command) and HP Fortran 77 (f77 -old_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 2.6.3 DFADOCnnn Subset Subset title: HP Fortran Vn.n Release Notes and Man Page. This subset contains: The online Release Notes for HP Fortran The f90(1) reference page The f77(1) reference page A list of files in the HP Fortran kit (file /usr/lib/cmplrs/fort90/filelist) Because the Release Notes and the f90(1) and f77(1) reference pages must be available to programmers using HP Fortran, you should load this subset. To view these files before proceeding with the HP Fortran installation, you can choose to install this subset first. This subset installs its files in the following directories: /usr/lib/cmplrs/fort90 /usr/lib/cmplrs/fort The directory /usr/lib/cmplrs/fort90 is a symbolic link (for HP Fortran 95/90 files) to the following directory: /usr/lib/cmplrs/fort90_nnn The directory /usr/lib/cmplrs/fort is a symbolic link (for HP Fortran 77 files) to the following directory: /usr/lib/cmplrs/fort_nnn Because the DFACOMnnn and DFADOCnnn subsets contain reference pages, you can load them only if the appropriate Tru64 UNIX reference pages subsets are already loaded on your system. (See Section 2.5, Software Requirements.) 2.6.4 DFARTLnnn Subset Subset title: HP Fortran RTL #nnn for Tru64 UNIX Alpha Systems (f90 and f77). This subset supports both HP Fortran 95/90 and HP Fortran 77 and contains: Static and shared versions of the HP Fortran run-time libraries HP Fortran message catalog This subset (or a higher version) is a prerequisite for the DFABASEnnn subset. Always choose this subset if it appears in your menu and if you are also installing DFABASEnnn. During the HP Fortran installation procedure, if you choose DFARTLnnn, it will not be installed if your system already has a more recent version. This subset installs files in the following directories: /usr/lib/nls/msg/en_US.ISO8859- /usr/lib/cmplrs/fortrtl /usr/lib/cmplrs /usr/lib /usr/shlib The directory /usr/lib/cmplrs/fortrtl is a symbolic link to the following directory: /usr/lib/cmplrs/fortrtl_nnn 2.6.5 HPFLIBSnnn Subset Subset title: High Performance Fortran Run-Time Libraries. This subset contains: Both the serial and parallel versions of the High Performance Fortran (HPF) run-time library Associated reference pages for HPF_LIBRARY and HPF_LOCAL_LIBRARY, including intro(3hpf) Note: You must install the HPFLIBSnnn subset to compile, link, and run Fortran programs using HP Fortran that reference routines in the HPF libraries. If you previously installed the PSESHPF subset and need to delete it, delete it before you install HP Fortran. If you delete the PSESHPF subset after you install the HP Fortran HPFLIBS subset, you need to reinstall the HPFLIBS subset. For information on using setld to check for and delete subsets, see Section 4.2, How to Delete HP Fortran from Your System. This subset installs its files in the following directories: /usr/examples/hpf /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 following directory: /usr/lib/cmplrs/hpfrtl_nnn 2.6.6 XMDCOMnnn Subset Subset title: CXML Common Files for the Extended Math Library. The Compaq Extended Math Library (CXML) is a collection of high performance subprograms that perform different types of mathematical operations, including: Matrix computations Signal processing code Code to solve sparse linear systems using direct and iterative methods To use CXML, users typically include calls to CXML entry points in their application programs, then link the application program with the serial or parallel CXML library, and execute. The CXML routines are primarily called from Fortran or C, but can be called from any language. This subset contains common material needed by the CXML XMDLIB subsets described in Section 2.6.7, XMDLIB4nnn, XMDLIB5nnn, XMDLIB6nnn Subsets. This subset provides release notes, example programs, header files that user programs must include, Installation Verification Procedure (IVP) tests, and other supporting CXML utilities. This subset installs its files in the following directories: /usr/examples/cxml /usr/opt/XMDCOMnnn/docs /usr/opt/XMDCOMnnn/cxml /usr/opt/XMDCOMnnn/ivp 2.6.7 XMDLIB4nnn, XMDLIB5nnn, XMDLIB6nnn Subsets Subset titles: CXML Extended Math Libraries (Serial and Parallel) for EV4, EV5, EV6. These three subsets contain the CXML libraries, specially tuned for one family of Alpha processors (21064, 21164, 21264) Typically, you choose to install only one of these subsets, but you can install any number of them. Each subset contains both the serial and the parallel CXML libraries: Serial library in archive and shared library form (libcxml.a, libcxml.so) Parallel library in archive and shared library form (libcxmlp.a, libcxmlp.so) The parallel version of the CXML library supports symmetric multiprocessing (SMP) for improved performance. The parallel CXML library achieves its parallelization using OpenMP. Key BLAS, LAPACK, FFT routines, and sparse and iterative solver routines in the CXML library have been modified to execute in parallel if run on SMP hardware. Each subset installs its libraries in the following directory: /usr/opt/XMDLIBxnnn 2.6.8 XMDSCInnn Subset Subset title: CXML SCIPORT library. This subset contains the SCIPORT Cray compatibility library (libsciport.a) and the SCIPORT man pages. After linking with the SCIPORT library, your Fortran program must link in the CXML library (either serial or parallel). For example: f90 -i8 -r8 -double_size 128 myprog.f -lsciport -lcxmlp The common subset XMDCOM and at least one of the CXML library subsets (XMDLIB4, XMDLIB5, or XMDLIB6) must be installed in addition to XMDSCI. This subset installs its files in the following directories: /usr/opt/XMDSCInnn/cxml /usr/opt/XMDSCInnn/ivp /usr/opt/XMDSCInnn/man /usr/opt/XMDSCInnn 2.6.9 XMDMANnnn Subset Subset title: CXML Reference (man) Pages. This subset contains the reference pages (man pages) for CXML. This subset installs its files in the following directory: /usr/opt/XMDMANnnn/man 2.6.10 XMDHTMnnn Subset Subset title: CXML Reference (man) Pages in HTML format. This subset contains the reference pages (man pages) for CXML in HTML format. This subset installs its files in: /usr/opt/XMDHTMnnn/cxml_webpages These pages are accessible at the following Web location: /usr/opt/XMDHTMnnn/cxml_webpages/cxml_home_page.html 2.6.11 Reference Pages and nfs Mounting Users on the system where HP Fortran is being installed can 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 HP Fortran). When reference pages are nfs mounted on another system, do not request the DFACOMnnn and DFADOCnnn subsets during the HP Fortran installation. After the installation is complete, you can log in to the system where the reference pages are installed and load only the HP Fortran DFACOMnnn and DFADOCnnn subsets on that system. 2.7 Determining Disk Space Requirements Table 2-2 lists the disk space requirements for loading HP Fortran software subsets. These disk space requirements are approximate; the values apply to the disks where you load the HP Fortran subsets. The disk space requirements are listed by directory, in case you are doing installations on systems where these directories are mount points for different disk partitions. Table 2-2 HP Fortran Subset Sizes (Disk Space Requirements) Subset Name Directory Kbytes Required DFABASEnnn /usr 1 /usr/bin 2 /usr/lib/cmplrs 2 /usr/lib/cmplrs/fort90_nnn 18396 /usr/lib/cmplrs/fort_nnn 8095 Total: 26496 DFACOMnnn /usr/bin 155 /usr/include 169 /usr/man/man1 6 /usr/man/man3 183 /usr/lib 346 /usr/shlib 30 Total: 889 DFADOCnnn /usr/lib/cmplrs/fort_nnn 380 /usr/lib/cmplrs/fort90_nnn 3836 Total: 4216 DFARTLnnn /usr/lib 1 /usr/lib/cmplrs 1 /usr/lib/cmplrs/fortrtl_nnn 2926 /usr/lib/nls/msg/en_US.ISO8859-1 1 /usr/shlib 1 Total: 2930 HPFLIBSnnn /usr/lib 1 /usr/lib/cmplrs/hpfrtl 1 /usr/lib/cmplrs/hpfrtl_nnn 9148 /usr/man/man3 1 /usr/opt/HPFnnn/hpf/usr/examples/hpf 80 /usr/shlib 1 Total: 9232 XMDCOMnnn /usr/opt/XMDCOMnnn 16 /usr/opt/XMDCOMnnn/docs 6 /usr/opt/XMDCOMnnn/cxml 251 /usr/opt/XMDCOMnnn/ivp 68 /usr/examples/cxml 137 Total: 478 XMDLIB4nnn /usr/opt/XMDLIB4nnn 80405 XMDLIB5nnn /usr/opt/XMDLIB5nnn 79424 XMDLIB6nnn /usr/opt/XMDLIB6nnn 79110 XMDMANnnn /usr/opt/XMDMANnnn/man 5770 XMDHTMnnn /usr/opt/XMDHTMnnn/man 7696 XMDSCInnn /usr/opt/XMDSCInnn/cxml 1296 /usr/opt/XMDSCInnn/ivp 15 /usr/opt/XMDSCInnn/man 27 Total: 253743 Grand Total: 296595 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 HP Fortran files will reside. If you need precise information on the sizes of individual HP Fortran files in the various directories, view one of the following files: Fortran 95/90: /usr/lib/cmplrs/fort90/filelist Fortran 77: /usr/lib/cmplrs/fort/filelist 2.7.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 HP 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 shows the following: /usr (mounted to /dev/rd0g) is the only mount point that affects where HP Fortran files will reside. The system has only one local disk drive. 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 HP 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. You can do so as follows: # df /usr Filesystem node Total kbytes kbytes used kbytes free % used Mounted on /dev/rd0g 122598 54447 55892 49% /usr The device names shown in this section are for Tru64 UNIX Version 4 systems. For Tru64 UNIX Version 5 systems, the device names might be different. This display indicates there are 55892 Kbytes free. This free space must accommodate the subset requirements listed in Table 2-2. On systems where /usr/lib and /usr/man are mounted to devices different from /usr, enter the following command: # df /usr/lib /usr/man In this case, you would: Compare space required for HP Fortran files in /usr/lib with the free space displayed in the first line of the df output list. Compare the space required for HP Fortran files in /usr/man with the free space displayed in the second line of that list. 2.7.2 Increasing Disk Space by Using Alternative Disks The HP 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 HP 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 HP 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 HP Fortran: Log in as superuser (login name root) to the system where you will install HP Fortran. Create one or both of the appropriate directories: /usr/lib/cmplrs/fort90_nnn This is a symbolic link to the following directory: /usr/lib/cmplrs/fort90_nnn /usr/lib/cmplrs/fort_nnn This is a symbolic link to the following directory: /usr/lib/cmplrs/fort_nnn In these directory names, nnn is the HP Fortran version number. 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. Enter the mount -a command so that the new mount points take effect. 2.8 Installing from Media or Using Remote Installation Service (RIS) Someone from your site must perform at least one HP Fortran installation from the distribution medium. Your site system administrator can then decide whether or not to make a HP Fortran distribution kit available online, so that subsequent installations of HP Fortran can use the Remote Installation Service (RIS). For information on extracting HP Fortran subsets to a RIS distribution area, see your Tru64 UNIX system management documentation. If you expect to use HP 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: A HP Fortran network kit is available for use. Your system is registered as a RIS client. For information on installing HP Fortran from a RIS distribution area, see Section 3.2, How to Install Your Kit Remotely Using a Remote Installation Service (RIS) Distribution Area. 2.9 Backing Up Your System Disk HP recommends that you back up your system disk before installing HP Fortran or any software. Use the backup procedures established at your site. For information about backing up your system disk, see the Tru64 UNIX system documentation. 2.10 Stopping the Installation To stop the installation procedure at any time, enter Ctrl/C. You must then delete files created interactively up to that point. The directories and files created during the HP Fortran installation are listed in the following files: /usr/lib/cmplrs/fort90/filelist /usr/lib/cmplrs/fort/filelist 2.11 Recovering from Installation Errors If errors occur during the installation, the system displays error messages. For example, if the installation of the DFABASEnnn subset fails due to insufficient disk space, the installation procedure displays the following message: There is not enough space for subset DFABASEnnn HP Fortran (DFABASEnnn) will not be loaded. Errors can occur during the installation if any of the following conditions exist: The operating system version is incorrect. The prerequisite software version is incorrect. The system parameter values for successful installation are insufficient. For descriptions of error messages generated by these conditions, see the Tru64 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 requirements for installing HP Fortran, see Section 2.5, Software Requirements. CHAPTER 3 How to Install HP Fortran This chapter contains the following sections: 3.1, How to Install Your Kit Locally Using CDROM Software Products Library Media 3.2, How to Install Your Kit Remotely Using a Remote Installation Service (RIS) Distribution Area 3.3, Selecting HP Fortran Subsets 3.4, Installing the Compaq Extended Math Library (CXML) Note: For a complete example of an installation process, see Appendix A. For a list of files from the DFABASE, DFACOM, and DFADOC subsets installed on your system by the installation process, see the following file: /usr/lib/cmplrs/fort90/filelist 3.1 How to Install Your Kit Locally Using CDROM Software Products Library Media The installation procedure loads HP Fortran files to a disk belonging to the system where you perform the installation. When HP Fortran is run, its executable images are mapped into memory on your system. Follow these steps to install HP Fortran from the Software Products Library CDROM set: To obtain the kit directory location of the HP Fortran subsets on the appropriate Software Product Library CDROM (media CDROM), do one of the following: Use the cdmenu utility provided on the media CDROM View the CDROM master index file on the media CDROM Contact the system administrator Check the cover letter, Read Before Installing HP Fortran Version 5.6 for Tru64 UNIX Alpha Systems. For information about using the cdmenu utility and the CD files on the media CDROM set, see the Software Product Library CDROM Users Guide. For more information, see Section 1.1, Files on the Software Product Library CDROM. If the media CDROM containing the HP Fortran installation files is not mounted, either contact the system administrator or insert the appropriate media CDROM into an available CDROM drive. Log in as superuser (login name root) to the system where you will install HP Fortran. Make sure you are at the root directory (/) by entering the following command: # cd Find out whether a previous version of HP Fortran is installed by entering the following command: # setld -i | egrep 'PSE|DFA|HPFLIBS|XMD' If the directory /usr/sbin is not in your path, specify the path before the setld command (/usr/sbin/setld). If a version of HP 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 DFABASE, DFADOC, and HPFLIBS 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 DFABASEnnn DFADOCnnn HPFLIBSnnn For more information on deleting subsets for previous versions before continuing the installation (including HP Fortran subsets also used by other products), see Section 4.2, How to Delete HP Fortran from Your System. Specify the /mnt directory to be the mount point for the distribution file system on the drive. For example, if your drive is rz1, enter the following command: # mount -dr /dev/rz1c /mnt Once you mount the media CDROM, you can print or view the Release Notes and the cover letter, as described in Section 1.2, Reading the Release Notes and Cover Letter. To verify the location of the HP Fortran main product directory on the appropriate media CDROM (see step 1), enter an ls command such as the following: # ls /mnt/product-directory/kit Enter a setld command that requests the load function (-l option) and identifies the directory in the mounted file system where HP Fortran Version 5.n subsets are located: # setld -l /mnt/product-directory/kit In this example, product-directory is the main HP Fortran directory (such as dfa500) listed in the Software Product Library CDROM Users Guide and CD master index file. The installation procedure now displays the names of HP Fortran subsets and asks you to specify the subsets you want to load. See Section 3.3, Selecting HP Fortran Subsets, to continue the installation. 3.2 How to Install Your Kit Remotely Using a Remote Installation Service (RIS) Distribution Area If you are installing HP Fortran subsets that reside in an /etc/ris (RIS) distribution area on a remote system, follow these steps: Log in as superuser (login name root) to the system where you will install HP Fortran. Make sure you are at the root directory (/) by entering the following command: # cd / Enter a setld command that requests the load function (-l option) and identifies the system where the HP Fortran subsets are located. For example, if you are loading HP Fortran subsets from a RIS distribution area on node orion, enter the following: # setld -l orion: RIS 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 3.3, Selecting HP Fortran Subsets, to continue the installation. 3.3 Selecting HP Fortran Subsets Note: If you are installing from a RIS distribution area, the numbers of the HP Fortran subsets can vary depending on what products are available in the RIS area and how many subsets they have. The installation proceeds as follows: 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) CXML Common Files for the Extended Math Lib, V5.20 2) CXML Extended Math Libraries (Serial and Parallel) for Ev4, V5.20 3) CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.20 4) CXML Extended Math Libraries (Serial and Parallel) for Ev6, V5.20 5) CXML Reference (man)Pages in HTML format 6) CXML Reference (man)Pages 7) CXML V5.20 SCIPORT library 8) HP Fortran 90 and 77 V5.6 for HP Tru64 UNIX Alpha Systems 9) HP Fortran RTL #406 for HP Tru64 UNIX Alpha Systems (f90 and f77) 10) HP Fortran V5.6 Release Notes and Man Page 11) HP Fortran V5.6 Tools & their Man Pages 12) HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems Or you may choose one of the following options: 13) ALL of the above 14) CANCEL selections and redisplay menus 15) 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 HP Fortran installed. For example, if the same version of the HP Fortran RTL #nnn for Tru64 UNIX Alpha (subset DFARTL) on the HP Fortran kit has already been installed, that line will not be displayed. The following text in this section assumes this is a new installation. To compile and run Fortran programs using the HP Fortran tools, you must choose subset numbers 8 and 9. To use HPF parallel directives with HP Fortran 95/90, you must also choose subset number 12. To use the Compaq Extended Math Library, you must also choose subset numbers 1 and one of the following: 2, 3, or 4 (the other CXML subsets are optional). For more information, see Section 3.4, Installing the Compaq Extended Math Library (CXML). To install only the Release Notes without installing HP Fortran, choose subset number 10. If you specify more than one number at the prompt, use spaces (not commas) to separate the numbers. Enter 13 to install all of the listed subsets. Next, the procedure lets you verify your choice. For example, if you enter 13 in response to the previous prompt, the following display appears: You are installing the following optional subsets: CXML Common Files for the Extended Math Lib, V5.20 CXML Extended Math Libraries (Serial and Parallel) for Ev4, V5.20 CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.20 CXML Extended Math Libraries (Serial and Parallel) for Ev6, V5.20 CXML Reference (man)Pages in HTML format CXML Reference (man)Pages CXML V5.20 SCIPORT library HP Fortran 90 and 77 V5.6 for HP Tru64 UNIX Alpha Systems HP Fortran RTL #406 for HP Tru64 UNIX Alpha Systems (f90 and f77) HP Fortran V5.6 Release Notes and Man Page HP Fortran V5.6 Tools & their Man Pages HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems 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. The installation procedure loads and verifies the selected HP Fortran subsets. 3.4 Installing the Compaq Extended Math Library (CXML) If you install CXML, the installation procedure asks several questions pertaining to choices of subsets, libraries, and names of libraries. When installing CXML, you must install a minimum of the following subsets: CXML Common Files for the Extended Math Library (XMDCOMnnn) One or more of the following: CXML Extended Math Libraries (Serial and Parallel) for EV4 (XMDLIB4nnn) CXML Extended Math Libraries (Serial and Parallel) for EV5 (XMDLIB5nnn) CXML Extended Math Libraries (Serial and Parallel) for EV6 (XMDLIB6nnn) For more information, see Section 3.4.1, Selecting XMDLIB Subsets and Section 3.4.2, CXML Library Names. Optionally, you can also install one or more of the following: CXML SCIPORT Library (XMDSCInnn) CXML Reference (man) Pages (XMDMANnnn) CXML Reference (man) Pages in HTML format (XMDHTMnnn) 3.4.1 Selecting XMDLIB Subsets For information about these subsets, see Section 2.6.7, XMDLIB4nnn, XMDLIB5nnn, XMDLIB6nnn Subsets. Typically, you choose to install only one of these subsets, but you can install any number of them. For best performance, HP recommends that you install the subset that matches the platform's processor type. For example, install the EV5 library for EV56 systems and the EV6 library for EV67 systems. If you select a subset that does not match your platform's hardware, the installation procedure will verify that you want to continue to install that subset. By default, both the serial and the parallel CXML libraries will be installed. You can choose to install only the serial CXML or only the parallel CXML library. By default, both shared and archive CXML libraries will be installed. You can choose to install only shared libraries (for example, libcxml.so) or only archive libraries (for example, libcxml.a). 3.4.2 CXML Library Names If you install an XMDLIB subset that matches the platform, the installation procedure will construct the CXML libraries you selected with names that show the platform explicitly (for example, libcxml_ev5.so). It will also construct symbolic links from /usr/lib or /usr/shlib to the selected libraries. By default, this installation will also construct symbolic links from the standard CXML library names (for example, /usr/shlib/libcxml.so) to your selected libraries, unless you select not to use standard names. If you install an XMDLIB subset that does not match the platform, the installation procedure will ask you if you want the CXML libraries you are currently installing to have the standard CXML library names (for example, /usr/shlib/libcxml.so) as well as the platform-specific names. CHAPTER 4 Postinstallation Tasks This chapter contains the following sections: 4.1, How to Run the Installation Verification Procedure (IVP) 4.2, How to Delete HP Fortran from Your System 4.3, How to Run HP Fortran Applications 4.4, Reporting Problems to HP 4.1 How to Run the Installation Verification Procedure (IVP) After installing HP 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 HP Fortran. The IVP verifies the installation by using the fverify command with the -y option (see the fverify(8) reference page). Depending on which HP Fortran subsets you specify on the setld -v command line, the following checks might occur: For the DFABASEnnn subset, the IVP first compiles, links, and runs a Fortran program with HP Fortran 77 tools, and then compiles, links, and runs a Fortran program with HP Fortran 95/90 tools. For Compaq Extended Math Library subsets (identifiers starting with XMD), the IVP links and executes test programs that exercise the CXML and SCIPORT libraries. For other subsets, the IVP verifies that certain files are present. For instance, the DFARTLnnn and HPFLIBSnnn subsets verify that the run-time libraries exist. To run the IVP after an installation, enter the following command: # setld -v subset-name In this command, subset-name can be any HP Fortran subset, such as DFABASEnnn and DFADOCnnn. (For nnn, substitute the appropriate version number.) For a sample listing of the HP Fortran IVP, see Appendix B. If the verification process fails, look in the /var/adm/smlogs/fverify.log file for information to help diagnose the problem. 4.2 How to Delete HP Fortran from Your System If you must remove a version of HP Fortran from your system, delete each subset that you previously installed. To delete subsets: Log in as superuser (login name root). Make sure you are at the root directory (/) by entering the following command: # cd / Enter the following form of the setld command: # setld -i | egrep 'PSE|DFA|HPFLIBS|XMD' 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 v ersions exist. Enter a setld command like the following to delete subsets: # setld -d HPFLIBSnnn DFABASEnnn DFADOCnnn DFACOMnnn In this command, nnn is the version number (such as 56 for Version 5.6). The CXML subsets have a prefix of XMD. You can use the following setld command to check for CXML subsets: # setld -i | egrep 'XMD' Note: If you plan to run HP Fortran applications, do not delete the DFARTL subset (see Section 4.3.1, Subsets and Shared Libraries). 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. After installation, anytime you delete an older subset, you must use the SELECT option to reestablish the symbolic links for each subset. For example, to reestablish the symbolic links for the DFABASEnnn subset: # setld -c DFABASEnnn SELECT 4.3 How to Run HP Fortran Applications You need HP Fortran shared libraries and the message catalog to run HP Fortran applications on your system. 4.3.1 Subsets and Shared Libraries To run HP Fortran applications compiled with the default -call_shared flag, you must have the DFARTLnnn subset, and you might need (depending on what your programs do) one or more of the following HP Fortran subsets installed: Table 4-1 Subset Names for Shared Libraries Subset Name Included Shared Libraries DFACOMnnn libshcom.so DFARTLnnn libfor.so, libUfor.so, libFutil.so HPFLIBSnnn libphpf.so, libphpfp.so, libshpf.so (Fortran 95/90 only) XMDLIBxnnn libcxml.so and libcxmlp.so (where x is 4, 5, or 6) The shared library files included in the DFARTLnnn subset can be installed on any system licensed to run the Tru64 UNIX operating system. This allows executable programs created with HP Fortran to be executed regardless of whether HP Fortran is installed on that system. Some of these subsets are also included on the Tru64 UNIX operating system CDROM distribution media (see the Tru64 UNIX Installation Guide). You should always use the most recent versions of these subsets. The Release Notes list the versions of the subsets included in the HP Fortran kit (see Section 1.2, Reading the Release Notes and Cover Letter). 4.3.2 Message Catalog The message catalog contains the text for all messages issued by the HP Fortran runtime library. The message catalog should be installed on any system used to run HP Fortran applications. If the message catalog is not present and a HP 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 HP Fortran run-time library errors. The message catalog file included in the DFARTLnnn subset can be installed on any system licensed to run the Tru64 UNIX operating system. The DFARTLnnn subset is included with HP Fortran and is also in the /mnt/ALPHA/DEC_Fortran_RTL directory on the Tru64 UNIX operating system CDROM distribution media. (See the Tru64 UNIX Installation Guide.) You should always use the most recent version of this subset. The Release Notes list the version of the DFARTL subset included in the HP Fortran kit (see Section 1.2, Reading the Release Notes and Cover Letter). The message catalog is installed in the /usr/lib/cmplrs/fortrtl directory and is pointed to by a symbolic link in the following directory: /usr/lib/nls/msg/en_US.ISO8859-1 HP Fortran uses the NLSPATH environment variable to find its run-time message catalog. If NLSPATH is not set, the following default location is used: /usr/lib/nls/msg/en_US.ISO8859-1/for_msg.cat If the HP 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/msgen_US.ISO8859-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 HP Fortran. For more information on NLSPATH, see the Tru64 UNIX documentation or the catopen(3) reference page. 4.4 Reporting Problems to HP If an error occurs while HP Fortran is in use and you believe the error is caused by a problem with HP Fortran, you can do either of the following: If you have a Software Product Services Support Agreement, contact HP Global Services by telephone (in the United States, 1-800-354-9000) or by using the electronic means provided with your support agreement. If you dont have a support agreement, you can arrange for per-call support. When you initially contact HP Global Services, indicate the following: 1 The name and version number of the operating system you are using 2 The name and version number of HP Fortran you are using 3 The hardware system you are using (such as a model number) 4 How critical the problem is 5 A brief description of the problem (one sentence if possible) When you submit information electronically or are speaking on the phone to a 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). If possible, try to narrow the cause of the problem to a specific module or lines of code. Support personnel might 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. 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 HP give accurate and timely service to software problems. If the problem is related to HP Fortran documentation, see the information in Sending HP Your Comments in the front of this guide. APPENDIX A Example of an HP Fortran Installation from CDROM The example installation in this appendix shows: o HP Fortran Version 5.6 subset numbers. o Use of a locally mounted media CDROM and subset directory of /mnt/dfa560/kit (where the HP Fortran subsets are located on the locally mounted media CDROM). o Installation on a system running Tru64 UNIX Version 4.0F. o A new installation (all lines are displayed). The actual menu display shown on your might not include certain lines if you have a recent version of HP Fortran installed. The actual subset numbers for your installation are listed in the Release Notes. (See Section 1.2, Reading the Release Notes and Cover Letter.) For a detailed explanation of the HP Fortran installation, see Chapter 3, How to Install HP Fortran. Note: This installation guide is not necessarily revised for each release of HP Fortran. When installing a version of HP Fortran later than Version 5.6, the displayed numbers for the subsets, version, and subset directory will be specific for that release. The example installation follows: # setld -l /mnt/dfa560/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) CXML Common Files for the Extended Math Lib, V5.20 2) CXML Extended Math Libraries (Serial and Parallel) for Ev4, V5.0 3) CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.0 4) CXML Extended Math Libraries (Serial and Parallel) for Ev6, V5.0 5) CXML Reference (man)Pages in HTML format 6) CXML Reference (man)Pages 7) CXML V5,29 SCIPORT library 8) HP Fortran 90 and 77 V5.6 for HP Tru64 UNIX Alpha Systems 9) HP Fortran RTL #406 for HP Tru64 UNIX Alpha Systems (f90 and f77) 10) HP Fortran V5.6 Release Notes and Man Page 11) HP Fortran V5.6 Tools & their Man Pages 12) HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems Or you may choose one of the following options: 13) ALL of the above 14) CANCEL selections and redisplay menus 15) EXIT without installing any subsets Enter your choices or press RETURN to redisplay menus. Choices (for example, 1 2 4-6):1,3,5-12 You are installing the following optional subsets: CXML Common Files for the Extended Math Lib, V5.20 CXML Extended Math Libraries (Serial and Parallel) for Ev4, V5.20 CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.20 CXML Extended Math Libraries (Serial and Parallel) for Ev6, V5.20 CXML Reference (man)Pages in HTML format CXML Reference (man)Pages CXML V5.20 SCIPORT library HP Fortran 90 and 77 V5.6 for HP Tru64 UNIX Alpha Systems HP Fortran RTL #406 for HP Tru64 UNIX Alpha Systems (f90 and f77) HP Fortran V5.6 Release Notes and Man Page HP Fortran V5.6 Tools & their Man Pages HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems Is this correct? (y/n): Checking file system space required to install selected subsets: File system space checked OK. 12 subset(s) will be installed. Loading 1 of 12 subset(s)... ************************************************************************ * * Copyright Compaq Computer Corporation 2001. All rights reserved. * ************************************************************************ Compaq Extended Math Library V5.20 for Tru64 UNIX Common Files Subset XMDCOM520 The common CXML files will be installed. CXML Common Files for the Extended Math Lib, V5.20 Copying from . (disk) Verifying Loading 2 of 12 subset(s)... ************************************************************************ * * Copyright Compaq Computer Corporation 2001. All rights reserved. * ************************************************************************ Obsolete versions of CXML HTML manpages will be deleted. Completed deleting obsolete versions of CXML HTML manpages CXML Reference (man)Pages in HTML format Copying from . (disk) Verifying Loading 3 of 12 subset(s)... ************************************************************************ * * Copyright Compaq Computer Corporation 2002. All rights reserved. * ************************************************************************ Compaq Extended Math Library V5.20 for Tru64 UNIX CXML Serial and Parallel libraries, tuned for EV4 CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.20 Copying from . (disk) Verifying Loading 4 of 12 subset(s)... ************************************************************************ * * Copyright Compaq Computer Corporation 2002. All rights reserved. * ************************************************************************ Compaq Extended Math Library V5.20 for Tru64 UNIX CXML Serial and Parallel libraries, tuned for EV5 Example of an HP Fortran Installation from CDROM A-3 CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.20 Copying from . (disk) Verifying Loading 5 of 12 subset(s)... ************************************************************************ * * Copyright Compaq Computer Corporation 2002. All rights reserved. * ************************************************************************ Compaq Extended Math Library V5.20 for Tru64 UNIX CXML Serial and Parallel libraries, tuned for EV6 CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.20 Copying from . (disk) Verifying Loading 6 of 12 subset(s)... ************************************************************************ * * Copyright Compaq Computer Corporation 2001. All rights reserved. * ************************************************************************ Obsolete versions of CXML manpages will be deleted. Completed deleting obsolete versions of CXML manpages CXML Reference (man)Pages Copying from . (disk) Verifying Loading 7of 12 subset(s)... ************************************************************************ * * Copyright Compaq Computer Corporation 2001. All rights reserved. * ************************************************************************ CXML V5.20 SCIPORT library for Tru64 UNIX A-4 HP Fortran Installation Guide for Tru64 UNIX Systems CXML V5.20 SCIPORT library Copying from . (disk) Verifying Loading 8 of 12 subset(s)... Copyright 2003 Hewlett-Packard Development Company, L.P. HP Fortran High Performance Fortran Runtime Libraries V1.9-2 for HP Tru64 UNIX Alpha Systems Subset: HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems (HPFLIBS192) Starting installation at Tue Jul 29 09:33:56 EDT 2005. Installation of this subset proceeds automatically, and should complete in approximately 1 minute. There are no installation questions for this subset. HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems Copying from . (disk) Verifying Loading 9 of 12 subset(s)... Installation of this subset proceeds automatically, and should complete in approximately 1 minute. HP Fortran RTL #406 for HP Tru64 UNIX Alpha Systems (f90 and f77) Copying from . (disk) Verifying Loading 10 or 12 subset(s)... Installation of this subset proceeds automatically, and should complete in approximately 1 minute. Copyright 2005 Hewlett-Packard Development Company, L.P. HP and the HP logo are trademarks of Hewlett-Packard Development Company, L.P. in the U.S. and/or other countries. Confidential computer software. Valid license from Hewlett-Packard required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. HP Fortran 90 and 77 V5.6 for HP Tru64 UNIX Alpha Systems Copying from . (disk) Verifying Loading 11 of 12 subset(s)... Installation of this subset proceeds automatically, and should complete in approximately 1 minute. HP Fortran V5.6 Tools & their Man Pages Copying from . (disk) Verifying Loading 12 of 12 subset(s)... Copyright 2005 Hewlett-Packard Development Company, L.P. HP and the HP logo are trademarks of Hewlett-Packard Development Company, L.P. in the U.S. and/or other countries. Confidential computer software. Valid license from Hewlett-Packard required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. HP Fortran V5.6 Release Note and Man Page Copying from . (disk) Verifying 12 of 12 subset(s) installed successfully. Configuring "CXML Common Files for the Extended Math Lib, V5.20" (XMDCOM520) The CXML Manpages in HTML are now installed. To view them, point your browser to /usr/opt/XMDHTM5200/cxml_webpages/cxml_home_page.html Configuring "CXML Reference (man)Pages in HTML format" (XMDHTM520) You are installing the CXML subset XMDLIB4520 This subset contains serial and parallel libraries which are tuned for the 21064 family of the Alpha AXP processor types. The CXML library subset that you are installing on this platform does not match the hardware type (EV5) of this platform. Do you want to continue the installation [y/n]? By default, both the serial and the parallel CXML libraries will be installed. You can choose to install only the serial CXML [s] only the parallel CXML [p] Please choose now: install only the serial CXML [s] install only the parallel CXML [p] (hit RETURN to get the default -> install both) By default, both shared and archive CXML libraries will be installed. You can choose to install only shared libs, e.g. libcxml.so [s] only archive libs, e.g. libcxml.a [a] A-6 HP Fortran Installation Guide for Tru64 UNIX Systems Please choose now: install only shared CXML libs [s] install only archive CXML libs [a] (hit RETURN to get the default -> install both) This installation will construct the CXML libraries you selected with names that show the platform explicitly, e.g. libcxml_ev4.so. This installation will construct symbolic links from /usr/lib or /usr/shlib to the selected libraries. Do you want the CXML libraries you are currently installing to have the standard CXML library names, e.g. /usr/shlib/libcxml.so as well as the platform-specific names? Please choose now: standard CXML names [y] (hit RETURN for platform-specific names only) By request, no default CXML library names. The requested CXML libraries will be constructed and installed. The installation will take just a few minutes. ... unpacking the serial libraries .. ... building the shared serial libraries .. ... unpacking the parallel libraries .. ... building the shared parallel libraries .. Configuring "CXML Extended Math Libraries (Serial and Parallel) for Ev4, V5.20" (XMDLIB4520) You are installing the CXML subset XMDLIB5520 This subset contains serial and parallel libraries which are tuned for the 21164 family of the Alpha AXP processor types. By default, both the serial and the parallel CXML libraries will be installed. You can choose to install only the serial CXML [s] only the parallel CXML [p] Please choose now: install only the serial CXML [s] install only the parallel CXML [p] (hit RETURN to get the default -> install both) By default, both shared and archive CXML libraries will be installed. You can choose to install only shared libs, e.g. libcxml.so [s] only archive libs, e.g. libcxml.a [a] Please choose now: install only shared CXML libs [s] install only archive CXML libs [a] (hit RETURN to get the default -> install both) This installation will construct the CXML libraries you selected with names that show the platform explicitly, e.g. libcxml_ev5.so. This installation will construct symbolic links from /usr/lib or /usr/shlib to the selected libraries. By default, this installation will also construct symbolic links from the standard CXML library names to your selected libraries e.g. /usr/shlib/libcxml.so unless you choose NO standard names [n] Please choose now: no standard names [n] (hit RETURN to get the default -> standard names) The requested CXML libraries will be constructed and installed. The installation will take just a few minutes. ... unpacking the serial libraries .. ... building the shared serial libraries .. ... unpacking the parallel libraries .. ... building the shared parallel libraries .. Configuring "CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.20" (XMDLIB5520) You are installing the CXML subset XMDLIB6520 This subset contains serial and parallel libraries which are tuned for the 21264 family of the Alpha AXP processor types. The CXML library subset that you are installing on this platform does not match the hardware type (EV5) of this platform. Do you want to continue the installation [y/no] setld: CXML Extended Math Libraries (Serial and Parallel) for Ev6, V5.20 (XMDLIB6520) failed in subset control program (POST_L) Creating Links to new manpages for CXML Configuring "CXML Reference (man)Pages" (XMDMAN510) Creating Links to new manpages for CXML V5.20 SCIPORT Configuring "CXML V5.20 SCIPORT library" (XMDSCI520) To run the IVP after the installation, please use setld -v XMDSCI520 Creating softlinks for HPFLIBS192 ...done. HP Fortran High Performance Fortran Runtime Libraries V1.9- for HP Tru64 UNIX Alpha Systems Subset: HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems (HPFLIBS192) Installation completed at Tue Jul 29 09:53:26 EDT 2005. Configuring "HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems (HPFLIBS192) Copyright 2003 Hewlett-Packard Development Company, L.P. HP Fortran High Performance Fortran Runtime Libraries V1.9- for HP Tru64 UNIX Alpha Systems Subset: HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems (HPFLIBS192) Starting configuration (INSTALL) at Tue Jul 29 09:53:26 EDT 2005. Completing configuration (INSTALL) at Tue Jul 29 09:53:26 EDT 2005. Configuring "HP Fortran RTL #406 for HP Tru64 UNIX Alpha Systems (f90 and f77)" (DFARTL406) DFARTL406, information: Shared libraries installed. DFABASE560, information: You can run the Installation Verification Procedure using the following command from root: setld -v DFABASE560 Configuring "HP Fortran 90 and 77 V5.6 for HP Tru64 UNIX Alpha Systems" (DFABASE560) Configuring "HP Fortran V5.6 Tools & their Man Pages" (DFACOM560) DFADOC560, information: The f77 release notes are in ./usr/lib/cmplrs/fort/relnotes and the f90 release notes are in ./usr/lib/cmplrs/fort90/relnotes90 Configuring "HP Fortran V5.6 Release Notes and Man Page" (DFADOC560) Example of an HP Fortran Installation from CDROM A-9 APPENDIX B Example of an HP Fortran Installation Verification Procedure (IVP) Note: This installation guide is not necessarily revised for each release of HP Fortran. When installing a later version of HP Fortran, the displayed numbers for the subsets, version, and subset directory will be specific for that release. The following example of an IVP shows HP Fortran subset numbers and displayed information for a Version 5.6 IVP: csh> setld -v DFABASE560 HP Fortran 90 and 77 V5.6 for HP Tru64 UNIX Alpha Systems (DFABASE560) DFABASE560: Starting Installation Verification Procedure (IVP) Copyright 2005 Hewlett-Packard Company If this IVP fails, please include the following when submitting a report: 1) This subset name, which is DFABASE560 2) Output from: ls -l /tmp/DFABASE560.ivptmp 3) This setld session IVP, information: Created scratch directory. IVP, information: Testing the original HP Fortran 77 compiler IVP, information: Compiling and linking. IVP, information: Running. IVP, information: Execution of original HP Fortran 77 successful. IVP, information: Testing the redirected HP Fortran 77 compiler IVP, information: Compiling and linking. IVP, information: Running. IVP, information: Execution of redirected HP Fortran 77 successful. IVP, information: Testing the HP Fortran 90 compiler IVP, information: Compiling and linking. IVP, information: Running. IVP, information: Execution of HP Fortran 90 successful. IVP, information: Cleaning up. IVP, information: DFABASE560 is properly installed. csh> setld -v HPFLIBS192 HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems (HPFLIBS192) Copyright 2003 Hewlett-Packard Company Starting the verification of HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems (HPFLIBS192) HP Tru64 UNIX Alpha Systems Subset: HP Fortran HPF RTL V1.9-2 for HP Tru64 UNIX Alpha Systems ( HPFLIBS192) Checking the presence of the HPF scalar libraries ... Done. Checking for the presence of the f90 compiler ... Done. Creating a sample F90 program ... Done. Compiling the sample F90 program ... Done. Linking the sample F90 program with the static HPF scalar library ... Done. Running the sample F90 program ... Done. Linking the sample F90 program with the shared HPF scalar library ... Done. Running the sample F90 program ... Done. Verification of HPFLIBS192 is successful. csh> setld -v DFARTL406 HP Fortran RTL #406 for HP Tru64 UNIX Alpha Systms (f90 and f77) (DFARTL406) DFARTL406: Starting Installation Verification Procedure (IVP) Copyright 2003 Hewlett-Packard Development Company, L.P. IVP, information: Checking shared libraries. IVP, information: Shared libraries are correctly installed. IVP, information: DFARTL406 is properly installed. csh> setld -v XMDCOM520 CXML Common Files for the Extended Math Lib, V5.20 (XMDCOM520) csh> setld -v XMDHTM520 CXML Reference (man)Pages in HTML format (XMDHTM520) csh> setld -v XMDLIB4520 CXML Extended Math Libraries (Serial and Parallel) for Ev4, V5.20 (XMDLIB4520) Running CXML V5.20 IVP on usr/shlib/libcxml_ev4.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxml_ev4.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress B-2 HP Fortran Installation Guide for Tru64 UNIX Systems IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libcxml_ev4. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxml_ev4. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/lib/libcxml_ev4.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxmlp_ev4.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/lib/libcxmlp_ev4. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/lib/libdxmlp_ev4. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libd0xmlp_ev4. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V4.1 IVP on usr/shlib/libdxmlp.so Copyright (c) Hewlett-Packard Company, 2005. All rights reserved. Example of an HP Fortran Installation Verification Procedure (IVP) B-3 IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V4.1 IVP on usr/shlib/libcxmlp_ev5.so Copyright (c) Hewlett-Packard Company, 2005. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK csh> setld -v XMDLIB5520 CXML Extended Math Libraries (Serial and Parallel) for Ev5, V5.20 (XMDLIB5520) Running CXML V5.20 IVP on usr/shlib/libdxml.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libcxml_ev5.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxml_ev5.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libcxml_ev5. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxml_ev5. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. VP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libcxml. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. VP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxml. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. VP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libcxmlp.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. VP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxmlp.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. VP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libcxmlp_ev5.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. VP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxmlp_ev5. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. VP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libcxmlp. Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. VP_TEST> IVP Testing in progress IVP_TEST> CXML IVP completed OK Running CXML V5.20 IVP on usr/shlib/libdxmlp.so Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. csh> setld -v XMDMAN520 CXML Reference (man)Pages (XMDMAN520) Running CXML V5.20 SCIPORT IVP ..... Copyright (c) Compaq Computer Corporation, 2001. All rights reserved. IVP_TEST>IVP Testing in progress IVP_TEST> cxml SCIPORT IVP completed OK