| United States-English |
|
|
|
![]() |
HP-UX 64-bit Porting and Transition Guide: HP 9000 Computers > Chapter 2 Summary of Changes HP Fortran 90 |
|
To generate 32-bit mode code to run on HP-UX 64-bit systems, no new compiler command line options are required. To compile in 64-bit mode, use the +DA2.0W command line option. There are no HP Fortran 90 language differences between 32-bit and 64-bit programs. Recompiling should suffice to convert a 32-bit Fortran program to run as a 64-bit program. Whereas using the +DA2.0W option to compile HP Fortran 90 programs in 64-bit mode has no effect on Fortran data types, the C language has some differences in data type sizes. If your Fortran program calls functions written in C and is compiled in 64-bit mode, the size differences may require promoting data items that are passed to or from the C functions. Table 2-4 “Size Differences Between HP Fortran 90 and C Data Types” shows the differences between the corresponding data types in HP Fortran 90 and C when compiling in 32-bit mode and in 64-bit mode. Table 2-5 “Size Differences After Compiling with +autodbl” shows the differences when the Fortran program is compiled with the +autodbl option. (The +autodbl option increases the default size of integer, logical, and real items to 8 bytes, and double precision and complex items for 16 bytes.) Table 2-4 Size Differences Between HP Fortran 90 and C Data Types
Table 2-5 Size Differences After Compiling with +autodbl
The following are new features included in the HP-UX 11.0 release: Table 2-6 New and Changed HP Fortran 90 Features
In addition, HP Fortran 90 adds new parallelization directives, library calls, fast math intrinsics, and optimization options. For More Information:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||