Thank you Nicolas! This is really great! I’m trying to test the example. However, I get an error.
I have already followed your instruction as follows:
1 - Build and Install Catalyst (https://catalyst-in-situ.readthedocs.io)
1.1 - Using CMake
-
mkdir <test_catalyst>
-
cd <test_catalyst>
-
mkdir libcatalyst
-
mkdir catalyst-build
-
git clone https://gitlab.kitware.com/paraview/catalyst.git
-
cd catalyst-build
-
ccmake -G Ninja -DCMAKE_INSTALL_PREFIX=<test_catalyst>/libcatalyst <test_catalyst>/catalyst
-
ninja
-
ninja install
1.2 - Using Make
- ?
2 - Download Paraview (https://www.paraview.org/download)
-
download paraview nightly from https://www.paraview.org/download.
-
mv <ParaView>.tar.gz <test_catalyst>
-
cd <test_catalyst>
-
mkdir paraview_latest
-
tar -xvf <ParaView>.tar.gz --directory <test_catalyst>/paraview_latest --strip-components 1
3 - Clone ParaView Repo (https://gitlab.kitware.com/paraview/paraview)
-
cd <test_catalyst>
-
git clone https://gitlab.kitware.com/paraview/paraview.git
4 - Build Catalyst Example (CxxFullExample)
4.1 - Using CMake
-
cd <test_catalyst>/paraview/Examples/Catalyst2/CxxFullExample
-
cmake -Dcatalyst_DIR=<test_catalyst>/libcatalyst/lib/cmake/catalyst-2.0 <test_catalyst>/paraview/Examples/Catalyst2/CxxFullExample
-
make
4.2 - Using Make
- ?
5 - Run Example (CxxFullExample)
-
export CATALYST_IMPLEMENTATION_PATHS="<test_catalyst>/paraview_latest/lib/catalyst"
-
export CATALYST_IMPLEMENTATION_NAME=paraview
-
cd <test_catalyst>/paraview/Examples/Catalyst2/CxxFullExample/
-
./bin/CxxFullExampleV2 catalyst_pipeline.py
I get this error:
Invalid MIT-MAGIC-COOKIE-1 key Loguru caught a signal: SIGSEGV Stack trace: 10 0x40adce ./bin/CxxFullExampleV2() [0x40adce] 9 0x7f15e083b0b3 __libc_start_main + 243 8 0x414e1a ./bin/CxxFullExampleV2() [0x414e1a] 7 0x412ffd ./bin/CxxFullExampleV2() [0x412ffd] 6 0x7f15e10fb82d catalyst_initialize + 177 5 0x7f15dc4c15fa <test_catalyst>/paraview_latest/lib/catalyst/libcatalyst-paraview.so(+0xa5fa) [0x7f15dc4c15fa] 4 0x7f15dc1a6b19 vtkInSituInitializationHelper::Initialize(unsigned long long) + 601 3 0x7f15d567afb9 vtkMPICommunicator::InitializeExternal(vtkMPICommunicatorOpaqueComm*) + 121 2 0x7f15d567ad18 vtkMPICommunicator::InitializeNumberOfProcesses() + 40 1 0x7f15e0e1832b MPI_Comm_size + 59 0 0x7f15e0a1b420 /lib/x86_64-linux-gnu/libpthread.so.0(+0x15420) [0x7f15e0a1b420] ( 0.003s) [main thread ] :0 FATL| Signal: SIGSEGV Segmentation fault (core dumped)
Best
Ali