[vtk-developers] Paralle versus non-Parallel readers

Andy Bauer andy.bauer at kitware.com
Mon Dec 23 21:28:25 EST 2013


There were similar reasons for the vtkPNetCDFPOPReader and
vtkPWindBladeReader. The parallel versions were using MPI IO which isn't
made available in the vtkMPI* classes so they were forced to use direct MPI
calls.


On Mon, Dec 23, 2013 at 11:12 AM, Robert Maynard <robert.maynard at kitware.com
> wrote:

> Hi Bill,
>
> I can only talk about the LSDyna reader, but it is split into two
> different readers for two reasons.
>
> 1. We wanted to separate the LSDyna reader from an explicit dependency on
> MPI or the parallel section of vtk from be enabled, so to do
>     so we split the reader into a serial version, and a lightweight
> parallel version.
>
> 2. The parallel version of the reader has the secondary function of making
> sure that reading is well balanced across all nodes for each cell type.
>     This isn't required in a serial version so it makes sense that only
> the parallel reader would have this extra logic.
>
>
> On Sun, Dec 22, 2013 at 12:34 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
>
>> Folks,
>>
>> These readers have parallel and non parallel version. Looks like most
>> of tyhe parallel versions are subclasses of the non-parallel versions.
>>
>> What was the logi in added new parallel classes rather that improving
>> the non-parallel versions?
>>
>> Bill
>>
>> ./IO/MPIParallel/vtkPWindBladeReader.h ./IO/Geometry/vtkWindBladeReader.h
>> ./IO/ParallelNetCDF/vtkPNetCDFPOPReader.h ./IO/NetCDF/vtkNetCDFPOPReader.h
>> ./IO/ParallelLSDyna/vtkPLSDynaReader.h ./IO/LSDyna/vtkLSDynaReader.h
>> ./IO/Parallel/vtkPChacoReader.h ./IO/Geometry/vtkChacoReader.h
>> ./IO/Parallel/vtkPImageWriter.h ./IO/Image/vtkImageWriter.h
>> ./IO/Parallel/vtkPDataSetReader.h ./IO/Legacy/vtkDataSetReader.h
>> ./IO/Parallel/vtkPDataSetWriter.h ./IO/Legacy/vtkDataSetWriter.h
>> ./IO/Parallel/vtkPSLACReader.h ./IO/NetCDF/vtkSLACReader.h
>> ./IO/Parallel/vtkPOpenFOAMReader.h ./IO/Geometry/vtkOpenFOAMReader.h
>> ./IO/Parallel/vtkPChacoReader.cxx ./IO/Geometry/vtkChacoReader.cxx
>> ./IO/ParallelExodus/vtkPExodusIIReader.h ./IO/Exodus/vtkExodusIIReader.h
>> ./IO/ParallelExodus/vtkPExodusIIWriter.h ./IO/Exodus/vtkExodusIIWriter.h
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20131223/4f610a58/attachment.html>


More information about the vtk-developers mailing list