Problems with calculator filter in catalyst.

Hello. I’ve exported catalyst state from paraview
script2.py (6.4 KB)

But I have a problem with it, when i use mpi and more than one
processor :

Loguru caught a signal: SIGABRT
Stack trace:
65            0x402939 CxxFullExampleV2() [0x402939]
64      0x7f1e4ee2a555 __libc_start_main + 245
63            0x40a3fc CxxFullExampleV2() [0x40a3fc]
62            0x4069fd CxxFullExampleV2() [0x4069fd]
61      0x7f1e50060d4b catalyst_execute + 74
60      0x7f1de3134b24 /home/user/lib/lib64/catalyst/libcatalyst-paraview.so(+0x8b24) [0x7f1de3134b24]
59      0x7f1de2f14e27 vtkInSituInitializationHelper::ExecutePipelines(int, double, std::vector<std::string> const&) + 485
58      0x7f1de2f1250c vtkInSituPipelinePython::Execute(int, double) + 66
57      0x7f1ddd11bb7f vtkCPPythonScriptV2Helper::CatalystExecute(int, double, std::vector<std::string> const&) + 905
56      0x7f1de2869d04 vtkSMExtractsController::Extract(vtkCollection*) + 140
55      0x7f1de2869f18 vtkSMExtractsController::Extract(vtkSMProxy*) + 420
54      0x7f1dd6ad60bb vtkSMImageExtractWriterProxy::Write(vtkSMExtractsController*) + 1517
53      0x7f1dd6ad6abe vtkSMImageExtractWriterProxy::WriteInternal(vtkSMExtractsController*, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string > > > const&) + 2308
52      0x7f1dd6ad72b3 vtkSMImageExtractWriterProxy::WriteImage(vtkSMExtractsController*, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string > > > const&) + 1685
51      0x7f1dd6afd7c8 vtkSMSaveScreenshotProxy::WriteImage(char const*, unsigned int) + 2732
50      0x7f1dd6afe388 vtkSMSaveScreenshotProxy::CapturePreppedImages() + 98
49      0x7f1dd6afb8f8 /home/user/lib/lib64/libvtkRemotingViews-pv5.10.so.1(+0x3128f8) [0x7f1dd6afb8f8]
48      0x7f1dd6afc269 /home/user/lib/lib64/libvtkRemotingViews-pv5.10.so.1(+0x313269) [0x7f1dd6afc269]
47      0x7f1dd6b43b7b vtkSMViewProxy::CaptureWindow(int, int) + 137
46      0x7f1dd6b41b5d /home/user/lib/lib64/libvtkRemotingViews-pv5.10.so.1(+0x358b5d) [0x7f1dd6b41b5d]
45      0x7f1dd6b42389 /home/user/lib/lib64/libvtkRemotingViews-pv5.10.so.1(+0x359389) [0x7f1dd6b42389]
44      0x7f1dd6b42535 /home/user/lib/lib64/libvtkRemotingViews-pv5.10.so.1(+0x359535) [0x7f1dd6b42535]
43      0x7f1dd6b43d25 vtkSMViewProxy::CaptureWindowSingle(int, int) + 247
42      0x7f1dd6b43f93 vtkSMViewProxy::CaptureWindowInternal(int, int) + 143
41      0x7f1dd6af58e5 vtkSMRenderViewProxy::RenderForImageCapture() + 133
40      0x7f1dd6b42cfc vtkSMViewProxy::StillRender() + 768
39      0x7f1de290c9cc vtkSMProxy::ExecuteStream(vtkClientServerStream const&, bool, unsigned int) + 170
38      0x7f1de27c6180 vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 96
37      0x7f1de27c9949 vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 501
36      0x7f1de27c9b5c vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 244
35      0x7f1de14b77cf vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 47
34      0x7f1de14b7951 vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 337
33      0x7f1de14b838e vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 456
32      0x7f1de14b9c2d vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 719
31      0x7f1ddb4fc48f vtkPVRenderViewCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 4358
30      0x7f1dd6a5e110 vtkPVRenderView::StillRender() + 246
29      0x7f1dd6a5e8f8 vtkPVRenderView::Render(bool, bool) + 1636
28      0x7f1dd6a6adf7 vtkPVRenderViewDataDeliveryManager::RedistributeDataForOrderedCompositing(bool) + 1541
27      0x7f1dad4fb90d vtkDIYKdTreeUtilities::GenerateCuts(std::vector<vtkDataObject*> const&, int, bool, vtkMultiProcessController*, double const*) + 581
26      0x7f1dad4fc2a6 vtkDIYKdTreeUtilities::GenerateCuts(std::vector<vtkSmartPointer<vtkPoints>, std::allocator<vtkSmartPointer<vtkPoints> > > const&, int, vtkMultiProcessController*, double const*) + 1496
25      0x7f1dad4fe5fe /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x375fe) [0x7f1dad4fe5fe]
24      0x7f1dad4ff5b2 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x385b2) [0x7f1dad4ff5b2]
23      0x7f1dad500729 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x39729) [0x7f1dad500729]
22      0x7f1dad5010e1 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3a0e1) [0x7f1dad5010e1]
21      0x7f1dad501c83 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3ac83) [0x7f1dad501c83]
20      0x7f1dad50fc8b /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x48c8b) [0x7f1dad50fc8b]
19      0x7f1dad50f67d /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x4867d) [0x7f1dad50f67d]
18      0x7f1dad5099b3 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x429b3) [0x7f1dad5099b3]
17      0x7f1dad509a45 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x42a45) [0x7f1dad509a45]
16      0x7f1dad5026fc /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3b6fc) [0x7f1dad5026fc]
15      0x7f1dad503101 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3c101) [0x7f1dad503101]
14      0x7f1dad505608 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3e608) [0x7f1dad505608]
13      0x7f1dad507a9e /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x40a9e) [0x7f1dad507a9e]
12      0x7f1dad508660 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x41660) [0x7f1dad508660]
11      0x7f1dad5019ab /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3a9ab) [0x7f1dad5019ab]
10      0x7f1dad50257f /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3b57f) [0x7f1dad50257f]
9       0x7f1dad502f04 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3bf04) [0x7f1dad502f04]
8       0x7f1dad505320 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x3e320) [0x7f1dad505320]
7       0x7f1dad5075a9 /home/user/lib/lib64/libvtkFiltersParallelDIY2-pv5.10.so.1(+0x405a9) [0x7f1dad5075a9]
6       0x7f1e4f9b3b45 /home/user/lib/lib64/libstdc++.so.6(+0xa7b45) [0x7f1e4f9b3b45]
5       0x7f1e4f9b38c1 /home/user/lib/lib64/libstdc++.so.6(+0xa78c1) [0x7f1e4f9b38c1]
4       0x7f1e4f9b3856 /home/user/lib/lib64/libstdc++.so.6(+0xa7856) [0x7f1e4f9b3856]
3       0x7f1e4f9a84ee /home/user/lib/lib64/libstdc++.so.6(+0x9c4ee) [0x7f1e4f9a84ee]
2       0x7f1e4ee3fa78 abort + 328
1       0x7f1e4ee3e387 gsignal + 55
0       0x7f1e4f1e5630 /lib64/libpthread.so.0(+0xf630) [0x7f1e4f1e5630]
( 121.871s) [pvbatch.14      ]                       :0     FATL| Signal: SIGABRT

How can I avoid this? Thanks

Looks like its failing to distirbute the 2D data across all ranks. While I’ll need the data to figure out what that’s happening, one way to avoid this would be not use translucent geometry or set calculator1Display.UseDataPartitions = 1 before rendering,or leave the data 3D and just render using parallel projection with camera along z-axes – the rendering result should be similar, I’d guess.

calculator1Display.UseDataPartitions = 1 didn’t work, but leaving data in 3d gives the same result, thanks