Git Product home page Git Product logo

flex_pybind11's People

Contributors

alantrrs avatar henryclever avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

alantrrs

flex_pybind11's Issues

Bindings Error

Hello, I'm trying to use the Python bindings based on the README.md in the bindings directory, but I got some unexpected results when I use pip install ./bindings

Looking in indexes: http://pypi.mirrors.ustc.edu.cn/simple
Processing ./bindings
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior be
fore it becomes the default.
   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
Building wheels for collected packages: bindings
  Building wheel for bindings (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/conda/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-f27r01u1/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-f27r01u1/setup.py'"'"';f = getattr(tokenize, '"'"'
open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'
))' bdist_wheel -d /tmp/pip-wheel-a9gz0d4z
       cwd: /tmp/pip-req-build-f27r01u1/
  Complete output (133 lines):
  running bdist_wheel
  running build
  running build_ext
  -- 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
  -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
  -- Found Eigen: /usr/include/eigen3
  CMake Warning (dev) at CMakeLists.txt:18 (find_package):
    Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
    Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
    command to set the policy and suppress this warning.

    CMake variable FleX_ROOT is set to:

      /workspace/zyk/FlexDart/FleX_PyBind11

    For compatibility, CMake is ignoring the variable.
  This warning is for project developers.  Use -Wno-dev to suppress it.

  CMake Warning (dev) at CMakeLists.txt:19 (find_package):
    Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
    Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
    command to set the policy and suppress this warning.

    CMake variable CUDA_ROOT is set to:

      /usr/local/cuda

    For compatibility, CMake is ignoring the variable.
  This warning is for project developers.  Use -Wno-dev to suppress it.

  -- Found PythonInterp: /opt/conda/bin/python (found version "3.8.12")
  -- Found PythonLibs: /opt/conda/lib/libpython3.8.so
  -- Performing Test HAS_CPP14_FLAG
  -- Performing Test HAS_CPP14_FLAG - Success
  -- pybind11 v2.2.0
  -- Performing Test HAS_FLTO
  -- Performing Test HAS_FLTO - Success
  -- LTO enabled
  CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  Please set them or make sure they are set and tested correctly in the CMake files:
  LIB_ACCINJ64_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CUBLAS_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CUDART_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CUFFTW_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CUFFT_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CUINJ64_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CUPTI_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CURAND_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CUSOLVER_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_CUSPARSE_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPC_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPIAL_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPICC_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPICOM_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPIDEI_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPIG_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPIM_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPIST_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPISU_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPITC_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NPPS_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NVBLAS_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1
  LIB_NVGRAPH_148
      linked by target "bindings" in directory /tmp/pip-req-build-f27r01u1

I guess the key error is that the definition of LIB_*_148 is not found, but I'm not sure what that is. The results online told me that these are files in CUDA, but I didn't find them...

How to define FleX_ROOT?

Hi, I'm doing a Dockerfile for this (happy to make a PR if you're interested), but I'm running into an issue when compiling. Seems like FindFlex.cmake is not finding the FleX_PATH since it's not reading the FleX_ROOT hint here.
It works fine if I just hardcode the path, but I'm wondering how are you passing it when compliling via pip install ./bindings?

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.