Changeset 704
- Timestamp:
- 10/30/09 10:47:58 (3 weeks ago)
- Location:
- trunk
- Files:
-
- 6 modified
-
src/lib/header.c (modified) (1 diff)
-
src/lib/mpinetcdf.c (modified) (2 diffs)
-
src/libf/waitallf.c (modified) (1 diff)
-
test/mcoll_perf/mcoll_perf.c (modified) (3 diffs)
-
test/mcoll_perf/single_mcoll_perf_non_record.c (modified) (3 diffs)
-
test/mcoll_perf/single_mcoll_perf_record.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/header.c
r698 r704 1120 1120 NCtype type = NC_UNSPECIFIED; 1121 1121 NC_var **vpp, **end; 1122 int i;1123 1122 1124 1123 assert(gbp != NULL && gbp->pos != NULL); -
trunk/src/lib/mpinetcdf.c
r698 r704 23 23 const char * 24 24 ncmpi_inq_libvers(void) { 25 return "version = 1.1.0 of 2 6October 2009";25 return "version = 1.1.0 of 28 October 2009"; 26 26 } 27 27 … … 13267 13267 static int 13268 13268 ncmpi_coll_wait(NCMPI_Request request) { 13269 if (request->rw_flag == 1) 13270 return (ncmpi_put_vara_all(request->ncid, request->varid, 13269 int ret; 13270 if (request->rw_flag == 1) { 13271 ret = ncmpi_put_vara_all(request->ncid, request->varid, 13272 request->start, request->count, 13273 request->buf, request->bufcount, 13274 request->vartype); 13275 } else if ( request->rw_flag == 0) { 13276 ret = (ncmpi_get_vara_all(request->ncid, request->varid, 13271 13277 request->start, request->count, 13272 13278 request->buf, request->bufcount, 13273 13279 request->vartype)); 13274 if (request->rw_flag == 0) 13275 return (ncmpi_get_vara_all(request->ncid, request->varid, 13276 request->start, request->count, 13277 request->buf, request->bufcount, 13278 request->vartype)); 13279 13280 } else { 13281 ret = NC_EFILE; 13282 } 13283 return ret; 13280 13284 } 13281 13285 -
trunk/src/libf/waitallf.c
r698 r704 28 28 int ierr; 29 29 NCMPI_Request *l2_req; 30 int i ,j;30 int i; 31 31 lnc_req *tmp_req = NULL; 32 32 l2_req = malloc((*v1)*sizeof(NCMPI_Request)); -
trunk/test/mcoll_perf/mcoll_perf.c
r694 r704 29 29 int main(int argc, char **argv) 30 30 { 31 MPI_Datatype newtype;32 31 int i, j, array_of_gsizes[3],array_of_distribs[3]; 33 32 int order, nprocs, len, **buf, mynod; 34 33 MPI_Offset bufcount; 35 34 int array_of_dargs[3], array_of_psizes[3]; 36 MPI_File fh;37 35 int status; 38 MPI_Offset starts[3], sizes[3], array_of_starts[3]; 39 double stim, write_time, *new_write_tim, write_bw; 40 MPI_Offset file_size; 36 MPI_Offset sizes[3], array_of_starts[3]; 37 double write_time, *new_write_tim; 41 38 double start_time, open_time, def_time, run_time; 42 39 double *new_open_tim, *new_def_tim, *new_run_tim; 43 double read_tim, new_read_tim, read_bw;44 40 char *pathname, filename[50]; 45 41 char dimname[20], varname[20]; … … 54 50 int length; 55 51 int mvar_flag = 0; 56 NCMPI_Request request;57 52 NCMPI_Request *array_of_requests; 58 53 int unlimit_flag; … … 329 324 } 330 325 331 fprintf(stderr, "mvar nvars:%d, Global array size %d x %d x %d integers, local array size: %d x %d x%d , filesize:%d\n", nvars, array_of_gsizes[0], array_of_gsizes[1], array_of_gsizes[2],sizes[0], sizes[1], sizes[2], file_size);326 fprintf(stderr, "mvar nvars:%d, Global array size %d x %d x %d integers, local array size: %d x %d x%d\n", nvars, array_of_gsizes[0], array_of_gsizes[1], array_of_gsizes[2],sizes[0], sizes[1], sizes[2]); 332 327 fprintf(stderr, "%dx%dx%d, %d: nvars:%d, loop:%d, k:%d, open_t = %f, def_t =%f, write_t = %f sec,run_t = %f sec\n", sizes[0], sizes[1], sizes[2],mvar_flag, nvars, k_loop, top, new_open_tim[top], new_def_tim[top], new_write_tim[top], new_run_tim[top]); 333 328 } -
trunk/test/mcoll_perf/single_mcoll_perf_non_record.c
r694 r704 29 29 int main(int argc, char **argv) 30 30 { 31 MPI_Datatype newtype;32 31 int i, j, array_of_gsizes[3],array_of_distribs[3]; 33 32 int order, nprocs, len, **buf, mynod; 34 33 MPI_Offset bufcount; 35 34 int array_of_dargs[3], array_of_psizes[3]; 36 MPI_File fh;37 35 int status; 38 MPI_Offset starts[3], sizes[3], array_of_starts[3]; 39 double stim, write_time, *new_write_tim, write_bw; 40 MPI_Offset file_size; 36 MPI_Offset sizes[3], array_of_starts[3]; 37 double write_time, *new_write_tim; 41 38 double start_time, open_time, def_time, run_time; 42 39 double *new_open_tim, *new_def_tim, *new_run_tim; 43 double read_tim, new_read_tim, read_bw;44 40 char *pathname, filename[50]; 45 41 char dimname[20], varname[20]; … … 54 50 int length; 55 51 int mvar_flag = 0; 56 NCMPI_Request request;57 52 NCMPI_Request *array_of_requests; 58 53 … … 322 317 } 323 318 324 fprintf(stderr, "one non-record variable ntimes:%d, Global array size (%d x %d) x %d x %d integers, local array size: %d x %d x %d , filesize:%d\n", ntimes, array_of_gsizes[0], ntimes, array_of_gsizes[1], array_of_gsizes[2],sizes[0], sizes[1], sizes[2], file_size);319 fprintf(stderr, "one non-record variable ntimes:%d, Global array size (%d x %d) x %d x %d integers, local array size: %d x %d x %d\n", ntimes, array_of_gsizes[0], ntimes, array_of_gsizes[1], array_of_gsizes[2],sizes[0], sizes[1], sizes[2]); 325 320 fprintf(stderr, "%dx%dx%d, %d: ntimes:%d, loop:%d, k:%d, open_t = %f, def_t =%f, write_t = %f sec,run_t = %f sec\n", sizes[0], sizes[1], sizes[2],mvar_flag, ntimes, k_loop, top, new_open_tim[top], new_def_tim[top], new_write_tim[top], new_run_tim[top]); 326 321 } -
trunk/test/mcoll_perf/single_mcoll_perf_record.c
r694 r704 29 29 int main(int argc, char **argv) 30 30 { 31 MPI_Datatype newtype;32 31 int i, j, array_of_gsizes[3],array_of_distribs[3]; 33 32 int order, nprocs, len, **buf, mynod; 34 33 MPI_Offset bufcount; 35 34 int array_of_dargs[3], array_of_psizes[3]; 36 MPI_File fh;37 35 int status; 38 MPI_Offset starts[3], sizes[3], array_of_starts[3]; 39 double stim, write_time, *new_write_tim, write_bw; 40 MPI_Offset file_size; 36 MPI_Offset sizes[3], array_of_starts[3]; 37 double write_time, *new_write_tim; 41 38 double start_time, open_time, def_time, run_time; 42 39 double *new_open_tim, *new_def_tim, *new_run_tim; 43 double read_tim, new_read_tim, read_bw;44 40 char *pathname, filename[50]; 45 41 char dimname[20], varname[20]; … … 54 50 int length; 55 51 int mvar_flag = 0; 56 NCMPI_Request request;57 52 NCMPI_Request *array_of_requests; 58 53 … … 321 316 } 322 317 323 fprintf(stderr, "one record variable ntimes:%d, Global array size (%d x %d) x %d x %d integers, local array size: %d x %d x%d , filesize:%d\n", ntimes, array_of_gsizes[0], ntimes, array_of_gsizes[1], array_of_gsizes[2],sizes[0], sizes[1], sizes[2], file_size);318 fprintf(stderr, "one record variable ntimes:%d, Global array size (%d x %d) x %d x %d integers, local array size: %d x %d x%d\n", ntimes, array_of_gsizes[0], ntimes, array_of_gsizes[1], array_of_gsizes[2],sizes[0], sizes[1], sizes[2]); 324 319 fprintf(stderr, "%dx%dx%d, %d: ntimes:%d, loop:%d, k:%d, open_t = %f, def_t =%f, write_t = %f sec,run_t = %f sec\n", sizes[0], sizes[1], sizes[2],mvar_flag, ntimes, k_loop, top, new_open_tim[top], new_def_tim[top], new_write_tim[top], new_run_tim[top]); 325 320 }
![(please configure the [header_logo] section in trac.ini)](/projects/parallel-netcdf/chrome/common/trac_banner.png)