next up previous
Next: Compilers and Fortran 90D Up: High Performance Fortran Previous: Parallel Statements

Intrinsic Functions and Standard Library

A number of new intrinsic functions have been added to the Fortran 90 intrinsics such as ALL, ANY, CSHIFT, SUM, SPREAD, etc. These are mainly inquiry functions which return information on the physical processors (e.g. NUMBER_OF_PROCESSORS) or the distribution of data (e.g. HPF_DISTRIBUTION).

HPF also has a standard library, HPF_LIB, with a number of new functions. These include prefix and suffix functions which perform a standard Fortran 90 reduction (e.g. SUM, ALL) on a subset of elements of an array, and sorting functions (GRADE_UP and GRADE_DOWN). Much of HPF's power is buried in its library functions. In many cases the HPF compiler need not know anything about parallelization except interfaces and data layout, since the parallelization is handled by a library routine.



Geoffrey Fox, Northeast Parallel Architectures Center at Syracuse University, gcf@npac.syr.edu