~ubuntu-branches/ubuntu/utopic/adios/utopic

« back to all changes in this revision

Viewing changes to examples/C/global-array/gread_temperature.ch

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2013-12-09 15:21:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20131209152131-jtd4fpmdv3xnunnm
Tags: 1.5.0-1
* New upstream.
* Standards-Version: 3.9.5
* Include latest config.{sub,guess} 
* New watch file.
* Create libadios-bin for binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
adios_groupsize = 0;
2
 
adios_totalsize = 0;
3
 
adios_group_size (adios_handle, adios_groupsize, &adios_totalsize);
4
 
adios_buf_size = 4;
5
 
adios_read (adios_handle, "NX", &NX, adios_buf_size);
6
 
adios_buf_size = 4;
7
 
adios_read (adios_handle, "size", &size, adios_buf_size);
8
 
adios_buf_size = 4;
9
 
adios_read (adios_handle, "rank", &rank, adios_buf_size);
10
 
adios_buf_size = 8 * (1) * (NX);
11
 
adios_read (adios_handle, "temperature", temperature, adios_buf_size);
 
1
s = adios_selection_writeblock (rank);
 
2
adios_schedule_read (fp, s, "temperature", 1, 1, t);
 
3
adios_perform_reads (fp, 1);
 
4
adios_selection_delete (s);