HP Fortran Release Notes Version 3.5 HP Part Number: 5900-1775 Published: September 2011 Edition: 1.
© Copyright 2003-2011 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.
Contents 1 Fortran 3.5 Release Notes...........................................................................4 HP Fortran Overview.................................................................................................................4 What's New in This Version.......................................................................................................4 Product Changes in HP Fortran 3.5........................................................................................
1 Fortran 3.5 Release Notes The information in this document applies to the release of HP Fortran compiler Version 3.5, supported on HP-UX 11i v3 operating system. 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.5 is supported on HP-UX 11i v3 operating system on Integrity systems and HP 9000 systems. HP Fortran v3.5 supports both 32-bit and 64-bit address.
Product Changes in HP Fortran 3.4 In HP Fortran version 3.4, internally found defects are fixed. Product Changes in HP Fortran 3.3 HP Fortran version 3.3 supports the following new features: • Fortran 2003 Features ◦ Allocatable Attributes ◦ Specification and Initialization expression ◦ IEEE intrinsic modules The use of +f2003 command line option enables the Fortran 2003 features.
IEEE intrinsic modules Intrinsic modules IEEE_ARITHMETIC AND IEEE_EXCEPTIONS, are now supported to provide various facilities related to IEEE arithmetic. Procedure that uses IEEE_ARITHMETIC will have access to the public features of IEEE_EXCEPTIONS. Controlling IEEE underflow and Intrinsic Modules Following procedures have been added to the intrinsic module IEEE_ARITHMETIC.
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.
Selected intrinsic functions that have Real*10 support are: • ACOS • ACOSD • ACOSH • ATAN • ATAND • ATANH • COS • COSD • COSH • SIN • SIND • SINH • SQRT • RSQRT Performance improvement in SUM intrinsic function At +O2 or higher optimization levels the SUM intrinsic function is inlined with different approach if: • ARRAY argument is an array valued expression • DIM argument is constant • MASK is not present This enhancement improves the performance of the application contain
+Oparallel_intrinsics The +Oparallel_intrinsics option links in the parallel version of many of the Fortran intrinsics located in libF90_parallel. However, libF90_parallel for Itanium-based systems is still only a serial library. It will be parallelized in a future patch. OUT OF FREE SPACE Error The HP Fortran Programmer’s Reference states that the IOSTAT= and ERR= specifiers return error 913 (OUT OF FREE SPACE) when the I/O library attempts to use more memory than is available.
Specifying the +version option (entering f90 +version command) displays compiler version information to standard output without compiling. For information on defects and patches, see the HP IT Resource Center website at: http://itrc.hp.com 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.