message: bpls: Use FileStream for BP4/BP5 when -t is used
diff: @@ -90,6 +90,7 @@ bool listmeshes; // do list meshes too
  bool attrsonly; // do list attributes only
  bool longopt; // -l is turned on
  bool timestep; // read step by step
  +bool filestream = false; // are we using an engine through FileStream?
  bool noindex; // do no print array indices with data
  bool printByteAsChar; // print 8 bit integer arrays as string
  bool plot; // dump histogram related information
  @@ -915,7 +916,7 @@ int doList_vars(core::Engine *fp, core::IO *io)
  {
  Entry e(vpair.second->m_Type, vpair.second.get());
  bool valid = true;
  - if (timestep)
  + if (timestep && !filestream)
  {
  valid = e.var->IsValidStep(fp->CurrentStep() + 1);
  // fprintf(stdout, "Entry: ptr = %p valid = %d\n", e.var,
  @@ -1445,15 +1446,39 @@ std::vector<std::string> getEnginesList(const std::string path)
  if (slen >= 3 && path.compare(slen - 3, 3, ".h5") == 0)
  {
  list.push_back("HDF5");
  + if (timestep)
  + {
  + list.push_back("FileStream");
  + list.push_back("BP3");
  + }
  + else
  + {
  list.push_back("BPFile");
  }
  + }
  + else
  + {
  + if (timestep)
  + {
  + list.push_back("FileStream");
  + list.push_back("BP3");
  + }
  else
  {
  list.push_back("BPFile");
  + }
  list.push_back("HDF5");
  }
  #else
  + if (timestep)
  + {
  + list.push_back("FileStream");
  + list.push_back("BP3");
  + }
  + else
  + {
  list.push_back("BPFile");
  + }
  #endif
  return list;
  }
  @@ -1498,6 +1523,10 @@ int doList(const char *path)
  try
  {
  fp = &io.Open(path, Mode::Read);
  + if (engineName == "FileStream")
  + {
  + filestream = true;
  + }
  }
  catch (std::exception &e)
  {
  @@ -1521,6 +1550,8 @@ int doList(const char *path)
  if (verbose)
  {
  printf("File info:\n");
  + printf(" adios2 engine: %s\n", fp->m_EngineType.c_str());
  + printf(" stream mode: %s\n", (filestream ? "yes" : "no"));
  printf(" of variables: %zu\n", io.GetVariables().size());
  printf(" of attributes: %zu\n", io.GetAttributes().size());
  // printf(" of meshes: %d\n", fp->nmeshes);
  