<!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><FONT face=Arial color=#0000ff size=2><SPAN class=691444018-28062011>I now
have it so that the composite data structure is consistent across all
processes and it works fine. Thanks for the help, guys.</SPAN></FONT></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<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> paraview-bounces@paraview.org
[mailto:paraview-bounces@paraview.org] <B>On Behalf Of </B>Adriano
Gagliardi<BR><B>Sent:</B> 28 June 2011 18:08<BR><B>To:</B> 'Paul
Edwards'<BR><B>Cc:</B> 'ParaView list'<BR><B>Subject:</B> Re: [Paraview]
Parallel MB reader<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff
size=2>Paul,</FONT></SPAN></DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff size=2>That's
exactly what I was after and what Andy suggested. My serial reader had an
implicit assumption of the multiblock data structure to keep it flexible.
However, in parallel it meant that the data structure was never the same on each
process, as each mesh partition only knows about a small number of
the total blocks available in the serial mesh.</FONT></SPAN></DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff size=2>Thanks
for the info!</FONT></SPAN></DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=863055516-28062011><FONT face=Arial color=#0000ff
size=2>Adriano</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<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> Paul Edwards
[mailto:paul.m.edwards@gmail.com] <BR><B>Sent:</B> 28 June 2011
17: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>Adriano,
<DIV><BR></DIV>
<DIV>I'm not totally sure I understand your question but this thread might be of
use where I was asking about multi block data sets in parallel:</DIV>
<DIV><BR></DIV>
<DIV> <A
href="http://markmail.org/message/skb653xqwa4hvs4c">http://markmail.org/message/skb653xqwa4hvs4c</A></DIV>
<DIV><BR></DIV>
<DIV>Regards,</DIV>
<DIV>Paul</DIV>
<DIV><BR><BR>
<DIV class=gmail_quote>On 28 June 2011 16:24, Andy Bauer <SPAN dir=ltr><<A
href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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"
target=_blank>http://www.vtk.org/doc/nightly/html/classvtkMultiBlockDataSet.html#details</A><BR><BR>HTH,<BR><FONT
color=#888888>Andy</FONT>
<DIV>
<DIV></DIV>
<DIV class=h5><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></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>
<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><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>