#1026 parallel vtkwriter produces illegal filenames on windows
Metadata
Property | Value |
---|---|
Reported by | Jö Fahlke (jorrit@jorrit.de) |
Reported at | Jan 20, 2012 14:18 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Jö Fahlke (jorrit@jorrit.de) |
Last edited at | Feb 15, 2012 20:25 |
Closed by | Jö Fahlke (jorrit@jorrit.de) |
Closed at | Feb 15, 2012 20:25 |
Closed in version | Unknown |
Resolution | Fixed |
Comment |
Description
Hi!
The .vtu filenames produced by the VTKWriter in parallel mode contain the character ":", which is (in general) illegal on windows. This means that e.g. paraview on windows cannot open our .pvtu files, see http://lists.dune-project.org/pipermail/dune/2012-January/009986.html.
I suppose a good replacement character would be either "-" or "_", but I'm of course open for other suggestions, as long as the resulting characters are supported everywhere.
Does anybody see a problem in simply changing this character? This may break some scripts that people use for post-processing their data.
Maybe it is a better idea to make this character a constructor-parameter of the VTKWriter. Or give an option "portable_filenames" to the VTKWriter, that we'll eventually default to "true". Any thoughts?