Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A ADIOS2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 97
    • Issues 97
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Podhorszki, Norbert
  • ADIOS2
  • Issues
  • #363
Closed
Open
Issue created Dec 25, 2017 by Podhorszki, Norbert@pnbOwner

BPFile reader misses last step in streaming mode

Created by: pnorbert

If I run the heat transfer producing N output steps (initial condition + the number of requested steps), then the reader will only process N-1 steps.

$ mpirun -n 2 ./bin/heatTransfer_write_adios2 /home/adios/work/ADIOS2/examples/heatTransfer/heat_bpfile.xml heat.bp 2 1 5 6 1 1 Step 1: Total runtime = 0.00218892s

$ bpls -lav heat.bp -d -n 6 -f "%6.2g" File info: of groups: 2 of variables: 1 of attributes: 0 of meshes: 0 time steps: 0 - 1 file size: 632 bytes bp version: 3 endianness: Little Endian statistics: Min / Max / Avg / Std_dev

double T 2*{10, 6} = -3.6591 / 3.1591 / null / null (0,0,0) 1 1 2.7 1 -0.73 1 (0,1,0) -1.9 -1.9 -0.2 -1.9 -3.7 -1.9 (0,2,0) 1.4 1.4 3.2 1.4 -0.3 1.4 (0,3,0) 1.4 1.4 3.2 1.4 -0.3 1.4 (0,4,0) -1.9 -1.9 -0.2 -1.9 -3.7 -1.9 (0,5,0) 1 1 2.7 1 -0.73 1 (0,6,0) -1.9 -1.9 -0.2 -1.9 -3.7 -1.9 (0,7,0) 1.4 1.4 3.2 1.4 -0.3 1.4 (0,8,0) 1.4 1.4 3.2 1.4 -0.3 1.4 (0,9,0) -1.9 -1.9 -0.2 -1.9 -3.7 -1.9 (1,0,0) 1.2 1.2 1.5 0.81 0.12 0.87 (1,1,0) 0.31 -0.32 0.37 -0.67 -1.7 -0.032 (1,2,0) 1.1 1.1 1.8 0.76 -0.28 0.72 (1,3,0) 1.1 1.1 1.8 0.76 -0.28 0.72 (1,4,0) 0.31 -0.32 0.37 -0.67 -1.7 -0.032 (1,5,0) 0.23 0.18 0.87 -0.17 -1.2 -0.12 (1,6,0) 0.31 -0.32 0.37 -0.67 -1.7 -0.032 (1,7,0) 1.1 1.1 1.8 0.76 -0.28 0.72 (1,8,0) 1.1 1.1 1.8 0.76 -0.28 0.72 (1,9,0) 0.71 0.076 0.42 -0.27 -0.96 0.37

$ mpirun -n 1 ./bin/heatTransfer_read /home/adios/work/ADIOS2/examples/heatTransfer/heat_bpfile.xml heat.bp 1 1 gndx = 10 gndy = 6 rank 0 reads 2D slice 10 x 6 from offset (0,0) Processing step 0 There should be another step "Processing step 1" here

$ cat data.0 rank=0 size=10x6 offsets=0:0 step=0 time row columns 0...5

            0        1        2        3        4        5

0    0        1        1      2.7        1    -0.73        1
0    1     -1.9     -1.9     -0.2     -1.9     -3.7     -1.9
0    2      1.4      1.4      3.2      1.4     -0.3      1.4
0    3      1.4      1.4      3.2      1.4     -0.3      1.4
0    4     -1.9     -1.9     -0.2     -1.9     -3.7     -1.9
0    5        1        1      2.7        1    -0.73        1
0    6     -1.9     -1.9     -0.2     -1.9     -3.7     -1.9
0    7      1.4      1.4      3.2      1.4     -0.3      1.4
0    8      1.4      1.4      3.2      1.4     -0.3      1.4
0    9     -1.9     -1.9     -0.2     -1.9     -3.7     -1.9
Assignee
Assign to
Time tracking