Skip to content

[BEACON] cannot find targets SCI::SCI-FloatBeacon and SCI::SCI-FloatML #227

Open

Description

@whcjimmy

Hi,

I'm trying to run the Beacon frontend, but I meet some issues when compiling the network.

The targets SCI::SCI-FloatBeacon and SCI::SCI-FloatML are missing.

(mpc_venv) root@f041787cf854:/ezpc_dir/EzPC/Beacon# python3 compile_networks.py Logistic 128 1 0.01 MSE no
Logistic
EzPC file dumped
Read file Logistic.ezpc ...
Parsed file Logistic.ezpc ...
Running the inference pass ...
Inferred binop labels and coercions ...
Typechecked the program ...
Applied 3-address code transformation ...
Partition: inlined function calls ... ...
Partition: unrolled loops ... ...
Split the program into 1 partition(s), generating .cpp files ...
Output(s) written to file(s) Logistic(n).cpp, n = 0, ... ...
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Source of Randomness: rdseed
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1")
-- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found GMP: /usr/include/x86_64-linux-gnu
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Microsoft SEAL -> Version 3.3.2 detected
-- Microsoft SEAL -> Library build type: Static_PIC
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done
CMake Error at CMakeLists.txt:12 (add_executable):
  Target "Logistic_beacon" links to target "SCI::SCI-FloatBeacon" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:18 (add_network_beacon)


CMake Error at CMakeLists.txt:6 (add_executable):
  Target "Logistic_secfloat" links to target "SCI::SCI-FloatML" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:17 (add_network_secfloat)


-- Generating done
-- Build files have been written to: /ezpc_dir/EzPC/Beacon/build
cp: cannot stat 'build/*_secfloat': No such file or directory
cp: cannot stat 'build/*_beacon': No such file or directory

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions