Vivek
September 18, 2024, 2:36pm
1
hello everyone, I’m encountering an issue with installing FEniCSx 0.8 on my system and would appreciate any assistance. I’m trying to install FEniCS using step given at the site:https://fenicsproject.org/download/ , but I’m running into the following issue:
1. conda install -c conda-forge fenics-dolfinx mpich pyvista
Channels:
conda-forge
defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
dokken
September 18, 2024, 2:57pm
2
So as far as I can tell from the output above, you are on a windows system?
Is that correct?
If so, you either need to:
Use WSL and conda within WSL
Use the experimental dolfinx windows package (without petsc): GitHub - FEniCS/dolfinx: Next generation FEniCS problem solving environment
Windows conda packages are currently in beta testing and can be installed > using:
conda create -n fenicsx-env
conda activate fenicsx-env
conda install -c minrk/label/fenics-windows -c conda-forge fenics-> dolfinx=0.9.0.dev
Vivek
September 18, 2024, 3:24pm
4
there is issue with compatibility when I run the demo of solved example of Fenics project , So how I resolve that
dokken
September 18, 2024, 5:33pm
5
What example? Please post a link to the code you are running.
1 Like
dokken
September 19, 2024, 7:12am
7
As stated in other similar posts, you are looking at code for legacy fenics, not DOLFINx.
Ref: Issue Related to ufl - #6 by dokken