diff options
Diffstat (limited to 'src/Write.c')
-rw-r--r-- | src/Write.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Write.c b/src/Write.c index 65be41d..1faa4a0 100644 --- a/src/Write.c +++ b/src/Write.c @@ -40,7 +40,9 @@ void IOBasic_Write (cGH *GH, int index, const char *alias) /* output is done by processor 0 only */ if (CCTK_MyProc (GH) != 0) + { return; + } /* first, check if variable has storage assigned */ if (! CCTK_QueryGroupStorageI (GH, CCTK_GroupIndexFromVarI (index))) @@ -49,7 +51,8 @@ void IOBasic_Write (cGH *GH, int index, const char *alias) fullname = CCTK_FullName (index); CCTK_VWarn (2, __LINE__, __FILE__, CCTK_THORNSTRING, - "No scalar output for '%s' (no storage)", fullname); + "IOBasic_Write: No scalar output for '%s' (no storage)", + fullname); free (fullname); return; } |