Skip to content

Install FEniCSx adapter in venv for running tutorials#33

Merged
BenjaminRodenberg merged 5 commits intodevelopfrom
fix-run-tutorials
Mar 18, 2025
Merged

Install FEniCSx adapter in venv for running tutorials#33
BenjaminRodenberg merged 5 commits intodevelopfrom
fix-run-tutorials

Conversation

@BenjaminRodenberg
Copy link
Contributor

Main changes of this PR

Uses venv to install FEniCSx adapter

Motivation and additional information

Follows the recommended approach for installing packages in python.

@BenjaminRodenberg BenjaminRodenberg self-assigned this Mar 12, 2025
@BenjaminRodenberg BenjaminRodenberg added the bug Something isn't working label Mar 12, 2025
@NiklasVin
Copy link
Collaborator

You could try to set mpi4py<4 in setup.py? Maybe it's the same issue as here: https://fenicsproject.discourse.group/t/no-attribute-qualname-due-to-mpi4py-4-0-0/15375?

@BenjaminRodenberg
Copy link
Contributor Author

You could try to set mpi4py<4 in setup.py? Maybe it's the same issue as here: https://fenicsproject.discourse.group/t/no-attribute-qualname-due-to-mpi4py-4-0-0/15375?

Thanks for the hint! I will try this out. I'm a bit surprised that this did not explode in earlier runs (e.g. 5d8b553). But for some reason we installed mpi4py 3.x in 5d8b553 and now we install mpi4py 4.x.

* Due to failing run in #33 
* Change consistent with precice/fenics-adapter#181
@BenjaminRodenberg BenjaminRodenberg mentioned this pull request Mar 12, 2025
4 tasks
@BenjaminRodenberg BenjaminRodenberg added this to the v0.1.0 milestone Mar 12, 2025
@BenjaminRodenberg BenjaminRodenberg merged commit 54233d1 into develop Mar 18, 2025
9 checks passed
@BenjaminRodenberg BenjaminRodenberg deleted the fix-run-tutorials branch March 18, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants