• Aucun résultat trouvé

Adding Swap Space

Adding Swap Space

If the system on which you are installing the software does not have the required minimum 1 GB of swap space, add swap space by doing the following.

Adding Swap Space on a Solaris System

Become a superuser (root) by typing:

% su

Password: root-password

Create a file in a selected directory to add swap space by typing:

mkfile number[m|k|b] /directory/swap-file-name

wherenumberis an amount of swap space, followed by eithermfor megabyte,kfor kilobyte, orb for block. Thedirectoryis a directory in which you have permission to add swap space. The swap-file-nameis the name of the swap file you are creating.

For example, to create a 16-megabyte swap file named16mswapin thefoodirectory, type the following:

mkfile 16m /foo/16mswap

See themkfile(1M) man page for more information.

Verify that the file was created by typing:

ls -l /directory/swap-file-name

The new file appears in the directory. For example:

ls -l /foo/16mswap

-rw---T 1 root other 16777216 Dec 12 14:24 /foo/16mswap

B

A P P E N D I X B

1

2

3

37

Run theswapcommand to specify the additional swap space by typing:

swap -a /directory/swap-file-name

Verify that the extra swap space was added by typing:

swap -s

The output shows the allocated swap space. For example:

swap -s

total: 289336k bytes allocated + 27008k reserved = 316344k used, 298336k available

Adding Swap Space on a Linux System

Become a superuser (root) by typing:

% su

Password: root-password

Create a file in a selected directory to add swap space by typing:

dd if=/dev/zero of=/dir/myswapfile bs=1024 count=number_blocks_needed

wherediris a directory in which you have permission to add swap space. Themyswapfileis the name of the swap file you are creating. Thenumber_blocks_neededis an amount of 1024-byte blocks you want to create. See thedd(1) man page for more information.

Verify that the file was created by typing:

ls -l /dir/myswapfile

The new file appears in the directory.

Initialize the new swap area by typing:

mkswap /dir/myswapfile

See themkswap(8) man page for more detailed information.

Run theswaponcommand to enable the new swap space for paging and swapping by typing the following:

swapon -a /dir/myswapfile

Verify that the extra swap space was added by typing:

swapon -s

The output shows the allocated swap space.

4

5

1

2

3

4

5

6 Adding Swap Space

Oracle Solaris Studio 12.2 Installation Guide • October 2010 38

Oracle Solaris 12.2 Components and Packages

This appendix lists the components, and packages that comprise the Oracle Solaris Studio 12.2 software.

Table C–1lists the Oracle Solaris Studio 12.2 software package configuration and component information for the Solaris OS on SPARC based systems.

Table C–2lists the Oracle Solaris Studio 12.2 software package configuration and component information for the Solaris OS on x86 based systems.

Table C–3lists the Oracle Solaris Studio 12.2 RPM package and component information for Linux platforms.

TABLE C–1 Oracle Solaris Studio 12.2 Components and Packages for SPARC Based Systems

Component Packages

C and C++ Compilers SPRO-12u2-cc

SPRO-12u2-c++

SPRO-12u2-c++-libs

Fortran Compiler SPRO-12u2-fortran

SPRO-12u2-f90-libs

dbx Debugger SPRO-12u2-dbx

dbxtool SPRO-12u2-dbxtool

dmake SPRO-12u2-dmake

IDE SPRO-12u2-studio-ide

SPRO-12u2-netbeans

DLight Observability Tool SPRO-12u2-dlight

C

A P P E N D I X C

39

TABLE C–1 Oracle Solaris Studio 12.2 Components and Packages for SPARC Based Systems (Continued)

Component Packages

Performance and Thread Analysis Tools SPRO-12u2-analyzer

Math Libraries SPRO-12u2-math-libs

Support Files SPRO-12u2-backend

SPRO-12u2-studio-common

Performance Library SPRO-12u2-perflib

ScaLAPACK SPRO-12u2-scalapack

Localizations SPRO-12u2-studio-ja

SPRO-12u2-studio-zhCN

TABLE C–2 Oracle Solaris Studio 12.2 Components and Packages for x86 Based Systems

Component Packages

C and C++ Compilers SPRO-12u2-cc

SPRO-12u2-c++

SPRO-12u2-c++-libs

Fortran Compiler SPRO-12u2-fortran

SPRO-12u2-f90-libs

dbx Debugger SPRO-12u2-dbx

dbxtool SPRO-12u2-dbxtool

dmake SPRO-12u2-dmake

IDE SPRO-12u2–studio-ide

SPRO-12u2–netbeans

DLight Observability Tool SPRO-12u2-dlight

Performance and Thread Analysis Tools SPRO-12u2-analyzer

Math Libraries SPRO-12u2-math-libs

Support Files SPRO-12u2-backend

SPRO-12u2-studio-common

Performance Library SPRO-12u2-perflib

ScaLAPACK SPRO-12u2-scalapack

Oracle Solaris 12.2 Components and Packages

Oracle Solaris Studio 12.2 Installation Guide • October 2010 40

TABLE C–2 Oracle Solaris Studio 12.2 Components and Packages for x86 Based Systems (Continued)

Component Packages

Localizations SPRO-12u2-studio-ja

SPRO-12u2-studio-zhCN

TABLE C–3 Oracle Solaris Studio 12.2 Components and RPM Packages for Linux Platforms

Component RPMs

C and C++ Compilers solstudio12u2-cc-12.2-1

solstudio12u2-c++-12.2-1 solstudio12u2-c++-libs-12.2-1

Fortran Compiler solstudio12u2-fortran-12.2-1

solstudio12u2-f90-libs-12.2-1

dbx Debugger solstudio12u2-dbx-12.2-1

dbxtool solstudio12u2-dbxtool-12.2-1

dmake solstudio12u2-dmake-12.2-1

IDE solstudio12u2-studio-12.2-1

solstudio12u2-netbeans-12.2-1 Performance and Thread Analysis Tools solstudio12u2-analyzer-12.2-1

Support Files solstudio12u2-backend-12.2-1

solstudio12u2-studio-common-12.2-1 solstudio12u2-compiler-oslibs-12.2-1

Performance Library solstudio12u2-perflib-12.2-1

ScaLAPACK solstudio12u2-scalapack-12.2-1

Localizations solstudio12u2-studio-ja-12.2-1

solstudio12u2-studio-zhCN-12.2-1 Oracle Solaris 12.2 Components and Packages

Appendix C • Oracle Solaris 12.2 Components and Packages 41

42

Patch Identification Numbers and Descriptions

Operating system patches are provided for the Oracle Solaris Studio 12.2 software. These patches are required for the proper operation of the compilers and tools in this release. This appendix lists the Solaris OS patches that are included with this release. If these patches are not already installed on your system, you can install them using theinstall_patchesscript that is included in the directory that contains the installer.

Table D–1lists the patch identification numbers and descriptions of the required patches for the Solaris 10 OS on SPARC based systems.

Table D–2lists the patch identification numbers and descriptions of the required patches for the Solaris 10 OS on x86 based systems.

Additional patches, which are not included in the product download file or on the product DVD, are recommended to resolve specific issues that might or might not affect your use of the software. To install one of the recommended patches, download the patch fromSunSolve (http://sunsolve.sun.com)and follow the instructions in the README file included with the patch, which contains important information on risks and proper procedure.

Table D–3lists the patch identification number and description of the recommended patch for the Solaris 10 OS on SPARC based systems.

Table D–4lists the patch identification numbers and descriptions of the recommended patches for the Solaris 10 OS on x86 based systems.

TABLE D–1 Required Patches for Solaris 10 OS on SPARC Based Systems

Patch Identification Number Patch Description

118683-05 Assembler andlibxprofpatch (required for

-xprofileoption)

120753-08 libmtskpatch

119963–20 Shared library patch for C++

D

A P P E N D I X D

43

TABLE D–2 Required Patches for Solaris 10 OS on x86 Based Systems

Patch Identification Number Patch Description

119961-07 Assembler andlibxprofpatch (required for

-xprofileoption)

120754–08 libmtskpatch

119964–20 Shared library patch for C++

TABLE D–3 Recommended Patch for Solaris 10 OS on SPARC Based Systems

Patch Identification Number Patch Description

127127–11 Kernel patch. This patch is required on systems running

Solaris 10 OS releases earlier than the Solaris 10 08/07 release in order for compiler annotations (-xannotate=yes) to work.

TABLE D–4 Recommended Patches for Solaris 10 OS on x86 Based Systems

Patch Identification Number Patch Description

127128–11 Kernel patch. This patch is required on systems running

Solaris 10 OS releases earlier than the Solaris 10 08/07 release in order for compiler annotations (-xannotate=yes) to work.

137122–01 Kernel patch. This patch is required on systems running

Solaris 10 releases earlier than the Solaris 10 10/08 release on which patch 127112 or 127128 has been installed in order to use the dbx debugger to debug applications that use signal handling.

Patch Identification Numbers and Descriptions

Oracle Solaris Studio 12.2 Installation Guide • October 2010 44

Version Numbers of the Oracle Solaris Studio 12.2 Components

This appendix provides the version numbers of the components of the Oracle Solaris Studio 12.2 software.

TABLE E–1 Version Numbers of the Oracle Solaris Studio 12.2Components

Component Version Number

C compiler 5.11

C++ compiler 5.11

Fortran 95 compiler 8.5

dbx debugger 7.8

dbxtool 0.10

DLight 2.0

dmake 8.0

IDE 9.0

Locklint 2.6

OpenMP Support 3.0

Performance Analyzer 7.8

Standard C++ Library 5.11

STLport 4.5.3

Sun Performance Library 2010/08/11

Thread Analyzer 7.8

Tools.h++ 7.1.0

E

A P P E N D I X E

45

46

Index

A

accessible documentation, 8

C

command-line options for GUI installer, 33 for non-GUI installer, 34 for uninstaller, 35

components, information on, 39

D display

local, of installer, 13 local, of uninstaller, 25 remote, of installer, 13 remote, of uninstaller, 25 display computer, 13 documentation, accessing, 8 documentation index, 8

G

graphical user interface installer

failure if TMPDIR points to non world-writable directory, 29

GNOME errors when starting, 30

using, to install Oracle Solaris Studio software, 18 using, to install runtime libraries only, 20

graphical user interface uninstaller, using, 26

I

IDE, starting, 24 installation

customizing, 19 failed, fixing, 30

on Linux platforms, 31 on Solaris platforms, 31

failure on NFS-mounted filesystem, 32 overview, 11

installation log file, 32

installation method, choosing, 15 installer lock file, 30

installing in a zone, 17

on a server for use by clients with the same architecture, 17

on a single-user system, 17 on multiple systems, 18

required OS patches on a client, 23 required OS patches on a server, 23 symbolic links, 19

using a local display, 13 using a remote display, 13

L

local display of installer, 13

47

Documents relatifs