diff --git a/python/slope.py b/python/slope.py index 118af55..35d292c 100644 --- a/python/slope.py +++ b/python/slope.py @@ -128,8 +128,10 @@ class Inspector(object): int seedTilePoint = %(seed)d; insp_run (insp, seedTilePoint); - %(output_insp)s - %(output_vtk)s + if (rank == 0) { + %(output_insp)s + %(output_vtk)s + } executor_t* exec = exec_init (insp); insp_free (insp);