Skip to content
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

[BUG]: Windows Installation issues #3518

Open
KQEFEM opened this issue Nov 19, 2024 · 4 comments
Open

[BUG]: Windows Installation issues #3518

KQEFEM opened this issue Nov 19, 2024 · 4 comments
Labels
bug Something isn't working windows

Comments

@KQEFEM
Copy link

KQEFEM commented Nov 19, 2024

Summarize the issue

Hi All,
I am trying to install FEniCS through VS Code on my Windows 11 machine using the command on git:

I find that it gets stuck here for an hour - so far.

Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): -

If you have any tips for installing FEniCS, that would be great - I am interested in using it and potentially aiding in development.

How to reproduce the bug

conda install -c conda-forge fenics-dolfinx pyvista pyamg # Windows

Minimal Example (Python)

No response

Output (Python)

No response

Version

main branch

DOLFINx git commit

No response

Installation

VS Code and conda (hoping to avoid WSL and Docker)

Additional information

No response

@KQEFEM KQEFEM added the bug Something isn't working label Nov 19, 2024
@jorgensd
Copy link
Member

Download mamba, using conda from anaconda can result in extremely long resolution time: https://conda-forge.org/download/

@KQEFEM
Copy link
Author

KQEFEM commented Nov 19, 2024

Ok, this worked but I still have issues running your test. The code seems to fail on demo_pyamg with no error here:

mesh = create_box( comm=MPI.COMM_WORLD, points=[(0.0, 0.0, 0.0), (3.0, 2.0, 1.0)], n=[30, 20, 10], cell_type=CellType.tetrahedron, dtype=real_type, )

I have placed print statements either side and it doesn't pass this command. Do you have any tips/solutions?

@jorgensd
Copy link
Member

That seems rather strange.

Could you first try with

from mpi4py import MPI
import dolfinx
mesh = dolfinx.mesh.create_unit_interval(MPI.COMM_WORLD, 2)

and

from mpi4py import MPI
import dolfinx
mesh = dolfinx.mesh.create_unit_interval(MPI.COMM_SELF, 2)

separately.

@KQEFEM
Copy link
Author

KQEFEM commented Nov 21, 2024

This still doesn't appear to work. I just runs and has no output or errors (I added print statements afterwards which are never hit)
image
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

3 participants