View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006967ParaViewBugpublic2008-05-06 11:542016-08-12 09:57
ReporterBurlen 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006967: vtkXMLHierarchicalBoxDataWriter skips image data when writing
DescriptionWhen running with mpich, not all of the image data belonging to the current process are output, even though they are there.
Additional InformationCode to reproduce:
the vtkCTHTestDataSource class is in the tarball as are the resulting dataset for run with -np 2.

vtkCTHTestDataSource *cthSrc = vtkCTHTestDataSource::New();

cthSrc->SetDataSetDomain(0,0,0, 11,11,3);
cthSrc->SetDataSetOrigin(-3.0,-3.0,-1.0);
cthSrc->SetDataSetDx(0.5,0.5,0.5);
cthSrc->SetDataSetNBlocks(3,3,1);
cthSrc->SetDataSetNCellsX(4);
cthSrc->AddFragmentBox(2,5,1, 4,6,2);
cthSrc->AddFragmentBox(5,1,1, 6,10,2);
cthSrc->AddFragmentBox(7,1,1, 9,2,2);
cthSrc->AddFragmentBox(9,5,1, 10,6,2);
cthSrc->AddFragmentBox(7,9,1, 9,10,2);
cthSrc->SetNumberOfProcs(numProcs);
cthSrc->SetProcId(myProcId);
vtkHierarchicalBoxDataSet *hbds = cthSrc->GetOutput();
hbds->Update();

if ( ctc.GetStatus("-writeInputData") )
  {
  vtkCompositeDataIterator *it=hbds->NewIterator();
  it->InitTraversal();
  it->VisitOnlyLeavesOn();
  it->SkipEmptyNodesOn();
  while(!it->IsDoneWithTraversal())
    {
    vtkAMRBox box=hbds->GetAMRBox(it);
    vtkUniformGrid *id=dynamic_cast<vtkUniformGrid *>(hbds->GetDataSet(it));
    it->GoToNextItem();
    cerr << myProcId << ":" << box << "{" << *id <<"}\n";
    }

  ostringstream oss;
  oss << ctc.GetStringArg("-writeInputData");
  oss << "_" << myProcId;

  vtkXMLHierarchicalBoxDataWriter *xdw = vtkXMLHierarchicalBoxDataWriter::New();
  xdw->SetInput( hbds );
  xdw->SetFileName( oss.str().c_str() );
  xdw->Write();
  xdw->Delete();
  }



ostream &operator<<(ostream &sout, const vtkAMRBox &box)
{
  sout << "(";
  for (int q=0; q<3; ++q)
    {
    sout << box.LoCorner[q] << ",";
    }
  sout << (char)0x08 << ")(";
  for (int q=0; q<3; ++q)
    {
    sout << box.HiCorner[q] << ",";
    }
  sout << (char)0x08 << ")";
  return sout;
}


TagsNo tags attached.
Project
Topic Name
Type
Attached Filesgz file icon hbwbug.tar.gz [^] (4,862 bytes) 2008-05-06 11:54

 Relationships

  Notes
(0037572)
Kitware Robot (administrator)
2016-08-12 09:57

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-05-06 11:54 Burlen New Issue
2008-05-06 11:54 Burlen File Added: hbwbug.tar.gz
2009-02-17 16:08 Ken Moreland Status backlog => tabled
2009-02-17 16:08 Ken Moreland Assigned To => Burlen
2009-05-13 13:46 Utkarsh Ayachit Target Version => 3.6
2009-08-25 18:43 Utkarsh Ayachit Assigned To Burlen =>
2009-08-25 18:43 Utkarsh Ayachit Category => Bug
2009-08-25 18:43 Utkarsh Ayachit Target Version 3.6 => 3.8
2016-08-12 09:57 Kitware Robot Note Added: 0037572
2016-08-12 09:57 Kitware Robot Status expired => closed
2016-08-12 09:57 Kitware Robot Resolution open => moved
2016-08-12 09:57 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team