important change for single processor for multi-chain
[unres.git] / source / unres / src_MD-M / minimize_p.F
index 06c7a73..326c02d 100644 (file)
@@ -141,11 +141,13 @@ C Workers wait for variables and NF, and NFL from the boss
       do while (iorder.ge.0)
 c      write (*,*) 'Processor',fg_rank,' CG group',kolor,
 c     & ' receives order from Master'
+#ifdef MPI
         time00=MPI_Wtime()
         call MPI_Bcast(iorder,1,MPI_INTEGER,king,FG_COMM,IERR)
         time_Bcast=time_Bcast+MPI_Wtime()-time00
         if (icall.gt.4 .and. iorder.ge.0) 
      &   time_order(iorder)=time_order(iorder)+MPI_Wtime()-time00
+#endif
        icall=icall+1
 c      write (*,*) 
 c     & 'Processor',fg_rank,' completed receive MPI_BCAST order',iorder