Giter Site home page Giter Site logo

Comments (32)

ssmiler avatar ssmiler commented on September 18, 2024

At step 5 the dockerfile tries to add an user with id 0 (root) which already exists in the container. This case was not foreseen. Try to use command docker build -t cingulata:tfhe -f Dockerfile.tfhe --build-arg uid=1000 . instead.

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

(base) root@user-HP-Z240-Tower-Workstation:/home/user/Cingulata# docker run -it --rm -v $(pwd):/cingu cingulata:tfhe
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find TFHE (missing: TFHE_INCLUDE_DIR TFHE_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/FindTFHE.cmake:18 (find_package_handle_standard_args)
CMakeLists.txt:28 (find_package)

-- Configuring incomplete, errors occurred!
See also "/cingu/build_tfhe/CMakeFiles/CMakeOutput.log".

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

Can you copy the output of docker creation command docker build -t cingulata:tfhe -f Dockerfile.tfhe --build-arg uid=1000 . ?

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

I don't see the TFHE compilation step.

I see that you wanted to use your own install of tfhe. You cannot specify a host-machine path inside the dockerfile. Use the original version of Dockerfile.tfhe. It should work fine

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

You should specify TFHE installation directory during docker container execution
docker run -it --rm -v $(pwd):/cingu -v /home/user/tfhe:/home/user/tfhe cingulata:tfhe
Although I'm not sure this will work.

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

You're welcome.
Can you close the opened issues?

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

My email is in my profile if this is what you want.

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

The host TFHE installation path must be given only during docker image build. When you want to execute an example inside the docker the TFHE installation path should not be specified. So use this command instead:

docker run -it --rm -v $(pwd):/cingu cingulata:tfhe bash -c "cd build_tfhe/tests/tfhe/hello && bash run.sh"

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

I cannot find the TFHE library. Are you sure you have not deleted TFHE folder?
I strongly advise you to compile Cingulata using instructions from here https://github.com/CEA-LIST/Cingulata/wiki/Installation#cingulata-with-tfhe-library-backend

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

Have you tried other methods to set the proxy server? https://docs.docker.com/network/proxy/

May be you should specify the https proxy also.

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

I have no more ideas on how you can solve the proxy issue.

By the way, why don't you use TFHE as an external project as you did before?
The hello world example with TFHE was working well #20 (comment)

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

Try to change tfhe path inside docker:
docker run -it --rm -v $(pwd):/cingu -v /home/user/tfhe:/tfhe cingulata:tfhe bash -c "cd build_tfhe/tests/tfhe/hello && bash run.sh"

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

I meant the path inside docker container where tfhe is mounted. In your command instead of -v /home/user/tfhe:/home/user/tfhe use -v /home/user/tfhe:/tfhe

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

Try to remove build_tfhe directory and do docker run -it --rm -v $(pwd):/cingu -v /home/user/tfhe:/tfhe cingulata:tfhe

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

And this one docker run -it --rm -v $(pwd):/cingu -v /home/user/tfhe:/home/user/tfhe

from cingulata.

bpradeep508 avatar bpradeep508 commented on September 18, 2024

from cingulata.

ssmiler avatar ssmiler commented on September 18, 2024

Closing old issue

from cingulata.

Related Issues (20)

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.