~ubuntu-branches/ubuntu/vivid/adios/vivid-proposed

« back to all changes in this revision

Viewing changes to examples/C/global-array/adios_read_global.c

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2014-06-16 23:06:38 UTC
  • mfrom: (15.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20140616230638-cxryhot6b8ge32l6
Tags: 1.7.0-1
* New upstream release.
* Add adios.pc pkgconfig file. adios_config now uses this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
int main (int argc, char ** argv) 
27
27
{
28
 
    char        filename [256];
29
28
    int         rank, size, i, j;
30
29
    MPI_Comm    comm = MPI_COMM_WORLD;
31
30
    enum ADIOS_READ_METHOD method = ADIOS_READ_METHOD_BP;
32
31
    ADIOS_SELECTION * sel;
33
32
    void * data = NULL;
34
 
    uint64_t start[2], count[2], bytes_read = 0;
 
33
    uint64_t start[2], count[2];
35
34
 
36
35
    MPI_Init (&argc, &argv);
37
36
    MPI_Comm_rank (comm, &rank);