Changeset 690

Show
Ignore:
Timestamp:
10/27/09 16:08:37 (4 weeks ago)
Author:
robl
Message:

fix up the easy warnings in the tests

Location:
trunk/test
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/test/fandc/csnap.c

    r384 r690  
    116116  MPI_Barrier(comm_cart); 
    117117 
    118   printf("%3d   %2d %2d %2d  %4d %4d %4d    %4d %4d %4d   %6d %6d %6d\n", 
     118  printf("%3d   %2d %2d %2d  %4lld %4lld %4lld    %4lld %4lld %4lld   %6lld %6lld %6lld\n", 
    119119         mype, pe_coords[0], pe_coords[1], pe_coords[2], 
    120120         totsiz_3d[0], totsiz_3d[1], totsiz_3d[2], 
  • trunk/test/mcoll_perf/mcoll_perf.c

    r658 r690  
    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, bufcount, mynod; 
    3433    int array_of_dargs[3], array_of_psizes[3]; 
    35     MPI_File fh; 
    3634    int status; 
    37     MPI_Offset starts[3], sizes[3], array_of_starts[3]; 
    38     double stim, write_time, *new_write_tim, write_bw; 
     35    MPI_Offset sizes[3], array_of_starts[3]; 
     36    double write_time, *new_write_tim, write_bw; 
    3937    MPI_Offset file_size; 
    4038    double start_time, open_time, def_time, run_time; 
    4139    double *new_open_tim, *new_def_tim, *new_run_tim; 
    42     double read_tim, new_read_tim, read_bw; 
    4340    char *pathname, filename[50]; 
    4441    char dimname[20], varname[20]; 
     
    5350    int length; 
    5451    int mvar_flag = 0; 
    55     NCMPI_Request request; 
    5652    NCMPI_Request *array_of_requests; 
    5753    int unlimit_flag; 
  • trunk/test/mcoll_perf/single_mcoll_perf_record.c

    r658 r690  
    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, bufcount, mynod; 
    3433    int array_of_dargs[3], array_of_psizes[3]; 
    35     MPI_File fh; 
    3634    int status; 
    37     MPI_Offset starts[3], sizes[3], array_of_starts[3]; 
    38     double stim, write_time, *new_write_tim, write_bw; 
     35    MPI_Offset sizes[3], array_of_starts[3]; 
     36    double write_time, *new_write_tim, write_bw; 
    3937    MPI_Offset file_size; 
    4038    double start_time, open_time, def_time, run_time; 
    4139    double *new_open_tim, *new_def_tim, *new_run_tim; 
    42     double read_tim, new_read_tim, read_bw; 
    4340    char *pathname, filename[50]; 
    4441    char dimname[20], varname[20]; 
     
    5350    int length; 
    5451    int mvar_flag = 0; 
    55     NCMPI_Request request; 
    5652    NCMPI_Request *array_of_requests; 
    5753 
  • trunk/test/test_dtype/test_darray.c

    r493 r690  
    100100{ 
    101101  int i; 
    102   int cycle, remain_cycle; 
    103102  int pcoord; 
    104103 
     
    135134  int *array_of_distribs, *array_of_dargs; 
    136135  int *array_of_psizes; 
    137   int ncid, *dimids, varid_1, varid_2; 
     136  int ncid, *dimids, varid_1; 
    138137  MPI_Offset *local_starts, *local_edges, *local_strides; 
    139138  char dimname[20]; 
  • trunk/test/test_int/test_write.c

    r632 r690  
    136136   */ 
    137137 
    138   printf("dimid1:%ld\n", dimid1); 
    139   printf("dimid2:%ld\n", dimid2); 
    140   printf("dimid3:%ld\n", dimid3); 
    141   printf("udimid:%ld\n", udimid); 
     138  printf("dimid1:%d\n", dimid1); 
     139  printf("dimid2:%d\n", dimid2); 
     140  printf("dimid3:%d\n", dimid3); 
     141  printf("udimid:%d\n", udimid); 
    142142  square_dim[0] = cube_dim[0] = xytime_dim[1] = dimid1; 
    143143  square_dim[1] = cube_dim[1] = xytime_dim[2] = dimid2; 
  • trunk/test/testcases/ncmpi_vars_null_stride.c

    r571 r690  
    4444 
    4545        MPI_Finalize(); 
    46  
     46        return 0; 
    4747} 
  • trunk/test/testcases/vectors.c

    r652 r690  
    2323        MPI_Datatype vtype, rtype, usertype; 
    2424        MPI_Aint lb, extent; 
    25         int userbufsz, *userbuf, *srcbuf, *cmpbuf, i, errs=0; 
     25        int userbufsz, *userbuf, *cmpbuf, i, errs=0; 
    2626        int count = 25; 
    2727        double pi = 3.14159;