<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=816190216-28062011></SPAN><!-- Converted from text/plain format --><SPAN
class=816190216-28062011><FONT face=Arial color=#0000ff size=2>Thanks, Andy.
I'll try and see how I can get that to work within the file format
limitations.</FONT></SPAN></DIV>
<DIV><SPAN class=816190216-28062011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=816190216-28062011><FONT face=Arial color=#0000ff
size=2>Adriano</FONT></SPAN></DIV>
<P><FONT size=2>===================================<BR><BR>Adriano Gagliardi
MEng PhD<BR>Business Sector Leader<BR>Computational Aerodynamics<BR>Aircraft
Research Association Ltd.<BR>Manton Lane<BR>Bedford<BR><BR>Tel: 01234 32
4644<BR>E-mail: agagliardi@ara.co.uk<BR>Url: www.ara.co.uk </FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Andy Bauer [mailto:andy.bauer@kitware.com]
<BR><B>Sent:</B> 28 June 2011 16:25<BR><B>To:</B>
agagliardi@ara.co.uk<BR><B>Cc:</B> ParaView list<BR><B>Subject:</B> Re:
[Paraview] Parallel MB reader<BR></FONT><BR></DIV>
<DIV></DIV>If I understand you correctly I think you need to do 2. Each
process should have the same multiblock structure and will just not contain a
data set for the leaves that are assigned to a different process. Check
out <A
href="http://www.vtk.org/doc/nightly/html/classvtkMultiBlockDataSet.html#details">http://www.vtk.org/doc/nightly/html/classvtkMultiBlockDataSet.html#details</A><BR><BR>HTH,<BR>Andy<BR><BR>
<DIV class=gmail_quote>On Tue, Jun 28, 2011 at 5:38 AM, Adriano Gagliardi <SPAN
dir=ltr><<A href="mailto:agagliardi@ara.co.uk"
target=_blank>agagliardi@ara.co.uk</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR>I've
run into an issue when writing a parallel reader for partitioned
files<BR>containing multi-block data. All data reads in fine on each process
and<BR>works as expected, except for one thing. Since each partition only
knows<BR>about the blocks it contains (and not the global blocks), I've not
been able<BR>to have all the blocks available in the entire data-set available
to the<BR>user. What I get instead is the list of blocks read in by the last
data<BR>reader. I've got a couple of ideas to resolve this issue.<BR><BR>(1)
Have some sort of communication between each of the PV processes
to<BR>ascertain which process has which data<BR><BR>(2) Have the number of
blocks stored on each process the same as the global<BR>number of blocks, but
just allocate data to the blocks that each<BR>partition/process has data
of.<BR><BR>So, my questions are:<BR><BR>(1) Is item (1) possible and, if so,
what class(es) should I be looking at<BR>to do it<BR><BR>(2) Will item (2)
alone solve my issue, or will I run into problems whereby<BR>if block 0 has
50% of its data on partition 0 and the rest on partition 1<BR>that, after
reading in, I will only ever see 50% of block 0 being whichever<BR>of
partition 0 or 1 is read in last.<BR><BR>Thanks
again,<BR><BR>Adriano<BR><BR>===================================<BR><BR>Adriano
Gagliardi MEng PhD<BR>Business Sector Leader<BR>Computational
Aerodynamics<BR>Aircraft Research Association Ltd.<BR>Manton
Lane<BR>Bedford<BR><BR>Tel: 01234 32 4644<BR>E-mail: <A
href="mailto:agagliardi@ara.co.uk"
target=_blank>agagliardi@ara.co.uk</A><BR>Url: <A href="http://www.ara.co.uk"
target=_blank>www.ara.co.uk</A><BR><BR><BR>**********************************************************************<BR>This
email contains information that is private and confidential and is intended
only for the addressee.<BR>If you are not the intended recipient please delete
it and notify us immediately by e-mailing the sender.<BR>Note: All email sent
to or from this address may be accessed by someone other than the recipient,
for<BR>system management and security reasons.<BR>Aircraft Research
Association Ltd. Registered in England, Registration No 503668
Registered Office:<BR>Manton Lane, Bedford MK41 7PF England VAT No GB
196351245<BR><BR>**********************************************************************<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></BLOCKQUOTE></DIV><BR><p>**********************************************************************<br />This email contains information that is private and confidential and is intended only for the addressee.<br />If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br />Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br />system management and security reasons.<br />Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office:<br />Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>
</BODY></HTML>