replace MPI_Wtime() with platform::walltime()
This commit is contained in:
@ -79,7 +79,7 @@ void Replicate::command(int narg, char **arg)
|
||||
// record wall time for atom replication
|
||||
|
||||
MPI_Barrier(world);
|
||||
double time1 = MPI_Wtime();
|
||||
double time1 = platform::walltime();
|
||||
|
||||
// maxtag = largest atom tag across all existing atoms
|
||||
|
||||
@ -799,5 +799,5 @@ void Replicate::command(int narg, char **arg)
|
||||
MPI_Barrier(world);
|
||||
|
||||
if (me == 0)
|
||||
utils::logmesg(lmp," replicate CPU = {:.3f} seconds\n",MPI_Wtime()-time1);
|
||||
utils::logmesg(lmp," replicate CPU = {:.3f} seconds\n",platform::walltime()-time1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user