HP Fortran Release Notes Version 3.3 HP Part Number: 5992-4216 Published: September 2008 Edition: 1.
© Copyright 2008 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 in this document is subject to change without notice.
Table of Contents HP Fortran Overview...........................................................................................................5 What is New in This Version................................................................................................5 New Features in Version 3.3............................................................................................5 Fortran 2003 Features.................................................................................................
List of Examples 1 2 4 Binary, Octal and Hex constants...................................................................................7 Complex Constants.......................................................................................................
The information in this document applies to the release of HP Fortran compiler Version 3.3, supported on HP-UX 11i v1, 11i v2, and 11i v3 operating systems. HP Fortran Overview HP Fortran for HP-UX is a powerful mathematical and scientific language that supports array-handling, data-abstraction, and data hiding. HP Fortran v3.3 is supported on HP-UX 11i v2 or HP-UX 11i v3 operating systems on Integrity systems, and HP-UX 11i v1, HP-UX 11i v2, or HP-UX 11i v3 operating systems on HP 9000 systems.
Allocatable Attributes Allocatable attribute is now supported on function dummy arguments and function results. As per this a function can have the following: • • Allocatable arrays as dummy arguments Allocatable arrays as function results Specification and Initialization expression A specification expression can now reference a recursive function provided that the function does not invoke the procedure containing that specification expression. It can also refer an IEEE inquiry function.
Computing access to the environment Computing access to the environment is now supported by following intrinsic functions: • • • • GET_COMMAND - returns the command that invoked the program. GET_COMMAND_ARGUMENT - returns a command line argument of the command that invoked the program. GET_ENVIRONMENT_VARIABLE - returns the value of the specified environment variable. COMMAND_ARGUMENT_COUNT - returns the number of command line arguments for the command that invoked the program.
Inline assembly support is desirable on Itanium based systems for the following reasons: • • • To allow efficient source level access to machine resources, such as Application registers, Control Registers, and Processor Status Register. To efficiently carry out low level operations such as synchronization, altering the cache state and manipulating the register stack.
Optimized module files Under +moduleoptimize option, the compiler reads only required information from a module file. The compiler ignores multiple occurrence of a usestatement and creates optimized module files. The size of the resulted module files and the compilation time for modules will be reduced. Limitations in HP Fortran This section discusses the limitations that exist when using the HP Fortran compiler and when using HP Fortran language features in your programs.
Compatibility and Installation Requirements This section describes system requirements for the installation and running of HP Fortran v3.3. Software Requirements The HP Fortran v3.3 compiler requires approximately 264 megabytes (MB) of disk space. This includes approximately 172 MB for the compiler, with remaining space for other components such as the debuggers. Hardware Requirements HP Fortran v 3.3 is supported on hardware running HP-UX 11i v1, HP-UX 11i v2, or HP-UX 11i v3 operating system.
Related Documentation Following are the related documentation for Fortran: • • f90(1) manpage The Libm Library and Floating-Point Arithmetic for HP-UX on Itanium are available at: http://cllweb.cup.hp.com/mathlibs/external/document/fp_whitepaper.pdf NOTE: This release notes is also available at: /opt/fortran90/newconfig/RelNotes/Fortran90.3.1.2.htm|pdf|ps|txt Tru64 Fortran Features Tru64 Fortran features are valid for HP-UX 11i v2 and HP-UX 11i v3 on both Integrity systems and HP 9000 systems.
*5992-4216* Printed in the US