[Pvfs2-cvs] commit by sson in pvfs2/test/active-storage: simple.c
CVS commit program
cvs at parl.clemson.edu
Thu Feb 11 17:56:50 EST 2010
Update of /projects/cvsroot/pvfs2/test/active-storage
In directory parlweb1:/tmp/cvs-serv19120/test/active-storage
Modified Files:
Tag: as-branch
simple.c
Log Message:
minor revision in the test program (simple.c).
Index: simple.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/active-storage/Attic/simple.c,v
diff -p -u -r1.1.2.7 -r1.1.2.8
--- simple.c 11 Feb 2010 22:42:46 -0000 1.1.2.7
+++ simple.c 11 Feb 2010 22:56:50 -0000 1.1.2.8
@@ -134,19 +134,21 @@ int main( int argc, char *argv[] )
MPI_Finalize();
exit(1);
}
-
+
+ if(use_actsto == 1) {
+ if (size != 1) {
+ if(rank == 0)
+ printf("active storage should be run with only 1 process!!!\n");
+ MPI_Finalize();
+ exit(1);
+ }
+ }
+
/* initialize random seed: */
srand(time(NULL));
if(use_gen_file == 1) {
int t, result;
-
- if (size != 1) {
- if(rank == 0)
- printf("active storage should be run with only 1 process!!!\n");
- MPI_Finalize();
- exit(1);
- }
MPI_File_open( comm, fname, MPI_MODE_RDWR | MPI_MODE_CREATE, MPI_INFO_NULL, &fh );
More information about the Pvfs2-cvs
mailing list