Provides overview information about the subroutines that constitute the low-level application programming interface (LAPI).
Availability Library (liblapi_r.a)
#include <lapi.h>
int lapi_subroutines(parm1, parm2...)
type1 parm1;
type2 parm2;
⋮
include 'lapif.h'
LAPI_SUBROUTINES(parm1, parm2..., ierror)
TYPE1 :: parm1;
TYPE2 :: parm2;
⋮
INTEGER ierror
LAPI subroutines provide a wide variety of functions that can be used efficiently and flexibly to obtain most behaviors required from any parallel programming API.
Programming with C++
LAPI subroutines provide extern "C" declarations for C++ programming.
Profiling
LAPI's profiling interface includes wrappers for each LAPI function, so you can collect data about each of the LAPI calls. See the RSCT for AIX 5L™: LAPI Programming Guide for more information.
Querying runtime values
LAPI_Qenv(hndl, LOC_ADDRTBL_SZ, ret_val)
Now, if you want to register a function address using LAPI_Addr_set:LAPI_Addr_set (hndl, addr, addr_hndl)
The value of index addr_hndl must be in the range:1 <= addr_hndl < LOC_ADDRTBL_SZ
NUM_TASKS
LAPI_Qenv(hndl, NUM_TASKS, ret_val)
Any other return values for the subroutine appear here.
For a complete list, see the RSCT for AIX 5L: LAPI Programming Guide.
For information about LAPI error messages, see RSCT: Messages.
Any specific restrictions for the subroutine appear here.
Also, see the RSCT for AIX 5L: LAPI Programming Guide for more information.
Any C examples of the subroutine appear here.
Any FORTRAN examples of the subroutine appear here.