IBM / fhe-toolkit-linux

IBM Fully Homomorphic Encryption Toolkit For Linux. This toolkit is a Linux based Docker container that demonstrates computing on encrypted data without decrypting it! The toolkit ships with two demos including a fully encrypted Machine Learning inference with a Neural Network and a Privacy-Preserving key-value search.
MIT License
1.43k stars 158 forks source link

Illegal instruction (core dumped) #151

Closed hebabaze closed 3 years ago

hebabaze commented 3 years ago

Even though I proceeded with the advanced installation. I found the same error when I click on "launch selected target"

I am using ubuntu in vmware machine

To Reproduce Steps to reproduce the behavior:

  1. Go to '127.0.0.1:8443'
  2. choose the kits from the dropdown.
  3. Click on Build
  4. click on launch the selected target'
  5. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots image

If applicable, add screenshots to help explain your problem. image

Environment (please complete the following information):

image

Additional context Add any other context about the problem here.

github-actions[bot] commented 3 years ago

Thank you very much for helping us to improve the quality of our software. The FHE Toolkit develiopment team want to sincerely thank you for submitting your first issue and joining our technical community! We will get started on your issue immediately.

hebabaze commented 3 years ago

I think it's ok image I changed the number of core and CPU in VMware setting i choose only 1

boland25 commented 3 years ago

@hebabaze are you confirming that you have it working?

hebabaze commented 3 years ago

@boland25

image

and when i tapke make iget this error image

After that i see that the CmakeList.txt is different to other file so i add those lines with respecting project name :

cmake_minimum_required(VERSION 3.10)
project(BGV_binary_arithmetic VERSION 0.0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_CXX_FLAGS "-Werror -fopenmp -Wfatal-errors")
## Rely on the Environment variable to dictate which version of helib to use
set(HELIB_VERSION ${HELIB_CMAKE_LISTS_VERSON})
find_package(helib ${HELIB_VERSION} REQUIRED)
find_package(Boost 1.72.0 EXACT REQUIRED COMPONENTS filesystem system thread)
find_package(HDF5 REQUIRED COMPONENTS CXX)
include_directories(${HDF5_INCLUDE_DIR})

after i could launch the executable /BGV_binary_arithmetic and i get this output image image