Actually, looking at it further, I found that it does not do any
extraction. If it did, it would repartition each block among
processors. I don't have a lot of time to experiment with this now but
I think I know how to fix it. If you look at
vtkGenericEnSightReader.cxx in VTK/IO and add

  vtkInformation* info = outputVector->GetInformationObject(0);
  info->Set(
    vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), 1);

to the end of the RequestInformation() method, it should start
partitioning datasets. We still have to change the code so that the
same file is not read multiple times, which is a serious performance
issue.

-berk

On Tue, Dec 9, 2008 at 7:18 AM, Jacques Papper <[EMAIL PROTECTED]> wrote:
> Hi Berk,
>
> Thanks for your answer, I will file a bug. When you say that each one
> extracts a piece do you mean that it partitions the data, or that each
> one reads a different predefined block ? In my case I would need it to
> repartition the data.
>
> Jacques
>> I tracked this down and you are right. When reading EnSight files (not
>> sos), all processes read the whole dataset and then each one extracts
>> a piece. If you submit a request at http://paraview.org/Bug, we can
>> address this issue in the future.
>>
>> -berk
>>
>> On Fri, Dec 5, 2008 at 3:48 AM, Jacques Papper <[EMAIL PROTECTED]> wrote:
>>
>>> The grid is unstructured. It comes up as a multiblock dataset in ParaView,
>>> but there is only one fluid volume. The other blocks are just surfaces.
>>> Jacques
>>>
>>> 2008/12/4 Berk Geveci <[EMAIL PROTECTED]>
>>>
>>>> The answer depends on the data type. Is it structured or unstructured?
>>>>
>>>> On Dec 4, 2008, at 11:49 AM, "Jacques Papper" <[EMAIL PROTECTED]>
>>>> wrote:
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I compiled Paraview for use in parallel.
>>>>> I have an Ensight data set that has been output from fluent. I also have
>>>>> the fluent .cas and .dat files (saved from a cluster run)
>>>>> I would like to load the data using the best of paraview in parallel.
>>>>> If I launch pvserver on 4 nodes and load the ensight data it seems that
>>>>> it loads the data 4 times.
>>>>>
>>>>> What would be the best / efficient way of using the parallel
>>>>> functionality ? Is there a way of partitioning the ensight file ? Or 
>>>>> setting
>>>>> up the reader so that it partitions the data at the reading stage ? Or 
>>>>> maybe
>>>>> is there a Fluent reader that will load in the partitions from the .cas 
>>>>> file
>>>>> ?
>>>>>
>>>>> Jacques
>>>>> _______________________________________________
>>>>> ParaView mailing list
>>>>> [email protected]
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>
>>>
>> _______________________________________________
>> ParaView mailing list
>> [email protected]
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>
>
> ---------------------------
> 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
>
>
>
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to