[cig-commits] commit:

Mercurial hg at geodynamics.org
Mon Nov 24 11:59:37 PST 2008


changeset:   163:ec010c2eca58
user:        JohnMansour <john.mansour at maths.monash.edu.au>
date:        Mon Sep 22 16:49:41 2008 +1000
files:       Swarm/src/SwarmDump.c
description:
minor tweak to nfs fix


diff -r 352c2356a55a -r ec010c2eca58 Swarm/src/SwarmDump.c
--- a/Swarm/src/SwarmDump.c	Fri Sep 19 16:29:00 2008 +1000
+++ b/Swarm/src/SwarmDump.c	Mon Sep 22 16:49:41 2008 +1000
@@ -293,13 +293,13 @@ void _SwarmDump_Execute( void* swarmDump
       Stream_RedirectFile( stream, filenameTemp );
 		MPIStream_WriteAllProcessors( stream, swarm->particles, particleSize, (SizeT) particleLocalCount, swarm->comm );
 		Stream_CloseFile( stream );
-#endif
+
 		/* remove old checkpoint file, if any exists... then move temp file to appropriate filename */
 		if(swarm->myRank == 0){
 		      remove( filename );
 		      rename( filenameTemp , filename );
 		}
-
+#endif
 		Memory_Free( filename );
 		Memory_Free( filenameTemp );		
 



More information about the CIG-COMMITS mailing list