rendevous comm option for special bonds and fix rigid/small
This commit is contained in:
committed by
Axel Kohlmeyer
parent
2f20581b29
commit
9912c44413
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user