Git Product home page Git Product logo

Comments (7)

sahil1105 avatar sahil1105 commented on August 14, 2024

Hi @willyyang, thanks for trying Bodo and reporting this issue.

I wasn't able to replicate the Docker build issue:

 % docker build --file BodoNotebook.Dockerfile --tag bodo-notebook:latest .
[+] Building 454.8s (7/7) FINISHED                                                                                                          
 => [internal] load build definition from BodoNotebook.Dockerfile                                                                      0.0s
 => => transferring dockerfile: 193B                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                      0.0s
 => => transferring context: 2B                                                                                                        0.0s
 => [internal] load metadata for docker.io/jupyter/minimal-notebook:latest                                                             1.7s
 => [auth] jupyter/minimal-notebook:pull token for registry-1.docker.io                                                                0.0s
 => [1/2] FROM docker.io/jupyter/minimal-notebook:latest@sha256:cfeab9b91dfce03d9be1683f9d4728860c30757c593f9b9277da4ce7d1a4e7f3      81.4s
 => => resolve docker.io/jupyter/minimal-notebook:latest@sha256:cfeab9b91dfce03d9be1683f9d4728860c30757c593f9b9277da4ce7d1a4e7f3       0.0s
 => => sha256:cfeab9b91dfce03d9be1683f9d4728860c30757c593f9b9277da4ce7d1a4e7f3 743B / 743B                                             0.0s
 => => sha256:e659268a4bcf642996a505b2c1b64ed3fadf94f2f0727eb732ea566e8c9ef8a8 11.64kB / 11.64kB                                       0.0s
 => => sha256:ea362f368469f909a95f9a6e54ebe0121ce0a8e3c30583dd9c5fb35b14544dec 28.57MB / 28.57MB                                      11.9s
 => => sha256:41fcd07744d8934e689ba82ac81c7b2eed3f46484802efdd5c423a07885fd785 3.04kB / 3.04kB                                         0.0s
 => => sha256:1c2cc406fa63e6931b0cfb124173fdcbea06809c6c42d4cfb25b8874b1463a1e 35.26MB / 35.26MB                                      17.0s
 => => sha256:669dbb3f63668a4c5a267e3083fe974cec496c9a97e74944529b45919cdc5f1e 684B / 684B                                             0.4s
 => => sha256:3923fd8d3607224bdebba09e8de3a3819a41e9bd0eab252513da33fbf6dc9d07 1.92kB / 1.92kB                                         0.8s
 => => sha256:d5da8a60f05b52ed80577aab05f648559b50873d90a47175cbc679a0f60aa6be 4.54kB / 4.54kB                                         0.9s
 => => sha256:78722f61450a56f31e00e788c283bc8abc244f98f4871fbf4b7a76627316c2f8 162B / 162B                                             1.2s
 => => sha256:92fcb4043b45484602772354f77af6a231181f6bd530b19244d38c8f55715211 87.35MB / 87.35MB                                      33.6s
 => => extracting sha256:ea362f368469f909a95f9a6e54ebe0121ce0a8e3c30583dd9c5fb35b14544dec                                              1.1s
 => => sha256:e43cca32fa728bd1bbec630a2230571fff2ee1be338ce20fc55e8615bfab9ff4 88.56MB / 88.56MB                                      43.0s
 => => sha256:d6e059957f764282e558930ce0479d40d0862c68d5139bbe7080624bfe4f69d3 4.00kB / 4.00kB                                        17.0s
 => => extracting sha256:1c2cc406fa63e6931b0cfb124173fdcbea06809c6c42d4cfb25b8874b1463a1e                                              1.7s
 => => sha256:d4c1ac4b2556b688d1ee8bc220981c24028a4f2bb0677bfb4fb97060a4929956 991B / 991B                                            17.2s
 => => sha256:662cec5dfc0cdd6056b55d2a62f1e5a84a15a4a1489e6caaab672c1e5e4124d1 1.07kB / 1.07kB                                        17.5s
 => => sha256:2c1cefff5d33968205bf89bb11cee87f4c944712ea62ecacb0f1201cc67f8665 235.96MB / 235.96MB                                    69.0s
 => => extracting sha256:669dbb3f63668a4c5a267e3083fe974cec496c9a97e74944529b45919cdc5f1e                                              0.0s
 => => extracting sha256:3923fd8d3607224bdebba09e8de3a3819a41e9bd0eab252513da33fbf6dc9d07                                              0.0s
 => => extracting sha256:d5da8a60f05b52ed80577aab05f648559b50873d90a47175cbc679a0f60aa6be                                              0.0s
 => => extracting sha256:78722f61450a56f31e00e788c283bc8abc244f98f4871fbf4b7a76627316c2f8                                              0.0s
 => => sha256:759c927f13aa8f4534dc633ddb6e49a2de8316a91b360d0a9b4b8a28e16576e1 1.47kB / 1.47kB                                        33.9s
 => => extracting sha256:92fcb4043b45484602772354f77af6a231181f6bd530b19244d38c8f55715211                                              3.9s
 => => extracting sha256:e43cca32fa728bd1bbec630a2230571fff2ee1be338ce20fc55e8615bfab9ff4                                              5.0s
 => => extracting sha256:d6e059957f764282e558930ce0479d40d0862c68d5139bbe7080624bfe4f69d3                                              0.0s
 => => extracting sha256:d4c1ac4b2556b688d1ee8bc220981c24028a4f2bb0677bfb4fb97060a4929956                                              0.0s
 => => extracting sha256:662cec5dfc0cdd6056b55d2a62f1e5a84a15a4a1489e6caaab672c1e5e4124d1                                              0.0s
 => => extracting sha256:2c1cefff5d33968205bf89bb11cee87f4c944712ea62ecacb0f1201cc67f8665                                             11.9s
 => => extracting sha256:759c927f13aa8f4534dc633ddb6e49a2de8316a91b360d0a9b4b8a28e16576e1                                              0.0s
 => [2/2] RUN conda install -y bodo=2021.9 ipyparallel -c bodo.ai -c conda-forge                                                     364.3s
 => exporting to image                                                                                                                 7.4s 
 => => exporting layers                                                                                                                7.4s
 => => writing image sha256:e29c12b61ad24c167d27c4e2a17d4f0c9a3f513b131f20186735f0f1b4bbaa0d                                           0.0s
 => => naming to docker.io/library/bodo-notebook:latest                                                                                0.0s

From your logs, it seems like you didn't specify a Bodo Version in the conda install command in your Dockerfile.

RUN conda install -y bodo=2021.9 ipyparallel -c bodo.ai -c conda-forge

Could you try doing this? Let us know if you face any issues.

from bodo-examples.

willyyang avatar willyyang commented on August 14, 2024

hey @sahil1105 thanks for the prompt response. Yes sorry I must've pasted incorrectly but still facing same issue.

docker build -f dockerfile . -t test
[+] Building 13.6s (5/5) FINISHED
 => [internal] load build definition from dockerfile                                                                                                                                        0.0s
 => => transferring dockerfile: 659B                                                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                                           0.0s
 => => transferring context: 2B                                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/jupyter/minimal-notebook:latest                                                                                                                  1.0s
 => CACHED [1/2] FROM docker.io/jupyter/minimal-notebook:latest@sha256:cfeab9b91dfce03d9be1683f9d4728860c30757c593f9b9277da4ce7d1a4e7f3                                                     0.0s
 => ERROR [2/2] RUN conda install -y bodo=2021.9 ipyparallel -c bodo.ai -c conda-forge                                                                                                     12.6s
------
 > [2/2] RUN conda install -y bodo=2021.9 ipyparallel -c bodo.ai -c conda-forge:
#5 0.732 Collecting package metadata (current_repodata.json): ...working... done
#5 2.979 Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
#5 2.980 Collecting package metadata (repodata.json): ...working... done
#5 11.58 Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
#5 11.58
#5 11.58 PackagesNotFoundError: The following packages are not available from current channels:
#5 11.58
#5 11.58   - bodo=2021.9
#5 11.58
#5 11.58 Current channels:
#5 11.58
#5 11.58   - https://conda.anaconda.org/bodo.ai/linux-aarch64
#5 11.58   - https://conda.anaconda.org/bodo.ai/noarch
#5 11.58   - https://conda.anaconda.org/conda-forge/linux-aarch64
#5 11.58   - https://conda.anaconda.org/conda-forge/noarch
#5 11.58
#5 11.58 To search for alternate channels that may provide the conda package you're
#5 11.58 looking for, navigate to
#5 11.58
#5 11.58     https://anaconda.org
#5 11.58
#5 11.58 and use the search bar at the top of the page.
#5 11.58
#5 11.58
------
executor failed running [/bin/bash -o pipefail -c conda install -y bodo=2021.9 ipyparallel -c bodo.ai -c conda-forge]: exit code: 1

This should be an exact c&p of https://github.com/Bodo-inc/Bodo-examples/blob/master/docker/BodoNotebook.Dockerfile

from bodo-examples.

willyyang avatar willyyang commented on August 14, 2024

And any feedback regarding the bodo pip installation then used in jupyterlab ? Fetching bodo 2021.10.1 via pip then running import bodo results in the above error.. Hoping that issue can be addressed, thanks.

from bodo-examples.

sahil1105 avatar sahil1105 commented on August 14, 2024

And any feedback regarding the bodo pip installation then used in jupyterlab ? Fetching bodo 2021.10.1 via pip then running import bodo results in the above error.. Hoping that issue can be addressed, thanks.

Hi, this issue is due to the mpi4py_mpich version and should be resolved in the future versions of our pip package. Thanks for bringing it to our attention.
For now could you try it with pip install mpi4py-mpich==3.0.3 ?

from bodo-examples.

sahil1105 avatar sahil1105 commented on August 14, 2024

hey @sahil1105 thanks for the prompt response. Yes sorry I must've pasted incorrectly but still facing same issue.

docker build -f dockerfile . -t test
[+] Building 13.6s (5/5) FINISHED
 => [internal] load build definition from dockerfile                                                                                                                                        0.0s
 => => transferring dockerfile: 659B                                                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                                           0.0s
 => => transferring context: 2B                                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/jupyter/minimal-notebook:latest                                                                                                                  1.0s
 => CACHED [1/2] FROM docker.io/jupyter/minimal-notebook:latest@sha256:cfeab9b91dfce03d9be1683f9d4728860c30757c593f9b9277da4ce7d1a4e7f3                                                     0.0s
 => ERROR [2/2] RUN conda install -y bodo=2021.9 ipyparallel -c bodo.ai -c conda-forge                                                                                                     12.6s
------
 > [2/2] RUN conda install -y bodo=2021.9 ipyparallel -c bodo.ai -c conda-forge:
#5 0.732 Collecting package metadata (current_repodata.json): ...working... done
#5 2.979 Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
#5 2.980 Collecting package metadata (repodata.json): ...working... done
#5 11.58 Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
#5 11.58
#5 11.58 PackagesNotFoundError: The following packages are not available from current channels:
#5 11.58
#5 11.58   - bodo=2021.9
#5 11.58
#5 11.58 Current channels:
#5 11.58
#5 11.58   - https://conda.anaconda.org/bodo.ai/linux-aarch64
#5 11.58   - https://conda.anaconda.org/bodo.ai/noarch
#5 11.58   - https://conda.anaconda.org/conda-forge/linux-aarch64
#5 11.58   - https://conda.anaconda.org/conda-forge/noarch
#5 11.58
#5 11.58 To search for alternate channels that may provide the conda package you're
#5 11.58 looking for, navigate to
#5 11.58
#5 11.58     https://anaconda.org
#5 11.58
#5 11.58 and use the search bar at the top of the page.
#5 11.58
#5 11.58
------
executor failed running [/bin/bash -o pipefail -c conda install -y bodo=2021.9 ipyparallel -c bodo.ai -c conda-forge]: exit code: 1

This should be an exact c&p of https://github.com/Bodo-inc/Bodo-examples/blob/master/docker/BodoNotebook.Dockerfile

Hmm, this is very weird. As you can see in my previous reply, the same thing worked on my machine, and the base image seems to be exactly the same as well. What type of machine are you using? It might be related to the CPU generation.

from bodo-examples.

willyyang avatar willyyang commented on August 14, 2024

Looks like the pip install fixed things, will give it more of a thorough test thanks!

As for machine running the docker build, I've tried on both a 2019 mac running big sur and M1 running Monterey.

Quick question regarding the channel used for installation, should this package be available -c conda-forge ? I'm asking because I'm going to need to run this through my company conda channel mirrors.

from bodo-examples.

ritwika314 avatar ritwika314 commented on August 14, 2024

Hi @willyyang, thanks for the update! Would you be open to joining our community slack : https://join.slack.com/t/bodocommunity/shared_invite/zt-qwdc8fad-6rZ8a1RmkkJ6eOX1X__knA / to continue the conversation further there? Thanks!

from bodo-examples.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.