Changeset 1797 for palm/trunk/SOURCE/pmc_server.f90
- Timestamp:
- Mar 21, 2016 4:50:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_server.f90
r1792 r1797 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! introduction of different datatransfer modes 23 23 ! 24 24 ! Former revisions: … … 498 498 REAL(wp), POINTER, DIMENSION(:,:,:) :: data_3d 499 499 500 t1 = PMC_Time() 501 CALL MPI_Barrier(Clients(ClientId)%intra_comm, ierr) ! Wait for buffer empty 502 t2 = PMC_Time() 503 if(present(WaitTime)) WaitTime = t2-t1 500 !-- Synchronization of the model is done in pmci_client_synchronize and pmci_server_synchronize 501 !-- Therefor the RMA window cann be filled without sychronization at this point and the barrier 502 !-- is not necessary 503 !-- Please note that WaitTime has to be set in PMC_S_FillBuffer AND PMC_C_GetBuffer 504 505 if(present(WaitTime)) then 506 t1 = PMC_Time() 507 CALL MPI_Barrier(Clients(ClientId)%intra_comm, ierr) 508 t2 = PMC_Time() 509 WaitTime = t2-t1 510 end if 504 511 505 512 do ip=1,Clients(ClientId)%inter_npes
Note: See TracChangeset
for help on using the changeset viewer.