Skip to content
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

ginina install error #250

Open
croshong opened this issue Mar 25, 2024 · 3 comments
Open

ginina install error #250

croshong opened this issue Mar 25, 2024 · 3 comments

Comments

@croshong
Copy link

Hi

I tried to install gnina from source

after cmake is done

I got error like below
[ 87%] Building CXX object gninasrc/CMakeFiles/gnina.dir/main/main.cpp.o
[ 88%] Linking CUDA device code CMakeFiles/gnina.dir/cmake_device_link.o
[ 88%] Linking CXX executable ../bin/gnina
/lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to fcntl64@GLIBC_2.28' /lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to powf@GLIBC_2.27'
/lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to exp@GLIBC_2.29' ../_deps/libtorch-src/lib/libc10.so: undefined reference to log@GLIBC_2.29'
/lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to expf@GLIBC_2.27' /lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to logf@GLIBC_2.27'
/lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to log2@GLIBC_2.29' /lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to pow@GLIBC_2.29'
/lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to log2f@GLIBC_2.27' /lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to exp2@GLIBC_2.29'
/lwork01/gnina/build/_deps/libtorch-src/lib/libtorch_cpu.so: undefined reference to `exp2f@GLIBC_2.27'

I heard that gnina use caffe for its deep learning framework,

Is it updated to include pytorch model?

I have install pytorch but same error occur

how can I solve this problem?

Thanks

@dkoes
Copy link
Contributor

dkoes commented Mar 25, 2024

The code in master currently uses pytorch and caffe with the goal of completely removing caffe in the next release. If you just want to get a working version of gnina, checkout v1.1.

@croshong
Copy link
Author

Yes but I want to try to install gnina from source to be optimized for my server . to install from source how can I solve the above error?

@dkoes
Copy link
Contributor

dkoes commented Mar 25, 2024

git checkout v1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants