Running both Paraview and Python scripts
When both Paraview and Python are enabled in Damaris, if a user wants to run both a Paraview (catalyst) python script and a Python script (via XML configuration) then there can be issues due to the presence of multiple mpi4py libraries installed.
Damaris requires mpi4py to be compiled and have its header files available when Damaris is built as the damaris4py library uses the mpi4py library to pass through MPI communicators.
Paraview seems to install and use its own version of mpi4py, without the header files.
Current workarounds:
- Do not use mpi4py in the Paraview script.
- Do not use damaris4py library in the Python script code (limits use of data made available via Damaris)
- Do not run both Paraview python scripts and vanilla Python scripts in the same simulation.
Edited by BOWDEN Joshua Charles