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

Merge PyChaste installation steps into Chaste docker images #21

Open
4 tasks
bdevans opened this issue Sep 17, 2024 · 5 comments
Open
4 tasks

Merge PyChaste installation steps into Chaste docker images #21

bdevans opened this issue Sep 17, 2024 · 5 comments
Assignees

Comments

@bdevans
Copy link
Member

bdevans commented Sep 17, 2024

@bdevans
Copy link
Member Author

bdevans commented Sep 17, 2024

@kwabenantim Please could you have a look at #22 to see why it's giving the following error?
make: *** No rule to make target 'pychaste'. Stop.

@kwabenantim
Copy link
Member

@bdevans It looks like it might be trying to build from the old PyChaste project repo. Sorry, I should have mentioned that it's currently on the 273-pychaste-merge branch on the main Chaste repo now. Should probably archive the old project once it's merged in.

@bdevans
Copy link
Member Author

bdevans commented Sep 17, 2024

Thanks @kwabenantim. Building from th 273-pychaste-merge branch gets further but I have now run into this:

586.1 [100%] Built target pychaste
586.5 Processing ./build/pychaste/package
586.5   Installing build dependencies: started
587.4   Installing build dependencies: finished with status 'done'
587.4   Getting requirements to build wheel: started
587.5   Getting requirements to build wheel: finished with status 'done'
587.5   Preparing metadata (pyproject.toml): started
587.6   Preparing metadata (pyproject.toml): finished with status 'done'
587.6 Requirement already satisfied: matplotlib in /usr/lib/python3/dist-packages (from chaste==2024.1) (3.5.1)
587.6 Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from chaste==2024.1) (1.21.5)
587.6 Requirement already satisfied: petsc4py in /usr/lib/petscdir/petsc3.15/aarch64-linux-gnu-real/lib/python3/dist-packages (from chaste==2024.1) (3.15.1)
587.7 INFO: pip is looking at multiple versions of chaste to determine which version is compatible with other requirements. This could take a while.
587.7 ERROR: Could not find a version that satisfies the requirement vtk (from chaste) (from versions: none)
587.8 ERROR: No matching distribution found for vtk

@bdevans
Copy link
Member Author

bdevans commented Sep 17, 2024

To reproduce, clone chaste-docker (git clone [email protected]:Chaste/chaste-docker.git) and run:

MULTI_ARCH_BUILD=false GIT_TAG="273-pychaste-merge" make develop

@kwabenantim
Copy link
Member

kwabenantim commented Sep 19, 2024

I got it to install in an ubuntu:jammy container with

pip install --user --no-deps pychaste/package

This should be fine as the dependencies are already manually from apt (mostly)

apt install python3-petsc4py python3-vtk7 python3-xvfbwrapper python3-numpy python3-matplotlib
pip install --user jupyterlab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants