-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiled PyFlex does not work on Ubuntu 20 #30
Comments
Can you copy and paste your full error message so that we can better diagnose? |
When trying to import pyflex:
|
@DanielTakeshi Any updates? |
Have you compiled PyFlex with docker? |
Hi, I encountered the same issue today w/PyFleX and figured out that the precompiled static library
Unfortunatelly we cannot easily re-compile NVIDIA FleX (proprietary software).
float __powf_finite(float x, float y) { return powf(x, y); }
add_library(libc_compat ${ROOT}/bindings/libc_compat/libc_compat.c)
...
target_link_libraries(${EXAMPLE_BIN} PRIVATE ${ROOT}/lib/linux64/NvFlexExtReleaseCUDA_x64.a)
target_link_libraries(${EXAMPLE_BIN} PRIVATE libc_compat)
That is, I created the entity of info
|
@denkiwakame It would be really useful if we could detect this error by checking the libc version and automatically apply this fix. Would you be willing to look into opening a PR? |
I don't mind creating a PR though, in my humble opinion, this is not "fix", but a "temporary workaround'' .
Btw, have you resolved the problem? Although I applied a simple workaround, it would also be appreciated if you find out a better solution for this :D |
Had the same problem while running rlvlmf today - Did you find any simple/short cut solutions for it? |
I have been trying to compile the latest version of SoftGym on a Ubuntu 20 machine, however, I have been unable to load the compile pyflex.so from either the system or a conda interperter. The error I keep getting is that the symbol
__powf_finite
is not defined which seems to be related to the libc version.I have been using CUDA11.6, PyBind2.9.1 and Ubuntu 20. I have tested this issue on Python 3.9, 3.8, and 3.7 and it has caused the same issue on each. I tried compiling with clang, but I got several errors that prevented compilation altogether.
The text was updated successfully, but these errors were encountered: