Go to the first, previous, next, last section, table of contents.


Other Functions

In addition to array-manipulation functions, Global Arrays provides functions for a miscellany of purposes. Some examples include:

Fortran function: INTEGER FUNCTION GA_nnodes

C function: Integer GA_nnodes (void)
Return the number of logical nodes in the program. This is an individual operation.

Fortran function: INTEGER FUNCTION GA_nodeid

C function: Integer GA_nodeid (void)
Return the caller's logical node number (0 ... GA_nnodes()-1). This is an individual operation.

Fortran subroutine: SUBROUTINE GA_inquire (g_a, type, dim1, dim2)
INTEGER g_a, type, dim1, dim2

C function: void GA_inquire (Integer *g_a, Integer *type, Integer *dim1, Integer *dim2)
Given a distributed array g_a, return the datatype (type) and dimensions (dim1 by dim2). This is an individual operation.


Go to the first, previous, next, last section, table of contents.