X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2FMREMD.F90;h=e662e63c9cd9ee27eafcbb1dd7c5f6e5013358a7;hb=50fbf2715aa041155c2cf570e4b4bee890ee6564;hp=69b8ae9c85236e4a45269af0e0a319d1a092143e;hpb=df2469d9ac903d93889867f4e50e9bf6c428c1c6;p=unres4.git diff --git a/source/unres/MREMD.F90 b/source/unres/MREMD.F90 index 69b8ae9..e662e63 100644 --- a/source/unres/MREMD.F90 +++ b/source/unres/MREMD.F90 @@ -744,6 +744,26 @@ synflag=.true. if (me.eq.king .or. .not. out1file) & write(iout,*) 'REMD synchro at1',itime,ntwx_cache,Nprocs,nodes +!!!!!!! TRIAL OF MINIM SYNC +! if (me.eq.king) then +! do i=1,nodes-1 +! call mpi_isend(itime,1,MPI_INTEGER,i,101, & +! CG_COMM, ireqi(i), ierr) +!!d write(iout,*) 'REMD synchro with',i +!!d call flush(iout) +! enddo +! call mpi_waitall(nodes-1,ireqi,statusi,ierr) +! call mpi_barrier(CG_COMM, ierr) +! time01=MPI_WTIME() +! endif +!!!!!!!!!!!!!!!! +! if (me.ne.king) then +! call mpi_recv(itime_master, 1, MPI_INTEGER,& +! 0,101,CG_COMM, status, ierr) +! call mpi_barrier(CG_COMM, ierr) +!deb if (out1file.or.traj1file) then +! +! endif write(iout,*) icache_all if(traj1file) then write(iout,*) "before mpi_gather ntwx_cache" @@ -1548,7 +1568,7 @@ king,CG_COMM,ierr) ! debugging - print *,'traj1file',me,ii_write,ntwx_cache +! print *,'traj1file',me,ii_write,ntwx_cache ! end debugging #ifdef AIX