Comments (32)
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.
(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.
Can you copy the output of docker creation command docker build -t cingulata:tfhe -f Dockerfile.tfhe --build-arg uid=1000 .
?
from cingulata.
from cingulata.
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.
from cingulata.
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.
from cingulata.
from cingulata.
You're welcome.
Can you close the opened issues?
from cingulata.
from cingulata.
from cingulata.
My email is in my profile if this is what you want.
from cingulata.
from cingulata.
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.
from cingulata.
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.
from cingulata.
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.
from cingulata.
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.
from cingulata.
from cingulata.
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.
from cingulata.
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.
from cingulata.
Try to remove build_tfhe
directory and do docker run -it --rm -v $(pwd):/cingu -v /home/user/tfhe:/tfhe cingulata:tfhe
from cingulata.
from cingulata.
And this one docker run -it --rm -v $(pwd):/cingu -v /home/user/tfhe:/home/user/tfhe
from cingulata.
from cingulata.
Closing old issue
from cingulata.
Related Issues (20)
- how to perform division operation like multiplication HOT 2
- subtraction not giving correct result HOT 3
- select oprator issue(working correctly for positive numbers) negative numbers giving wrong result HOT 5
- in the beow program array encrypting up to a[4][0] after giving incorrect at decryption side
- corrupted size .vs. prev size error HOT 1
- ERROR TfheBitExec::read: Cannot open file '' run.sh: line 35: 8 Aborted (core dumped) ./tfhe-vector2d-encrypt 5 3 HOT 2
- error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<std::vector<cingulata::CiInt> > >::value_type {aka std::vector<cingulata::CiInt>}' to 'std::vector<cingulata::CiInt>*' for argument '1' to 'cingulata::CiInt prediction(std::vector<cingulata::CiInt>*, std::vector<cingulata::CiInt>*, cingulata::CiInt, cingulata::CiInt, cingulata::CiInt)' y_hat[i]=prediction(X[i],W,b,p,n); HOT 1
- error: could not convert 'a1.std::vector<cingulata::CiInt>::operator[](((std::vector<cingulata::CiInt>::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<cingulata::CiInt> >::value_type {aka cingulata::CiInt}' to 'std::vector<cingulata::CiInt>' c1[i]=add(a1[i],b1[i]); HOT 1
- terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc run.sh: line 38: 9 Aborted HOT 2
- cingulata::CiBitVector cingulata::int_ops::BinaryOper::operator()(const cingulata::CiBitVector&, const cingulata::CiBitVector&) const: Assertion `lhs.size() > 0' failed. HOT 1
- In docker mode Cingulata Bfv does not compile any more HOT 5
- Error response from deamon: unexpected error reading Dockerfile
- error: no match for 'operator>>' (operand types are 'cingulata::CiInt' and 'cingulata::CiInt') alpha[j] =temp3 >> eta;
- error: no match for 'operator=' (operand types are 'LweSample' and 'cingulata::CiBit') ciphertext2[i]=t; HOT 1
- external file data not importing properly, working fine normal c++ file
- "Select a parameter set in CinguParam" ? HOT 4
- terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check: __n (which is 17) >= this->size() (which is 8) HOT 1
- how to read negative values in 2d array after encryption i am trying to decrypt same variable not giving exact values
- multiplicaton of negative and positive, negative and negative not working
- Reading data from text file after assigning to CiInt variables in 2d matrix, variables at decryption side showing zero(data contain both positive and negative numbers))
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cingulata.