Today's Page Hits: 55
This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.
Sun Studio 12 U1
The latest production release includes improved binary application performance, full OpenMP 3.0 support, profiling of distributed MPI applications, unified application and system profiling using Solaris DTrace technology (DLight), a new standalone graphical debugger (dbxTool) and much more
C/C++/Fortran 95 Compilers
The Sun C, C++, and Fortran compilers include advanced features for developing applications on Sun Solaris SPARC and x86/x64 platforms. They utilize a common optimizing backend code generator, and accept standard C, C++, and Fortran with extensions.
The Sun Studio Performance Tools
The Sun Studio performance tools are designed to help answer questions about application performance. This article discusses the kinds of performance questions that users typically ask.
Debugging
Successful program debugging is more an art than a science. dbx is an interactive, source-level, post-mortem and real-time command-line debugging tool plus much more.
Performance Analyzer
The Sun Studio Performance Analyzer can help you assess the performance of your code, identify potential performance problems, and locate the part of the code where the problems occur. The Performance Analyzer can be used from the command line or from a graphical user interface.
Multithreaded (Parallel) Computing
Two critical forces are shaping the direction of software development. One is the deep adoption of parallel computing. The other is the move toward service-oriented architecture. But how prepared are the software developers and tool vendors for the challenge of working in parallel computing environments?
Performance Tuning and Optimization
Sun Studio C, C++, and Fortran compilers offer a rich set of compile-time options for specifying target hardware and advanced optimization techniques. But knowing which options to pick for a given application can be tricky.
Numerical Computation
The floating-point environment on Sun SPARC and x86/x64 platforms enables you to develop robust, high-performance, portable numerical applications. The floating-point environment can also help investigate unusual behavior of numerical programs written by others.
Sun Studio on Linux
The latest production release of Sun Studio 12 software has an IDE, performance analyzer, debugger, and better support for the GNU Compiler Collection (GCC). And, with the release of Sun Studio 12, Linux developers can now take advantage of Sun's world-class compilers and tools on the Linux platform.
Sun Performance Library
The Sun Performance Library is a set of optimized, high-speed mathematical subroutines for solving linear algebra and other numerically intensive problems. It is based on a collection of public domain applications available from Netlib. These public domain applications have been enchanced and optimized for Sun high-performance platforms.
High Performance Computing
High Performance and Technical Computing (HPTC) applies numerical computation techniques to highly complex scientific and engineering problems. Sun Studio compilers and tools provide a seamless, integrated environment from desktop to TeraFLOPS for both floating-point and data-intensive computing.
Studio 12u1 Download
Posted at 03:58PM Jun 26, 2009 by hstsao in Sun Studio | Comments[0]
sun studio 12 installation experience
Recently I need to help a customer to test some code, and he is will to try it on Solaris
After the Solaris 08/07 installed on the new servers, one need to install the latest Sun Studio 12
As usually I search for the patches info and find this pages Studio 12 patches
I busy download all these patches for solaris 10
I also download the latest Sun Studio 12 from download Use the simple commands batch_installer --accept_sla It finish in no time
I then try to install the patches and find that most patches are already installed and I also find a statement on this pages Sun Studio 12 ML editions is the Sun studio 12 plus patches sunstudio
Sun Studio 12 Multi-Language Release Now Available! Sun Studio 12 in English, Japanese and Simplified Chinese, with IDE enhancements and bundled product patches!
I wish that it has a link tell me which patches was part of the releases
I just need to install the following patches
Posted at 07:40PM Oct 19, 2007 by hstsao in Sun Studio | Comments[1]
what's new in pathscale 2.0
pathscale EKO compiler version 2.0 has the following new features
Posted at 07:39AM Jan 15, 2005 by hstsao in Sun Studio | Comments[1]
observations on pathscale and pgroup compiler
during the break I spend some time going through the docs for pathscale (1.4) and pgroup CDK compilers (5.2) The followings are my observations:
Posted at 01:37PM Jan 06, 2005 by hstsao in Sun Studio | Comments[1]
mixing C library in Fortran
recently LK send me an query from customer about calling C library in Fortran
question is the following
We have a f90 code, which uses rand, irand, srand fnctions a lot. That code works fine on other platform, e.g., SP, but on the Sun workstation, the code cannot be compiled because of no_found srand. Enclosed below please find a small example that I created just for demonstrating the problem. f90 -xpp=cpp use_srand.f90 -lc -lm gives this error: Undefined first referenced symbol in file srand_ use_srand.o ld: fatal: Symbol referencing errors. No output written to a.out Is there any tricky stuff in calling C library?
PROGRAM use_srand
INTEGER*4 :: SEED(2),time,current_time,irand
EXTERNAL srand, irand
current_time=time()
print*,' Current_time ', current_time
call srand(current_time)
print*,' Current_time ', current_time
SEED(1)=irand(current_time)
SEED(2)=irand(current_time+1)
print*,' SEED(1) ', SEED(1), ' SEED(2) ', SEED(2)
stop
end
Since I donot work with codes everyday so I look it up on http://docs.sun.com/ Sun have many different version of compiler, but in each version there are instruction about calling C library in Fortran
I also have two internal machines to test the codes, one has FD7 compiler one has SS9
FD7 Fortran reference manul chapter11
11.1.4 Underscores in Routine Names
The Fortran compiler normally appends an underscore (_) to the names of subprograms appearing both at entry point definition and in calls. This convention differs from C procedures or external variables with the same user-assigned name. Almost all Fortran library procedure names have double leading underscores to reduce clashes with user-assigned subroutine names.
There are three usual solutions to the underscore problem:
The examples in this chapter could use the C() compiler pragma to avoid underscores. The C() pragma directive takes the names of external functions as arguments. It specifies that these functions are written in the C language, so the Fortran compiler does not append an underscore as it ordinarily does with external names. The C()directive for a particular function must appear before the first reference to that function. It must also appear in each subprogram that contains such a reference. The conventional usage is:
EXTERNAL ABC, XYZ !$PRAGMA C( ABC, XYZ )
If you use this pragma, the C function does not need an underscore appended to the function name. (Pragma directives are described in the Fortran User's Guide
I make the following change
PROGRAM use_srand
INTEGER*4 :: SEED(2),time,current_time,irand
EXTERNAL srand , irand
!$PRAGMA C(srand)
current_time=time()
print*,' Current_time ', current_time
call srand(current_time)
print*,' Current_time ', current_time
SEED(1)=irand(current_time)
SEED(2)=irand(current_time+1)
print*,' SEED(1) ', SEED(1), ' SEED(2) ', SEED(2)
stop
end
For SS9 , the docs said the followings:
There are three usual solutions to the underscore problem:
Posted at 09:54AM Dec 23, 2004 by hstsao in Sun Studio | Comments[1]
use prism to debug the F95 program
I ask him to show me what he ty to do:
Posted at 03:20PM Jun 10, 2004 by hstsao in Sun Studio |