Changeset 1797 for palm/trunk/SOURCE/pmc_client.f90
- Timestamp:
- Mar 21, 2016 4:50:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_client.f90
r1792 r1797 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! introduction of different datatransfer modes 23 23 ! 24 24 ! Former revisions: … … 401 401 do i=1,me%inter_npes 402 402 aPE => me%PEs(i) 403 ar => aPE%array_list(next_array_in_list) !actual array is last array in list403 ar => aPE%array_list(next_array_in_list) 404 404 ar%NrDims = NrDims 405 405 ar%A_dim = dims … … 575 575 INTEGER(kind=MPI_ADDRESS_KIND) :: target_disp 576 576 577 t1 = PMC_Time() 578 CALL MPI_Barrier(me%intra_comm, ierr) ! Wait for server to fill buffer 579 t2 = PMC_Time()-t1 580 if(present(WaitTime)) WaitTime = t2 577 ! 578 !-- Synchronization of the model is done in pmci_client_synchronize and pmci_server_synchronize 579 !-- Therefor the RMA window can be filled without sychronization at this point and a barrier 580 !-- is not necessary 581 !-- Please note that WaitTime has to be set in PMC_S_FillBuffer AND PMC_C_GetBuffer 582 if(present(WaitTime)) then 583 t1 = PMC_Time() 584 CALL MPI_Barrier(me%intra_comm, ierr) 585 t2 = PMC_Time() 586 WaitTime = t2-t1 587 end if 581 588 582 589 CALL MPI_Barrier(me%intra_comm, ierr) ! Wait for buffer is filled
Note: See TracChangeset
for help on using the changeset viewer.