Compaq KAP C/OpenMP for Tru64 UNIX

Compaq KAP C/OpenMP
for Tru64 UNIX

Installation Guide



Order Number: AA--PXEEK--TE


June 2000

This document contains instructions for installing Compaq KAP C/OpenMP on Compaq Tru64 UNIX systems.

Revision/Update Information: This is a revised document.

Operating System and Version: Compaq Tru64 UNIX Versions 4.0F, 5.0, and 5.0A

Software Version: Version 4.1
Compaq C Version 6.1

Compaq Computer Corporation
Houston, Texas


© 1993 Compaq Computer Corporation

© 1993 Kuck & Associates, Inc.

Compaq, the Compaq logo, Compaq C, and Compaq Fortran, Registered in U.S. Patent and Trademark Office.

KAP is a trademark of Kuck & Associates, Inc.

UNIX is a registered trademark of The Open Group.

All other product names mentioned herein may be trademarks or registered trademarks of their respective companies.

Compaq shall not be liable for technical or editorial errors or omissions contained herein. The information in this document is subject to change without notice. This document is available on CD-ROM.

Contents


Preface

This manual describes how to install Compaq KAP C/OpenMP on processors running the Compaq Tru64 UNIX operating system.

For information about the compatibility of other software products with this version of KAP, refer to the Software Product Description (SPD). You can use the SPD to verify which versions of your operating system are compatible with this version of KAP.

Intended Audience

This manual is intended for a system manager who installs Compaq KAP C/OpenMP on a Tru64 UNIX system.

Structure of This Document

This manual includes three chapters and two appendixes:

Associated Documents

Please read the cover letter and release notes before installing the software, in case important information missing from this document has been added to these documents.

The documentation for Compaq KAP C/OpenMP also includes the following:

For general information about installing software, refer to your Tru64 UNIX installation guide.

Conventions

The following conventions are used in this guide:
Convention Description
UPPERCASE and lowercase The Tru64 UNIX system differentiates between lowercase and uppercase characters. Literal strings that appear in text, examples, syntax descriptions, and function descriptions must be typed exactly as shown.
user input This bold typeface is used in interactive examples to indicate typed user input.
# A number sign is the default superuser prompt.


Chapter 1
Preparing to Install Compaq KAP C/OpenMP

This chapter describes the preparations and requirements for installing Compaq KAP C/OpenMP on Tru64 UNIX.

Your bill of materials (BOM) and indented bills report (BIL) specify the contents of your kit. If your kit is damaged or if you find that parts of it are missing, contact your Compaq representative.

Before starting the installation procedure described in Chapter 2, complete the preparations outlined in this chapter. You need to know about installation options and information related to the installation procedure.

1.1 Registering the License

The Compaq KAP C/OpenMP software supports the Tru64 UNIX License Management Facility (LMF). A License Product Authorization Key (License PAK) must be registered in the License Database (LDB) to use KAP C/OpenMP. 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.

To register a license under Tru64 UNIX, first log in as superuser. You can then perform the PAK registration in either of these two ways:

  1. If you have the license PAK on paper, enter the following commands at the superuser prompt:


    #  /usr/sbin/lmf register
    


    #  /usr/sbin/lmf reset
    


    #  exit
    

  2. If you have the license PAK in the form of a csh command script (in PAK_file), enter the following commands at the superuser prompt:


    #  /usr/sbin/lmf register - < PAK_file
    #  /usr/sbin/lmf load users
    #  exit
    

For complete information about using the Tru64 UNIX LMF, see the DEC OSF/1 AXP Version 1.3 Guide to Software Licensing (DIGITAL UNIX Version 3.2) or DIGITAL UNIX Software License Management (DIGITAL UNIX Version 4.0 and above) or the lmf(8) reference page.

1.2 Checking the Media Software Distribution Kit

The kit includes a CD-ROM optical disk.

1.3 Understanding Installation Procedure Requirements

Installing Compaq KAP C/OpenMP and the Compaq KAP C/OpenMP reference pages, and running the Installation Verification Procedure (IVP) on a standalone system takes about 2 minutes.

1.3.1 Login Privileges

You must be able to log in as superuser on the system where you are installing Compaq KAP C/OpenMP. Only when you are logged in as superuser do you have sufficient privileges to install the Compaq KAP C/OpenMP software.

1.3.2 Hardware Requirements

For a complete list of supported processors, see the SPD.

Installing Compaq KAP C/OpenMP requires at least 8.0 megabytes of storage space on your system.

To perform the installation, you need the following hardware:

1.3.3 Software Requirements

You must install the following software before you install Compaq KAP C/OpenMP, Version 4.1, for Tru64 UNIX:

When you have installed the previous software, you can install the Compaq KAP C/OpenMP software, which consists of the KPCBASE410 subset.

The SPD contains a complete list of prerequisite software and required version numbers.

1.3.4 Disk Space Requirements

The disk space requirements discussed in this section apply to the disks where you load the KAP C/OpenMP subset. Table 1-1 lists the disk space requirements for loading KAP C/OpenMP software subsets for Tru64 UNIX systems.

Table 1-1 KAP Subset Sizes with DIGITAL UNIX
Subset Name /usr/opt /usr/bin usr/man/man1
KPCBASE410 8 MB 50 bytes 50 bytes

The KAP C/OpenMP installation procedure loads files into the following directories:


/usr/opt 
/usr/bin 
/usr/man/man1 
/usr/lib 
/usr/include 

Compare the space required for subsets with the free space currently on the disks where KAP C/OpenMP files will reside.

To determine the current amount of free space for a directory path, log in to the system where you plan to install KAP C/OpenMP. You can check which file systems are mounted and where they are by displaying the file /etc/fstab. For example:


#  more /etc/fstab
/dev/rz0a    /      ufs rw 1 1
/dev/rz0g    /usr   ufs rw 1 2
/dev/rz0b    swap1  ufs rw 0 2
/dev/rz1c    swap2  ufs sw 0 2
/dev/rz0f    /usr/users ufs rw 1 2
 

The previous display indicates that /usr (mounted to /dev/rz0g ) is the only mount point that affects where KAP C/OpenMP files will reside; the system has only one local disk drive and the /usr/opt file system resides in the g partition of the disk on that drive.

Enter the df command to determine total space and free space for the one or two file systems where KAP C/OpenMP files will reside. Based on the previous display of the /etc/fstab file, which shows that only /usr is a mount point, you would only need to inspect free space in the /usr file system:


#  df /usr
Filesystem   Total     blks    blks   % 
node         512-blks  used    free   used   Mounted on
/dev/rz0g    793406    624892  89172  88%    /usr

The previous display indicates that there are 89172 blocks (512 bytes per block) free. This free space accommodates the subset requirements listed in Table 1-1 for the /usr/opt file system.

On systems where /usr/opt is mounted to different devices from /usr, enter the following command:


#  df /usr/opt

In this case, you compare space required for Compaq KAP C/OpenMP files in /usr/lib to the free space displayed in the output list.

If you find that there is insufficient disk space for the Compaq KAP C/OpenMP subsets, and know that you have additional space on alternative disks or disk partitions for your system, you can take the following steps before installing Compaq KAP C/OpenMP:

  1. Log in as superuser.
  2. 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.
  3. Enter the mount -a command so that the new mount points take effect.

1.4 Backing Up Your System Disk

Compaq recommends that you back up your system disk before installing any software. Use the backup procedures established at your site. For details about performing a system disk backup, see your Tru64 UNIX documentation.

1.5 Stopping the Installation

You can stop the installation procedure at any time by pressing Ctrl/C. However, files created up to that point are not deleted. You must delete these files interactively. Appendix A lists the files and directories created during the installation procedure.

1.6 Recovering from Errors

If errors occur during the installation, the system displays failure messages. If the installation fails due to insufficient disk space, the installation procedure displays the following message:


There is not enough file system space for subset KPCBASE410.
KPCBASE410 will not be loaded.

If any of the following conditions exist, errors can occur during the installation:

For descriptions of error messages generated by these conditions, see the Tru64 UNIX documentation on system messages, recovery procedures, and Tru64 UNIX software installation. If you are notified that any of these conditions exist, take the appropriate action described in the message. For information about software requirements, see Section 1.3.3.


Chapter 2
Installing Compaq KAP C/OpenMP

This chapter describes the procedures for installing Compaq KAP C/OpenMP on a Tru64 UNIX system.

2.1 Installing Compaq KAP C/OpenMP

This section explains how to start a local installation procedure directly from the CD-ROM and how to respond to installation procedure prompts.

2.1.1 Starting the Installation Procedure

Start the Compaq KAP installation procedure from CD-ROM as follows:

  1. Mount the media on the appropriate drive.
  2. Log in as superuser (the login name is root) to the system where you are installing Compaq KAP C/OpenMP.
  3. Make sure that you are at the root (/) directory by entering the following command:


    #  cd /
    

  4. Specify the /mnt directory to be the mount point for the distribution file system on the drive. If your CD-ROM drive is rz4c, enter the following command:


    #  mount /dev/rz4c /mnt
    

  5. Enter a setld command that requests the load function and identifies the directory in the mounted file system where Compaq KAP C/OpenMP subsets are located.
    The directory location for the Compaq KAP subsets is /mnt/kpc410. For example, if you load Compaq KAP C/OpenMP subsets onto a Tru64 UNIX system, enter the following command:


    #  /usr/sbin/setld -l /mnt/kpc410/kit KPCBASE410
    

2.1.2 Responding to Installation Procedure Prompts

This section explains the installation procedure prompts and displays.

2.1.2.1 Loading the KPC Kit

After you enter the setld command, the installation procedure displays the following message:


Checking file system space required to install specified subsets: 

If there is sufficient file system space, the KPC kit begins loading.

2.1.2.2 Monitoring Displays During the Subset Loading Process

After the kit is loaded, the procedure displays a series of messages, as follows:


 
Product Name: KAP-C 
Producer: KUCK 
Version: 4.1 
Issuer: DEC 
 
The Product Authorization Key (PAK) must be 
registered with the LICENSE MANAGEMENT FACILITY. 
 

Next, you are asked if the PAK is registered. Enter y if your PAK is registered.


Is the PAK registered and loaded? [y/n] y 

Then, the IVP will run automatically. The IVP checks to ensure that the installation is successful. If the Compaq KAP subset is properly installed, then the IVP displays the following message:


 
KAP C Installation Verification Procedure (IVP) 
Version: 4.1 k010725 20000517 
 
 
IVP passed Optimization Compilation Test 
 
IVP passed Object Execution Test 
 
IVP executed correctly 
 
 
KAP C/OpenMP 4.1 for Tru64 UNIX is properly installed. 

If you encounter errors during the installation, see the Diagnostics section of the setld(8) reference page for an explanation of the error and the appropriate action to take.

If the verification process fails, you can look in the file /usr/var/adm/fverify to find information that can help you diagnose the problem.

After you correct the installation problem, you should use the command /usr/sbin/setld -d KPCBASE410 to delete the Compaq KAP subset before you reinstall the product.

Chapter 3 discusses the postinstallation tasks.


Next Contents