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

« back to all changes in this revision

Viewing changes to examples/C/global-array/adios_global_no_xml.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:
39
39
        MPI_Comm    comm = MPI_COMM_WORLD;
40
40
 
41
41
        /* ADIOS variables declarations for matching gwrite_temperature.ch */
42
 
        int         adios_err;
43
42
        uint64_t    adios_groupsize, adios_totalsize;
44
 
        int64_t     adios_handle;
45
43
 
46
44
        MPI_Init (&argc, &argv);
47
45
        MPI_Comm_rank (comm, &rank);
75
73
                        ,"", adios_integer
76
74
                        ,0, 0, 0);
77
75
   
78
 
           adios_define_var (m_adios_group, "temperature"
 
76
           int64_t varid;
 
77
           varid = adios_define_var (m_adios_group, "temperature"
79
78
                        ,"", adios_double
80
79
                        ,"NX", "Global_bounds", "Offsets");
 
80
           adios_set_transform (varid, "none");
81
81
        }
82
82
   
83
83
        adios_open (&m_adios_file, "restart", filename, "w", comm);