[Paraview] Parallel MB reader
Adriano Gagliardi
agagliardi at ara.co.uk
Tue Jun 28 05:38:42 EDT 2011
I've run into an issue when writing a parallel reader for partitioned files
containing multi-block data. All data reads in fine on each process and
works as expected, except for one thing. Since each partition only knows
about the blocks it contains (and not the global blocks), I've not been able
to have all the blocks available in the entire data-set available to the
user. What I get instead is the list of blocks read in by the last data
reader. I've got a couple of ideas to resolve this issue.
(1) Have some sort of communication between each of the PV processes to
ascertain which process has which data
(2) Have the number of blocks stored on each process the same as the global
number of blocks, but just allocate data to the blocks that each
partition/process has data of.
So, my questions are:
(1) Is item (1) possible and, if so, what class(es) should I be looking at
to do it
(2) Will item (2) alone solve my issue, or will I run into problems whereby
if block 0 has 50% of its data on partition 0 and the rest on partition 1
that, after reading in, I will only ever see 50% of block 0 being whichever
of partition 0 or 1 is read in last.
Thanks again,
Adriano
===================================
Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford
Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk
**********************************************************************
This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
**********************************************************************
More information about the ParaView
mailing list