aboutsummaryrefslogtreecommitdiff
path: root/src/DumpVar.c
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-05-15 14:59:15 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-05-15 14:59:15 +0000
commit0cb3b5c60824627799c474bd42384f0a7a818ce1 (patch)
tree6d9a40e5cb06c0b396d13447bc9b950d448283fa /src/DumpVar.c
parenta71d44f9a4841a4afe6d216528f1a758647b41e0 (diff)
Bugfix for IO::out3D_mode = "np" where the IO processors ran into a
communication deadlock after creating the output subdir. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@124 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/DumpVar.c')
-rw-r--r--src/DumpVar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DumpVar.c b/src/DumpVar.c
index 89f0dec..f706fb2 100644
--- a/src/DumpVar.c
+++ b/src/DumpVar.c
@@ -325,7 +325,7 @@ static void IOFlexIO_DumpGA (cGH *GH, int index, int timelevel, IOFile iof,
dim = CCTK_GroupDimI (CCTK_GroupIndexFromVarI (index));
/* allocate the geometry buffer */
- geom = (CCTK_INT *) malloc (3*dim * sizeof (CCTK_INT));
+ geom = (CCTK_INT4 *) malloc (3*dim * sizeof (CCTK_INT4));
/* Get the pointer to the data we want to output (includes downsampling) */
IOFlexIO_getDumpData (GH, index, timelevel, &outme, &free_outme, geom,
@@ -417,7 +417,7 @@ static void IOFlexIO_DumpGA (cGH *GH, int index, int timelevel, IOFile iof,
IOFlexIO_procDump (iof, GH, index, tmpd, geom, info->flexio_type);
free (tmpd);
-
+
} /* End loop over processors */
/* now add the attributes for unchunked files */