Join Us Close. Join Tek-Tips Forums! Join Us! By joining you are opting in to receive e-mail. Promoting, selling, recruiting, coursework and thesis posting is forbidden. Students Click Here.
Can anyone help me out with this. I ned to install this package on Solaris 8 box. If you have previously installed these patches, installing the required patches does not downgrade your system. Note - If you are installing the Sun Studio 11 software on a system running the Solaris 10 OS with zones, you must install the required patches in the global zone.
Click Next to proceed to the Select Install Directory page. Click Next when you have entered the installation directory. If you did not select Custom Install for any of the products, skip to Step Optional for Custom Install If you selected Custom Install for any of the products in the Product Selection page, a Subcomponent Selection page is displayed for each of those products.
Select the subcomponents you want to install by clicking the check box next to the item. Items with a check mark in the box will be installed. The installer checks for adequate disk space, and the Ready to Install page appears.
Verify that the disk space shown at the top of the Ready to Install page is available on your system by using the df -k command. If you receive a disk space error message and you have sufficient disk space to install the product, then ignore the error message and continue with installation.
In the Ready to Install page, confirm that the items you want to install are listed. The Installing page appears with a progress indicator. When installation is complete, the Installation Summary page appears. If you want to view the installation log file for a product, click the Details button for that product in the Installation Summary page.
In the Registration page, read the information about registering the product and click Next. In the After Installation page, read the information about the log files and how to run the product.
Click Exit to finish the Sun Studio 11 software installation. Optional If you performed the installation using a remote display, on the display computer, disable client access by typing the following:. Exit from superuser privileges on the source computer by typing:. These instructions describe how to install the Sun Studio 11 software using the command-line interface.
If you are not currently superuser, become a superuser root by typing:. If the GUI installer starts, choose Exit to exit from the installer. To restart the installer in the command line, type:. Optional for electronic download If you downloaded the product file from the product web site, do the following:. See the Download Instructions available on the product web site download page for more information on uncompressing the tar file and extracting the contents..
From the download directory, start the command-line installation by typing:. Optional for Custom Install If you selected Custom Install for any of the products in the Product Selection page, a Subcomponent Selection page is displayed for each of those products. Select the subcomponents you want to install by clicking the check box next to the item.
Items with a check mark in the box will be installed. In the Enter Serial Number page, click the day Trial Serial Number button to generate the day trial serial number or enter your permanent serial number in the text box. See Locating the Product Serial Number for information on finding the serial number. The installer checks for adequate disk space, and the Ready to Install page appears. Verify that the disk space shown at the top of the Ready to Install page is available on your system by using the df -k command.
If you receive a disk space error message and you have sufficient disk space to install the product, then ignore the error message and continue with installation. In the Ready to Install page, confirm that the items you want to install are listed. If you want to install more products, click Back to return to the Select Components page, make your selections, and click Next to return to the Ready to Install page.
The Installing page appears with a progress indicator. When installation is complete, the Installation Summary page appears. If you want to view the installation log file for a product, click the Details button for that product in the Installation Summary page. In the Registration page, read the information about registering the product and click Next. In the After Installation page, read the information about the log files and how to run the product.
Click Exit to finish the Sun Studio 10 software installation. Optional If you performed the installation using a remote display, on the display computer, disable client access by typing the following:.
Exit from superuser privileges on the source computer by typing:. These instructions describe how to install the Sun Studio 10 software and serial number using the command-line interface. If you are not currently superuser, become a superuser root by typing:. If the GUI installer starts, choose Exit to exit from the installer. To restart the installer in the command line, type:. From the download directory, start the command-line installation by typing:. The installer welcomes you.
Press Enter to continue. Note - The Enter key is equivalent to the Return key on some keyboards. Press the Enter key to accept the default selections during installation.
Follow the installer instructions to complete the installation. See Step 9 in Using the Graphical User Interface Installer for additional information about selecting the installation directory. When installation is complete, you can view a product's log file by typing the number that corresponds to that product. When you finish viewing the log files, type the number that corresponds to Done.
Source files, object files, and libraries are compiled and linked in the order in which they appear on the command line. The lint program checks your C code for errors that may cause a compilation failure or unexpected results at runtime. In many cases, lint also warns you about incorrect, error-prone, or nonstandard code that the compiler does not necessarily flag.
Enhanced , which includes everything done by basic lint , as well as additional detailed analysis of code. The -Nlevel options can be between 1 and 4 where option 1 analyzes only single procedures and levels 2, 3 and 4 analyze the whole program with varying levels of complexity.
Consequently frame pointers will not be generated in each function or routine. The following example demonstrates how to override the -fast default for -xregs :.
To recognize OpenMP directives, use the compiler option -xopenmp. Note that this option also raises the optimization level to -xO3. No C object files are output when this flag is used, but a. Use these options to specify the memory model. For Solaris on x86 systems, the -m32 is the default option. The CC command invokes each of these components automatically unless you use command-line options to specify otherwise. The compiler automatically generates the object files and links them together to output the final executable test.
For example, if you use the -fast option frequently, you can set up the alias as follows:. Global program checking across routines for consistency of arguments, commons, parameters, and the like. Global, peephole, and potential parallelization optimizations produce high performance applications. Benchmarks show that optimized applications can run significantly faster when compared to non-optimized code.
The Sun Studio Performance Analyzer can be used with the Fortran 95 compiler for analysis of single-threaded and multithreaded applications. The Sun Studio Fortran compiler provides several command line options to enable runtime checking. Run time checking RTC is an integral debugging feature that lets you automatically detect runtime errors, such as memory access errors and memory leak, in a native code application during the development phase. It also lets you monitor memory usage.
You cannot use runtime checking on Java code. This option is used for debugging purposes. It helps the user to detect if a local variable is used before it is set. This option causes the compiler to check the value of ASSUME pragmas, and generate a message when the value is not true. In this case, only test1. Note that consistency should be maintained with options when compiling and linking are performed in different steps.
Also some compilation options require that they be used consistently across all source files. Refer to the Sun Studio Compiler Options table for a complete list of all the available options. The options are grouped by language, tasks, and platforms. The OpenMP Application Program Interface is a portable, parallel programming model for shared memory multiprocessor architectures.
0コメント