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

Installation Problems on Centos 7.6 #2

Closed
lql341 opened this issue Jun 16, 2022 · 4 comments
Closed

Installation Problems on Centos 7.6 #2

lql341 opened this issue Jun 16, 2022 · 4 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@lql341
Copy link

lql341 commented Jun 16, 2022

Has any one try install deepflame on Centos 7.6.

My configuration:

System: Centos 7.6
gcc compiler : GCC 7.3.1
MPI Compiler: OpenMPI 4.0.4

I followed the instructions 1-6 , and ran into glibc version errors at 6.
image

The problems are as follows:
f9cbf729d6ca62b39f18006e542d512

I assume this require recompilation of libtorch.so instead of using precompiled ones.

Any comments or suggestions?

@maorz1998
Copy link
Collaborator

It seems like a C++ ABI problem, maybe your gcc compiler is too old. Try the following three methods to solve the problem.

@lql341
Copy link
Author

lql341 commented Jun 18, 2022

I upgrade my gcc version to 11.2 and recompiled from scratch. I believe the problem comes from libtorch.
image

Can you provide a tutorial for compiling Libtorch?

@maorz1998
Copy link
Collaborator

The tutorial here ( https://github.com/pytorch/pytorch#from-source) can be helpful, gook luck !

@lql341
Copy link
Author

lql341 commented Jun 25, 2022

1982_1656164305_hd
Done! Rebuilding libtorch from source did solve the problem. Thank you!

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

No branches or pull requests

3 participants