[dcmf] [PATCH 5/9] make testfs act more like ad_bgl

Rob Latham robl at mcs.anl.gov
Fri Feb 15 13:50:29 CST 2008


on bluegene it's more interesting to see what the AD_BGL collective i/o
routines would do.

Signed-off-by: Rob Latham <robl at mcs.anl.gov>
---
 .../mpi/romio/adio/ad_testfs/ad_testfs_rdcoll.c    |    3 ++-
 .../mpi/romio/adio/ad_testfs/ad_testfs_wrcoll.c    |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/mpi/mpich2/src/mpi/romio/adio/ad_testfs/ad_testfs_rdcoll.c b/lib/mpi/mpich2/src/mpi/romio/adio/ad_testfs/ad_testfs_rdcoll.c
index 99e96d9..f30f336 100644
--- a/lib/mpi/mpich2/src/mpi/romio/adio/ad_testfs/ad_testfs_rdcoll.c
+++ b/lib/mpi/mpich2/src/mpi/romio/adio/ad_testfs/ad_testfs_rdcoll.c
@@ -7,6 +7,7 @@
 
 #include "ad_testfs.h"
 #include "adioi.h"
+#include "../ad_bgl/ad_bgl.h"
 
 void ADIOI_TESTFS_ReadStridedColl(ADIO_File fd, void *buf, int count,
 				  MPI_Datatype datatype, int file_ptr_type,
@@ -24,6 +25,6 @@ void ADIOI_TESTFS_ReadStridedColl(ADIO_File fd, void *buf, int count,
     FPRINTF(stdout, "[%d/%d]    calling ADIOI_GEN_ReadStridedColl\n", 
 	    myrank, nprocs);
 
-    ADIOI_GEN_ReadStridedColl(fd, buf, count, datatype, file_ptr_type,
+    ADIOI_BGL_ReadStridedColl(fd, buf, count, datatype, file_ptr_type,
 			      offset, status, error_code);
 }
diff --git a/lib/mpi/mpich2/src/mpi/romio/adio/ad_testfs/ad_testfs_wrcoll.c b/lib/mpi/mpich2/src/mpi/romio/adio/ad_testfs/ad_testfs_wrcoll.c
index c9c5f75..6d129d5 100644
--- a/lib/mpi/mpich2/src/mpi/romio/adio/ad_testfs/ad_testfs_wrcoll.c
+++ b/lib/mpi/mpich2/src/mpi/romio/adio/ad_testfs/ad_testfs_wrcoll.c
@@ -7,6 +7,7 @@
 
 #include "ad_testfs.h"
 #include "adioi.h"
+#include "../ad_bgl/ad_bgl.h"
 
 void ADIOI_TESTFS_WriteStridedColl(ADIO_File fd, void *buf, int count,
 				   MPI_Datatype datatype, int file_ptr_type,
@@ -24,6 +25,6 @@ void ADIOI_TESTFS_WriteStridedColl(ADIO_File fd, void *buf, int count,
     FPRINTF(stdout, "[%d/%d]    calling ADIOI_GEN_WriteStridedColl\n", 
 	    myrank, nprocs);
 
-    ADIOI_GEN_WriteStridedColl(fd, buf, count, datatype, file_ptr_type,
+    ADIOI_BGL_WriteStridedColl(fd, buf, count, datatype, file_ptr_type,
 			       offset, status, error_code);
 }
-- 
1.5.3.8




More information about the dcmf mailing list