-
Notifications
You must be signed in to change notification settings - Fork 10
docker build doesn't work out of the box #131
Comments
Thanks for the note, @rht ! |
I fixed the pennylane-lightning-gpu/docker/Dockerfile Line 18 in 1e129b2
However, subsequently, I encountered lots of compile error, for example
|
I additionally had to specify |
Hi @rht Thanks for posting. We haven't been using the docker builder process for some time as we run our own custom AMIs now through Github Actions (https://github.com/PennyLaneAI/pennylane-lightning-gpu/blob/main/.github/workflows/build_wheel_manylinux2014.yml). We will need some time to investigate what changes are needed to get this process back working, but I suspect the issue is a combination of compiler versions, changing dependencies, and updated C++ language features. |
Yeah, I managed to make it work by consulting the GH Actions yml file. One difference is that My changes in the CMakelists.txt:
In the Dockerfile, I replaced With those changes, everything should work. |
Hi @rht, I'm glad you managed to make it work! Thank you for sharing your solution here. Please let us know if you encounter any further issues. |
Issue description
I did a vanilla clone of the repo, and ran
docker build . -f ./docker/Dockerfile -t "lightning-gpu-wheels"
. But failed with the following error:Source code and tracebacks
The text was updated successfully, but these errors were encountered: