[vtk-developers] Paralle versus non-Parallel readers

David Thompson david.thompson at kitware.com
Sun Dec 22 12:43:23 EST 2013


Hi Bill,

I cannot speak for all the readers. For the Exodus reader, parallelism is achieved with a separate file (or even multiple files) per process. It made sense to have a serial version that reads a single file and split the logic for communicating metadata, appending multiple files, and other distributed-memory tasks into a separate class which uses an instance of the serial reader to load files for the local process. The Exodus reader is quite large already, so it was nice to have some separation.

   David

On Dec 22, 2013, at 12:34, 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
> 



More information about the vtk-developers mailing list