nucypher / nufhe

NuCypher fully homomorphic encryption (NuFHE) library implemented in Python
https://nufhe.readthedocs.io/en/latest/
GNU General Public License v3.0
441 stars 53 forks source link

fatal error: include/cufhe_cpu.h: No such file or directory #22

Closed bpradeep508 closed 4 years ago

bpradeep508 commented 4 years ago

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/test$ cc test_api_cpu.cc test_api_cpu.cc:24:10: fatal error: include/cufhe_cpu.h: No such file or directory

include <include/cufhe_cpu.h>

      ^~~~~~~~~~~~~~~~~~~~~

compilation terminated.

fjarri commented 4 years ago

Seems like that should be an issue for this project?

bpradeep508 commented 4 years ago

Kindly elaborate in detail

fjarri commented 4 years ago

This is a Python project, it doesn't contain any C/C++ files. So, whatever you are trying to compile is not a part of it. Based on the folder name I assumed that these files are a part of cuFHE, which I linked above.

bpradeep508 commented 4 years ago

same error while running of cuda

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/test$ nvcc test_api_gpu.cutest_api_gpu.cu:24:10: fatal error: include/cufhe_gpu.cuh: No such file or directory

include <include/cufhe_gpu.cuh>

      ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated

On Fri, Mar 6, 2020 at 11:39 AM Bogdan Opanchuk notifications@github.com wrote:

This is a Python project, it doesn't contain any C/C++ files. So, whatever you are trying to compile is not a part of it. Based on the folder name I assumed that these files are a part of cuFHE, which I linked above.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nucypher/nufhe/issues/22?email_source=notifications&email_token=ALBYDJD62JAC3EOXFYQZZHDRGCHP3A5CNFSM4LCZDI4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAGEWY#issuecomment-595616347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBYDJHK2O7WBQNRPEG2WKLRGCHP3ANCNFSM4LCZDI4A .

bpradeep508 commented 4 years ago

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/python$ python test_circuits_gpu.py File "test_circuits_gpu.py", line 41 print "Encrypted message : ", msg ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Encrypted message : ", msg)?

On Fri, Mar 6, 2020 at 11:42 AM pradeep kumar reddy < pradeepkumarreddy.bukka@gmail.com> wrote:

same error while running of cuda

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/test$ nvcc test_api_gpu.cutest_api_gpu.cu:24:10: fatal error: include/cufhe_gpu.cuh: No such file or directory

include <include/cufhe_gpu.cuh>

      ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated

On Fri, Mar 6, 2020 at 11:39 AM Bogdan Opanchuk notifications@github.com wrote:

This is a Python project, it doesn't contain any C/C++ files. So, whatever you are trying to compile is not a part of it. Based on the folder name I assumed that these files are a part of cuFHE, which I linked above.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nucypher/nufhe/issues/22?email_source=notifications&email_token=ALBYDJD62JAC3EOXFYQZZHDRGCHP3A5CNFSM4LCZDI4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAGEWY#issuecomment-595616347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBYDJHK2O7WBQNRPEG2WKLRGCHP3ANCNFSM4LCZDI4A .

fjarri commented 4 years ago

Once again, what you are trying to compile/run is a part of cuFHE. This project is nuFHE. Two different projects. Please open an issue for cuFHE

bpradeep508 commented 4 years ago

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/python$ python test_gpu.py Traceback (most recent call last): File "test_gpu.py", line 30, in import lib.fhepy_gpu as fhe ModuleNotFoundError: No module named 'lib.fhepy_gpu'

On Fri, Mar 6, 2020 at 11:45 AM pradeep kumar reddy < pradeepkumarreddy.bukka@gmail.com> wrote:

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/python$ python test_circuits_gpu.py File "test_circuits_gpu.py", line 41 print "Encrypted message : ", msg ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Encrypted message : ", msg)?

On Fri, Mar 6, 2020 at 11:42 AM pradeep kumar reddy < pradeepkumarreddy.bukka@gmail.com> wrote:

same error while running of cuda

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/test$ nvcc test_api_gpu.cutest_api_gpu.cu:24:10: fatal error: include/cufhe_gpu.cuh: No such file or directory

include <include/cufhe_gpu.cuh>

      ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated

On Fri, Mar 6, 2020 at 11:39 AM Bogdan Opanchuk notifications@github.com wrote:

This is a Python project, it doesn't contain any C/C++ files. So, whatever you are trying to compile is not a part of it. Based on the folder name I assumed that these files are a part of cuFHE, which I linked above.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nucypher/nufhe/issues/22?email_source=notifications&email_token=ALBYDJD62JAC3EOXFYQZZHDRGCHP3A5CNFSM4LCZDI4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAGEWY#issuecomment-595616347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBYDJHK2O7WBQNRPEG2WKLRGCHP3ANCNFSM4LCZDI4A .

bpradeep508 commented 4 years ago

installation is completed successfully. when i am executing test programs using python and c++ both showing errors

On Fri, Mar 6, 2020 at 11:47 AM pradeep kumar reddy < pradeepkumarreddy.bukka@gmail.com> wrote:

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/python$ python test_gpu.py Traceback (most recent call last): File "test_gpu.py", line 30, in import lib.fhepy_gpu as fhe ModuleNotFoundError: No module named 'lib.fhepy_gpu'

On Fri, Mar 6, 2020 at 11:45 AM pradeep kumar reddy < pradeepkumarreddy.bukka@gmail.com> wrote:

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/python$ python test_circuits_gpu.py File "test_circuits_gpu.py", line 41 print "Encrypted message : ", msg ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Encrypted message : ", msg)?

On Fri, Mar 6, 2020 at 11:42 AM pradeep kumar reddy < pradeepkumarreddy.bukka@gmail.com> wrote:

same error while running of cuda

(base) user@HP-Z8-G4-Workstation:~/cuFHE-master/cufhe/test$ nvcc test_api_gpu.cutest_api_gpu.cu:24:10: fatal error: include/cufhe_gpu.cuh: No such file or directory

include <include/cufhe_gpu.cuh>

      ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated

On Fri, Mar 6, 2020 at 11:39 AM Bogdan Opanchuk < notifications@github.com> wrote:

This is a Python project, it doesn't contain any C/C++ files. So, whatever you are trying to compile is not a part of it. Based on the folder name I assumed that these files are a part of cuFHE, which I linked above.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nucypher/nufhe/issues/22?email_source=notifications&email_token=ALBYDJD62JAC3EOXFYQZZHDRGCHP3A5CNFSM4LCZDI4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAGEWY#issuecomment-595616347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBYDJHK2O7WBQNRPEG2WKLRGCHP3ANCNFSM4LCZDI4A .