FEniCS / dolfinx

Next generation FEniCS problem solving environment
https://fenicsproject.org
GNU Lesser General Public License v3.0
731 stars 177 forks source link

[BUG]: Pyvista nd Fenicsx issue #2941

Closed chams333 closed 8 months ago

chams333 commented 8 months ago

Summarize the issue

Pyvista crashes the kernel when running basic tutorial examples https://jsdokken.com/dolfinx-tutorial/chapter1/fundamentals_code.html. After several investigating the behaviour of pyvista with Fenicsx, I found that when I add the following code at the beginning, the kernel does not crash and the tutorial code runs correctly. import pyvista from pyvista import demos pyvista.start_xvfb() demos.plot_wave()

How to reproduce the bug

I install fenicsx using the steps described below, then I run the tutorial from https://jsdokken.com/dolfinx-tutorial/chapter1/fundamentals_code.html

Minimal Example (Python)

No response

Output (Python)

No response

Version

0.7.2

DOLFINx git commit

No response

Installation

install WSL install Ubuntu run the ubuntu app

cd /mnt/d/Python/Fenicsx conda create -n fenicsx-env conda activate fenicsx-env conda config --append channels conda-forge conda install -c conda-forge fenics-dolfinx mpich

Additional information

No response

francesco-ballarin commented 8 months ago

This is an installation support query, and https://github.com/FEniCS/dolfinx/issues/new/choose clearly states to use discourse for that. Closing.