-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue on page /chapter1/fundamentals_code.html #125
Comments
How are you running the code in the WSL, as a ipynb or as a Python file? Secondly, how did you install dolfinx and the relevant dependencies? As you point out in your second question, it does not seem like you have adios2 installed on your system prior to installing dolfinx. |
I'm running the code in the WSL as a Python file.
I installed dolfinx using the PPA method and did not install adios2 beforehand. |
you could try adding
To use adios2 with apt-Get it has to be Pre-installed (I think), as adios2 is not in the ubuntu package manager. |
OK. Actually, I have found that I am able to view the results without having to call pyvista.start_xvfb().
Yes. I looked up how to install adios2 on ubuntu, and it seems that it requires installation from source. Unfortunately, I don't feel comfortable doing that at the moment. |
These days, I attempted to build ADIOS2 from source but unfortunately failed due to my lack of familiarity with the process. However, upon further exploration, I discovered that both FEniCSx and ADIOS2 are available on conda. As such, I am considering installing these two packages using anaconda instead. |
My operating system is Ubuntu 22.04 in WSL for Windows 11.
When I run the code, there are two points that need attention.
First,
pyvista.start_xvfb()
should be deleted. I tried to install the recommended packages but failed to run the code. I suspect this is because WSL for Windows 11 already supports GUI in a different way.Second,
dolfinx.io.VTXWriter
is not defined. I found the code namedutils.py
, whereVTXWriter
is defined under the boolif _cpp.common.has_adios2
. I think it means that I don't have adios2 in my WSL.The text was updated successfully, but these errors were encountered: