rendevous comm option for special bonds and fix rigid/small

This commit is contained in:
Steve Plimpton
2018-11-30 11:54:48 -07:00
committed by Axel Kohlmeyer
parent 2f20581b29
commit 9912c44413
13 changed files with 1249 additions and 875 deletions

View File

@ -120,6 +120,9 @@ void ReadData::command(int narg, char **arg)
{
if (narg < 1) error->all(FLERR,"Illegal read_data command");
MPI_Barrier(world);
double time1 = MPI_Wtime;
// optional args
addflag = NONE;
@ -906,6 +909,18 @@ void ReadData::command(int narg, char **arg)
force->kspace = saved_kspace;
}
// total time
MPI_Barrier(world);
double time2 = MPI_Wtime;
if (comm->me == 0) {
if (screen)
fprintf(screen," read_atoms CPU = %g secs\n",time2-time1);
if (logfile)
fprintf(logfile," read_atoms CPU = %g secs\n",time2-time1);
}
}
/* ----------------------------------------------------------------------