This is currently no supported. Looking at vtkXMLPDataReader::CreatePieceFileName(..), the value of &quot;Source&quot; 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">&lt;<a href="mailto:tomt147@yahoo.com" target="_blank">tomt147@yahoo.com</a>&gt;</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 &lt;Piece Source=&quot;fields-0000-0000.vtu&quot;/&gt; 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">
&lt;Piece Source=&quot;../fields-0000-0000.vtu&quot;/&gt;    ## 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">&lt;Piece Source=&quot;level1/fields-0000-0000.vtu&quot;/&gt; ## 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">&lt;Piece Source=&quot;~/home/tom/fields-0000-0000.vtu&quot;/&gt; ##this syntax doesn&#39;t work</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">&lt;Piece Source=&quot;/home/tom/fields-0000-0000.vtu&quot;/&gt; ##this syntax doesn&#39;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">
&lt;Piece Source=&quot;node14:/scratch/tom/fields-0000-0000.vtu&quot;/&gt; ##this syntax doesn&#39;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&#39;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">
&lt;?xml version=&quot;1.0&quot;?&gt;<br>&lt;VTKFile type=&quot;PUnstructuredGrid&quot;&gt;<br>&lt;PUnstructuredGrid GhostLevel=&quot;0&quot;&gt;<br>&lt;PPointData&gt;<br>&lt;PDataArray type=&quot;Float64&quot; Name=&quot;displacements&quot; NumberOfComponents=&quot;3&quot;/&gt;<br>
&lt;PDataArray type=&quot;Float64&quot; Name=&quot;velocities&quot; NumberOfComponents=&quot;3&quot;/&gt;<br>&lt;PDataArray type=&quot;Float64&quot; Name=&quot;stresses&quot; NumberOfComponents=&quot;9&quot;/&gt;<br>...<br>
&lt;/PPointData&gt;<br>&lt;PCellData&gt;<br>&lt;/PCellData&gt;<br>&lt;PPoints&gt;<br>&lt;PDataArray type=&quot;Float32&quot; NumberOfComponents=&quot;3&quot;/&gt;<br>&lt;/PPoints&gt;<br>&lt;Piece
 Source=&quot;fields-0000-0000.vtu&quot;/&gt;<br>&lt;Piece Source=&quot;fields-0000-0001.vtu&quot;/&gt;<br>&lt;Piece Source=&quot;fields-0000-0002.vtu&quot;/&gt;<br>&lt;Piece Source=&quot;fields-0000-0003.vtu&quot;/&gt;<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">
&lt;/PUnstructuredGrid&gt;<br>&lt;/VTKFile&gt;<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>