ftc
identifier mpp
(i.e.,
cstart mpp
cend
).
mpp_state
in "common/cmpp"
, which
should be set by the programmer to reflect the
current state according to the following.
0 |
MPP not active -- normal sequential job |
1 |
multiple processes doing identical work |
2 |
multiple processes doing complementary work |
reserv
subroutine to preallocate file records, and disk accumulation operations
should use the (new) accw
routine rather than separated calls
to lesw
and sreibw
.
mpp_state
mpp_state
to 2,
and then each process does unique work. At least in the initial
implementation, i/o on named files is forbidden except by the master
process. Binary reads, writes and
accumulates are implemented as accesses to the relevant global array
(ga_get
, ga_put
, ga_acc
).
Many parallel algorithms are in this way realised
with access to global data purely through existing i/o calls; existing
strategies to page data to/from disk when memory is scarce can map directly
to the efficient use of local copies of global data in the distributed memory
MPP context.
nxtval
subroutine.
P.J. Knowles and H.-J. Werner