You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simply importing the visualization library will load vtk, which is not the case for pyvista. I have a workaround in pymapdl here: ansys/pymapdl#3887
This is problematic because in situations when pyvista is installed but is never used, the import of ansys.tools.visualization loads dozens of libraries into the process. I have a bug that when libvtkIOEnSight.so is loaded into the mapdl process on a linux machine that uses an AMD CPU, MAPDL crashes. I don't know why it crashes yet, but this is why I worked around the issue.
Ideally, a side effect of loading the visualization interface library, especially when other backends are supported, would not force-load all vtk libraries into the process.