Show
Ignore:
Timestamp:
10/30/09 10:47:58 (5 months ago)
Author:
robl
Message:

clean up warnings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/test/mcoll_perf/mcoll_perf.c

    r694 r704  
    2929int main(int argc, char **argv) 
    3030{ 
    31     MPI_Datatype newtype; 
    3231    int i, j, array_of_gsizes[3],array_of_distribs[3]; 
    3332    int order, nprocs, len, **buf, mynod; 
    3433    MPI_Offset bufcount; 
    3534    int array_of_dargs[3], array_of_psizes[3]; 
    36     MPI_File fh; 
    3735    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; 
    4138    double start_time, open_time, def_time, run_time; 
    4239    double *new_open_tim, *new_def_tim, *new_run_tim; 
    43     double read_tim, new_read_tim, read_bw; 
    4440    char *pathname, filename[50]; 
    4541    char dimname[20], varname[20]; 
     
    5450    int length; 
    5551    int mvar_flag = 0; 
    56     NCMPI_Request request; 
    5752    NCMPI_Request *array_of_requests; 
    5853    int unlimit_flag; 
     
    329324      } 
    330325 
    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]); 
    332327      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]);  
    333328    }