This is currently no supported. Looking at vtkXMLPDataReader::CreatePieceFileName(..), the value of "Source" attribute is always treated as a being relative to the location of the pvtu file.<div><br></div><div>Utkarsh</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 14, 2012 at 11:52 AM, Tom T <span dir="ltr"><<a href="mailto:tomt147@yahoo.com" target="_blank">tomt147@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>Hi everyone,</div><div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
I am trying to write a .pvtu file so I can run paraview in parallel. My code works and paraview displays the 4 vtu files properly. Now I am trying to modify the <Piece Source="fields-0000-0000.vtu"/> path so that the field-0000-000*.vtu files do not have to be in the same directory as the .pvtu file. I managed to successfully implement the path changes for accessing the .vtu files when they are either one directory up or down</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<Piece Source="../fields-0000-0000.vtu"/> ## this accesses the file one directory up<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><Piece Source="level1/fields-0000-0000.vtu"/> ## this accesses the file in the directory level1 which is within the directory in which the .pvtu file is</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
My question is how I would have to change the path syntax to be able to access the fields-...-.vtu files in a completely different directory? <br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><Piece Source="~/home/tom/fields-0000-0000.vtu"/> ##this syntax doesn't work</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><Piece Source="/home/tom/fields-0000-0000.vtu"/> ##this syntax doesn't work either<br>
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">Can I access the files if they are stored on a different node (while running paraview in parallel)?</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<Piece Source="node14:/scratch/tom/fields-0000-0000.vtu"/> ##this syntax doesn't work either...<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
Thanks!</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">Here's my .pvtu
file<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">----------------------------------------<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<?xml version="1.0"?><br><VTKFile type="PUnstructuredGrid"><br><PUnstructuredGrid GhostLevel="0"><br><PPointData><br><PDataArray type="Float64" Name="displacements" NumberOfComponents="3"/><br>
<PDataArray type="Float64" Name="velocities" NumberOfComponents="3"/><br><PDataArray type="Float64" Name="stresses" NumberOfComponents="9"/><br>...<br>
</PPointData><br><PCellData><br></PCellData><br><PPoints><br><PDataArray type="Float32" NumberOfComponents="3"/><br></PPoints><br><Piece
Source="fields-0000-0000.vtu"/><br><Piece Source="fields-0000-0001.vtu"/><br><Piece Source="fields-0000-0002.vtu"/><br><Piece Source="fields-0000-0003.vtu"/><br>
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
</PUnstructuredGrid><br></VTKFile><br></div></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>