30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using Programming Language Elements<br />

You cannot branch to a label within your program. You can instead branch<br />

to a <strong>TotalView</strong> line number.<br />

� The following expression operators are not supported: CHARACTER operators<br />

and the .EQV., .NEQV., and .XOR. logical operators.<br />

� You can’t use subroutine function and entry definitions.<br />

� You can’t use Fortran 90 pointer assignment (the => operator).<br />

� You can’t call Fortran 90 functions that require assumed shape array arguments.<br />

Fortran Intrinsics<br />

<strong>TotalView</strong> supports some Fortran intrinsics. You can use these supported<br />

intrinsics as elements in expressions. The classification of these intrinsics<br />

into groups is that contained within Chapter 13 of the Fortran 95 Handbook,<br />

by Jeanne C. Adams, et al., published by the MIT Press.<br />

<strong>TotalView</strong> does not support the evaluation of expressions involving complex<br />

variables (other than as the arguments for real or aimag). In addition,<br />

we do not support function versions. For example, you cannot use dcos<br />

(the double-precision version of cos).<br />

The supported intrinsics are:<br />

� Bit Computation functions: btest, iand, ibclr, ibset, ieor, ior, and not.<br />

� Conversion, Null and Transfer functions: achar, aimag, char, dble, iachar,<br />

ichar, int, and real.<br />

� Inquiry and Numeric Manipulation Functions: bit_size.<br />

� Numeric Computation functions: acos, asin, atan, atan2, ceiling, cos,<br />

cosh, exp, floor, log, log10, pow, sin, sinh, sqrt, tan, and tanh.<br />

Complex arguments to these functions are not supported. In addition, on<br />

MacIntosh and AIX, the log10, ceiling, and floor intrinsics are not supported.<br />

The following are not supported:<br />

� Array functions<br />

� Character computation functions.<br />

� Intrinsic subroutines<br />

If you statically link your program, you can only use intrinsics that are linked into<br />

your code. In addition, if your operating system is Mac OS X, AIX, or Linux/Power,<br />

you can only use math intrinsics in expressions if you directly linked them into your<br />

program. The ** operator uses the pow function. Consequently, it too must either be<br />

used within your program or directly linked. In addition, ceiling and log10 are not<br />

supported on these three platforms.<br />

388 Chapter 17: Evaluating Expressions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!