Single-rank Exodus files loaded with IOSS reader that follow <name>.<num ranks>.<rank id> are not loaded.
Description
Single-rank files that follow the format <name>.<num ranks>.<rank id>
are not read by ParaView. If you remove the portion .<num ranks>.<rank id>
from the file name, the data loads just fine.
Original discussion: https://discourse.paraview.org/t/unable-to-visualize-exodus-file-from-sculpt/15121
Steps to reproduce
- Download the file sculpt_overlay.e.1.0.
- Launch ParaView 5.13.0-RC1, built in server
- File -> Open.... Select
sculpt_overlay.e.1.0
. - You will get the error message:
ERROR: In vtkIOSSReaderInternal.cxx, line 310
vtkIOSSReader (0x7f88e7f79140): Error in UpdateTimeInformation:
Failed to open database /Users/cory.local/Desktop/sculpt_overlay.e
ERROR: In vtkExecutive.cxx, line 730
vtkPVCompositeDataPipeline (0x600001fd0800): Algorithm vtkIOSSReader (0x7f88e7f79140) returned failure for request: vtkInformation (0x60000c620480)
Debug: Off
Modified Time: 372791
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
Note that it is trying to open sculpt_overlay.e
instead of sculpt_overlay.e.1.0
.
The issue seems to come from this line in the IOSS library:
The conditional checks that num processes is greater than 1, and if not, it does not add the .1.0
back to the file name.
Configuration
- Operating system and version: macOS Sonoma 14.5 on Intel chip
- ParaView executable and version: ParaView 5.13.0-RC1, GUI
- ParaView configuration: Built-in server