From 9cd33a7b9c707f16245410b6934b5202bd35bd64 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 31 Jul 2019 08:01:24 +0100 Subject: [PATCH] Printing improvement --- Grid/util/Init.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Grid/util/Init.cc b/Grid/util/Init.cc index f9da7532..ad5eac47 100644 --- a/Grid/util/Init.cc +++ b/Grid/util/Init.cc @@ -345,7 +345,9 @@ void GridGpuInit(void) #endif } } - printf("GpuInit: ================================================\n"); + if ( world_rank == 0 ) { + printf("GpuInit: ================================================\n"); + } #endif }