parallel / 8-2010
.pdf# :
MPI_Open_port
MPI_Close_port
MPI_Comm_accept
MPI_Publish_name
MPI_Unpublish_name
MPI_Lookup_name
.
2008
!
2008
!
!
(RMA – Remote Memory Access) ,
% ,
, .
! ,
« », $ ,
- ' .
'
,
( ,
). # ' ( $
.
' $ .
2008
!
! , « »,
.
!
! ( ) :
int MPI_Win_create(void *base, MPI_Aint size, int disp_unit,
MPI_Info info, MPI_Comm comm, MPI_Win *win)
MPI_Win_create(base, size, disp unit, info, comm, win, ierror)
:
base – ;
size – ;
|
– % ; |
disp_unit
info – $ ;
comm – .
– win – .
2008
!
:
int MPI_Win_free(MPI_Win *win)
MPI_Win_free(win, ierror)
2008
!
- :
1.MPI_Put – ;
2.MPI_Get - ;
3.MPI_Accumulate – .
/ .
2008
!
int MPI_Put(void *origin_addr, int origin_count, MPI_Datatype Origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win)
MPI_Put(origin_addr, origin_count, origin_datatype, target_rank, target_disp, target_count, target_datatype, win, ierror)
:
origin_addr – $ ;
origin_count – ' $ ;
origin_datatype – ;
target_rank – ;
target_disp – $ ;
target_count – ;
target_datatype – ;
win – .
2008
!
# ' $
адрес_окна + смещение × disp_unit
# MPI_Get
– « ».
2008
!
! :
MPI_Win_fence
MPI_Win_start, MPI_Win_complete, MPI_Win_post, MPI_Win_wait
MPI_Win_lock, MPI_Win_unlock
2008