diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-10-28 16:24:58 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-10-28 16:24:58 +0000 |
commit | 07bfa6ab7f02f5db6ca444ad36683b4d4cf72bf7 (patch) | |
tree | 2306ea2f3392e798c11e7b47c9fd2707c024a9e0 /src/DumpVar.c | |
parent | b446c2dab4d1a041f9d0dc1c2fcd740a5b512870 (diff) |
Added checkpointing for parameters. Still needs some optimization.
Recovery will follow soon.
Also reactivated timers for checkpoint/recovery. Output this info
needs to be improved somewhat.
I like your timer stuff, Tom !
Thomas
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@65 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/DumpVar.c')
-rw-r--r-- | src/DumpVar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DumpVar.c b/src/DumpVar.c index 96561fd..b47fe01 100644 --- a/src/DumpVar.c +++ b/src/DumpVar.c @@ -520,12 +520,12 @@ void IOFlexIO_AddCommonAttributes (cGH *GH, int index, int timelevel, ioUtilGH = (ioGH *) GH->extensions [CCTK_GHExtensionHandle ("IO")]; name = CCTK_FullName (index); - CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "name", BYTE, + CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "name", FLEXIO_CHAR, strlen (name) + 1, name)); free (name); gname = CCTK_GroupNameFromVarI (index); - CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "groupname", BYTE, + CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "groupname", FLEXIO_CHAR, strlen (gname) + 1, gname)); free (gname); @@ -542,7 +542,7 @@ void IOFlexIO_AddCommonAttributes (cGH *GH, int index, int timelevel, 1, &i_to_IO)); if (char_time_date && out3D_datestamp) - CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "date", BYTE, + CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "date", FLEXIO_CHAR, strlen (char_time_date) + 1, char_time_date)); CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "time", FLEXIO_REAL, 1,&GH->cctk_time)); @@ -629,7 +629,7 @@ void IOFlexIO_AddChunkAttributes (cGH *GH, int index, CCTK_INT4 chunk_origin [3] 1, &i_to_IO)); name = CCTK_FullName (index); - CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "name", BYTE, + CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "name", FLEXIO_CHAR, strlen (name)+1, name)); } |