<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I have to throw in the towel on this one for now and get back to some other deadlines... but, I put what I have so far online and created a merge request with information about the error and an example dataset attached.
<br>
</p>
<p><br>
</p>
<p>Hopefully somebody better with VTK than I am can take a look and figure out what I'm missing. I tried comparing the files for Chombo against the original Visit source files to see if any special modifications were required and none are (the only changes
 are HDF5 related). It looks like the Chombo reader is from Visit 2.7.0 -- the Boxlib files I added are from 2.10.3, but I tried it with the Boxlib reader from Visit 2.7.0 also and it's the same issue.
<br>
</p>
<p><br>
</p>
<p>If anybody has a chance to take a look, I'd appreciate it. Hopefully it's something simple. If not, I'll try to pick it back up in a few days. I apologize for the hacked CMakeLists to link against the library, I will fix it to do it properly once everything
 else works!<br>
</p>
<br>
<p>Tim</p>
<p><br>
</p>
<div style="color: rgb(49, 55, 57);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> ParaView <paraview-bounces@paraview.org> on behalf of Gallagher, Timothy P <tim.gallagher@gatech.edu><br>
<b>Sent:</b> Monday, August 29, 2016 12:41 PM<br>
<b>To:</b> Utkarsh Ayachit<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] Status of BoxLib AMR reader</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Thanks for the quick response, the case didn't match between the two files and that was the issue. I'm able to use the reader to select the file and it sees the names of the variables in it properly, but when I hit Apply it throws:</p>
<p><br>
</p>
<p></p>
<div>ERROR: In /data4/PVBoxLibTest/paraview/VTK/Common/DataModel/vtkAMRInformation.cxx, line 573<br>
vtkAMRInformation (0x44210f0): Invalid grid description for a vtkUniformGrid</div>
<p></p>
<p><br>
</p>
<p>I have a feeling this might get beyond my paraview knowledge to fix. <br>
</p>
<p><br>
</p>
<p>One potential source of the problem -- what version of Visit are the other readers pulled from? I have the Boxlib files from the latest version, but looking at some of the other readers, they are from older versions.
<br>
</p>
<p>The latest date I see in the copyright for existing readers is 2013 and looking through the Visit Release notes, the last release in 2013 says it was upgraded to use VTK-6.0.
<br>
</p>
<p><br>
</p>
<p>Is it possible the bridge is based on Visit before that major VTK upgrade and I need to pull the reader code from a version earlier than that?
<br>
</p>
<p><br>
</p>
<p>Thanks for your help. If I can't find something I know how to fix soon, I can create a merge request and see if anybody else can get it the rest of the way.
</p>
<p><br>
</p>
<p>Tim<br>
</p>
<br>
<div style="color:rgb(49,55,57)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Utkarsh Ayachit <utkarsh.ayachit@kitware.com><br>
<b>Sent:</b> Monday, August 29, 2016 12:17 PM<br>
<b>To:</b> Gallagher, Timothy P<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] Status of BoxLib AMR reader</font>
<div> </div>
</div>
<div>
<div dir="ltr">Tim,
<div><br>
</div>
<div>It doesn't know what the class is. Multiple things could have gone wrong:</div>
<div>1. is there call to ADD_VISIT_READER() for the new reader?</div>
<div>2. does the case match between the XML's class="" and the name specified in 1?</div>
<div><br>
</div>
<div>If it makes it easier, create a MR on the <a id="LPlnk448930" href="https://gitlab.kitware.com/paraview/visitbridge">https://gitlab.kitware.com/paraview/visitbridge</a> repo with your changes, and I can do the necessary fixes.</div>
<div id="LPBorder_GT_14724885713140.8530832591554949" style="margin-bottom:20px; overflow:auto; width:100%; text-indent:0px">
<table id="LPContainer_14724885713090.32049336993046174" style="width:90%; background-color:rgb(255,255,255); overflow:auto; padding-top:20px; padding-bottom:20px; margin-top:20px; border-top:1px dotted rgb(200,200,200); border-bottom:1px dotted rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td colspan="1" id="ImageCell_14724885713100.500761528086412" style="width:250px; display:table-cell; padding-right:20px">
<div id="LPImageContainer_14724885713100.9289800933212167" style="background-color:rgb(255,255,255); height:250px; margin:auto; display:table; width:250px">
<a target="_blank" href="https://gitlab.kitware.com/paraview/visitbridge" id="LPImageAnchor_14724885713110.4036020870361756" style="display:table-cell; text-align:center"><img id="LPThumbnailImageID_14724885713110.3228188737937223" style="display:inline-block; max-width:250px; max-height:250px; height:250px; width:250px; border-width:0px; vertical-align:bottom" height="250" width="250" src="https://gitlab.kitware.com/uploads/project/avatar/12/VisitBridge_Icon__3_.png"></a></div>
</td>
<td colspan="2" id="TextCell_14724885713120.5863298934322985" style="vertical-align: top; padding: 0px; display: table-cell; position: relative;">
<div id="LPRemovePreviewContainer_14724885713120.37098166783479836"></div>
<div id="LPTitle_14724885713120.9189928099653941" style="top:0px; color:rgb(17,111,160); font-weight:400; font-size:21px; font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height:21px">
<a target="_blank" href="https://gitlab.kitware.com/paraview/visitbridge" id="LPUrlAnchor_14724885713120.7051496977885076" style="text-decoration:none">ParaView / VisItBridge</a></div>
<div id="LPMetadata_14724885713130.9732710576899204" style="margin:10px 0px 16px; color:rgb(102,102,102); font-weight:400; font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:14px">
gitlab.kitware.com</div>
<div id="LPDescription_14724885713130.9448499593829636" style="display:block; color:rgb(102,102,102); font-weight:400; font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:20px; max-height:100px; overflow:hidden">
Bridge between VisIt and ParaView to use VisIt readers in ParaView.</div>
</td>
</tr>
</tbody>
</table>
</div>
<div><br>
</div>
<div>Utkarsh</div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Aug 29, 2016 at 12:06 PM, Gallagher, Timothy P <span dir="ltr">
<<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<p>Utkarash,</p>
<p><br>
</p>
<p>Thanks, I had added it to the xml file, but I didn't reconfigure (just rebuilt) so it didn't get added to the list.
<br>
</p>
<p><br>
</p>
<p>I'm making some progress it seems, it is picking the right reader now. But it is crashing with a rather unhelpful message:</p>
<p><br>
</p>
<div>ERROR: In /data4/PVBoxLibTest/paraview/<wbr>ParaViewCore/<wbr>ServerImplementation/Core/<wbr>vtkSIProxy.cxx, line 310<br>
vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. Aborting for debugging purposes.</div>
<br>
<p>I thought compiling with a Debug build type would give more verbose messages, but it's the same.
<br>
</p>
<p><br>
</p>
<p>Is there documentation or suggestions on debugging paraview? Is there a way to get more verbose output on why it isn't able to create the reader?</p>
<p><br>
</p>
<p>Thanks again,</p>
<p><br>
</p>
<p>Tim<br>
</p>
<br>
<div style="color:rgb(49,55,57)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>><br>
<b>Sent:</b> Monday, August 29, 2016 8:46 AM
<div>
<div class="h5"><br>
<b>To:</b> Gallagher, Timothy P<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Status of BoxLib AMR reader</div>
</div>
</font>
<div> </div>
</div>
<div>
<div class="h5">
<div>
<div dir="ltr">Tim,
<div><br>
</div>
<div>Did you also add it to visit_readers.xml [1]? The proxy definition should also have a  <hints> section like so [2].</div>
<div><br>
</div>
<div>Utkarsh</div>
<div><br>
</div>
<div>[1] <a href="https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml" target="_blank">https://gitlab.kitware.<wbr>com/paraview/visitbridge/blob/<wbr>master/databases/visit_<wbr>readers.xml</a></div>
<div>[2] <a href="https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565" target="_blank">https://gitlab.kitware.<wbr>com/paraview/visitbridge/blob/<wbr>master/databases/visit_<wbr>readers.xml#L2562-2565</a></div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P <span dir="ltr">
<<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<p>I took a stab at adding the Boxlib reader from the visit source to the VisitBridge internal readers. I managed to get everything to compile and link, Paraview built fine, but I can't seem to figure out how to make Paraview aware the reader exists.
<br>
</p>
<p><br>
</p>
<p>There isn't an option for Boxlib in the dropdown for the file type when I try to open a file, and it doesn't appear as an available reader when I try to select the file -- although all the others from the VisitBridge appear. I missed a configuration file
 somewhere to make the file loading aware of the reader. <br>
</p>
<p><br>
</p>
<p>Any suggestions on what I missed? I added a section in the Utilities/VisItBridge/database<wbr>s/visit_readers.xml file, but that wasn't enough I guess.
<br>
</p>
<p><br>
</p>
<p>Thanks, <br>
</p>
<p><br>
</p>
<p>Tim<br>
</p>
<br>
<br>
<div style="color:rgb(49,55,57)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> ParaView <<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><wbr>> on behalf of Gallagher, Timothy P <<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>><br>
<b>Sent:</b> Friday, August 26, 2016 11:53 AM<br>
<b>To:</b> Utkarsh Ayachit
<div>
<div><br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Status of BoxLib AMR reader</div>
</div>
</font>
<div> </div>
</div>
<div>
<div>
<div>
<div style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<p>Hi Utkarsh,</p>
<p><br>
</p>
<p>I just checked with the latest head of the git repo and when I compile with the VisitBridge, there are no readers for BoxLib built.
<br>
</p>
<p><br>
</p>
<p>This page lists it as supported: <a href="http://www.paraview.org/ParaView/index.php/VisIt_avt_Integration" target="_blank">
http://www.paraview.org/ParaVi<wbr>ew/index.php/VisIt_avt_Integra<wbr>tion</a></p>
<p><br>
</p>
<p>But then this later one doesn't include it: <a href="http://www.paraview.org/Wiki/VisIt_Database_Bridge" target="_blank">http://www.paraview.org/Wi<wbr>ki/VisIt_Database_Bridge</a><br>
</p>
<p><br>
</p>
<p>I have a dataset for you, I will send it off-list. <br>
</p>
<p><br>
</p>
<p>Thanks,</p>
<p><br>
</p>
<p>Tim<br>
</p>
<br>
<br>
<div style="color:rgb(49,55,57)">
<div>
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>><br>
<b>Sent:</b> Friday, August 26, 2016 8:35 AM<br>
<b>To:</b> Gallagher, Timothy P<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Status of BoxLib AMR reader</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div>Tim,<br>
<br>
I am not exactly sure what's the status of the reader, but I can<br>
certainly look it up. Do you have a sample dataset also to test that<br>
it's working (or not)?<br>
<br>
Utkarsh<br>
<br>
On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P<br>
<<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>> wrote:<br>
> Hi,<br>
><br>
><br>
> Our code is moving away from traditional structured grids towards an AMR<br>
> capability using BoxLib. That means, unfortunately, that all of the<br>
> development we have done to make our code Paraview and CoProcessing friendly<br>
> is not usable with the BoxLib file format.<br>
><br>
><br>
> I have seen some information on various websites about using the VisitBridge<br>
> to add the readers from Visit into Paraview, but when I build with it, the<br>
> BoxLib reader was not included in the list of formats I could use for files<br>
> -- even though it is listed online.<br>
><br>
><br>
> Does anybody know what the status is of the reader in PV and if it is<br>
> usable? Or is there a different format we can try to write out from our code<br>
> that would be usable? I really don't want to lose the work we've done with<br>
> PV and I would rather spend time writing code to get things working again<br>
> for PV than learn to use new software!<br>
><br>
><br>
> Thanks,<br>
><br>
><br>
> Tim<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
<div style="margin-bottom:20px; overflow:auto; width:100%; text-indent:0px">
<table style="width:90%; overflow:auto; padding-top:20px; padding-bottom:20px; margin-top:20px; border-top:1px dotted rgb(200,200,200); border-bottom:1px dotted rgb(200,200,200); background-color:rgb(255,255,255)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td colspan="1" style="width:250px; display:table-cell; padding-right:20px">
<div style="min-height:165px; margin:auto; display:table; width:250px; background-color:rgb(255,255,255)">
<a href="http://www.kitware.com/" target="_blank" style="display:table-cell; text-align:center"><img style="display: inline-block; max-width: 250px; max-height: 250px; min-height: 165px; width: 250px; border-width: 0px; vertical-align: bottom; -moz-user-select: none;" height="165" width="250" src="http://www.kitware.com/img/Areas_Index_Home.jpg"></a></div>
</td>
<td colspan="2" style="vertical-align:top; padding:0px; display:table-cell">
<div></div>
<div style="color:rgb(17,111,160); font-weight:400; font-size:21px; font-family:wf_segoe-ui_light,"Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height:21px">
<a href="http://www.kitware.com/" target="_blank" style="text-decoration:none">Kitware Inc. - leading edge, high-quality software</a></div>
<div style="margin:10px 0px 16px; color:rgb(102,102,102); font-weight:400; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:14px">
<a href="http://www.kitware.com" target="_blank">www.kitware.com</a></div>
<div style="display:block; color:rgb(102,102,102); font-weight:400; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:20px; max-height:100px; overflow:hidden">
Kitware's mission is to create state-of-the-art software products and services in visualization and data processing using advanced quality software methods and ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=<wbr>ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
><br>
</div>
</span></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>