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

« back to all changes in this revision

Viewing changes to examples/C/manual/4_adios_nfiles.c

  • 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:
50
50
     * there are N files generated. 
51
51
     */
52
52
    sprintf (filename, "restart_%5.5d.bp", color);
53
 
    adios_init ("config.xml");
54
 
    adios_open (&adios_handle, "temperature", filename, "w", &comm);
 
53
    adios_init ("config.xml", MPI_COMM_WORLD);
 
54
    adios_open (&adios_handle, "temperature", filename, "w", comm);
55
55
    #include "gwrite_temperature.ch"
56
56
    adios_close (adios_handle);
57
57
    adios_finalize (rank);