Skip to content

Fix VTKWriter::write for parallel use.

Robert K requested to merge bugfix/vtkwriter-write into master

When VTKWriter::write is used with filenames that contain a path, then everything works fine in serial. For parallel runs the write is simply forwarded to pwrite which behaves differently. The number of processes and rank is added to the filename which fails if the filename contains a path. This patch fixes this.

Merge request reports

Loading