Restriction based on GLIBC version?

Questions and Answers : Issue Discussion : Restriction based on GLIBC version?
Message board moderation

To post messages, you must log in.

AuthorMessage
Bok

Send message
Joined: 1 Jul 20
Posts: 7
Credit: 1,181,193
RAC: 0
Message 9 - Posted: 1 Jul 2020, 13:03:58 UTC

On a centos7 server I'm getting this, but glibc 2.17 is the stable version on centos7

<core_client_version>7.7.0</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)
</message>
<stderr_txt>
../../projects/www.mlcathome.org_mlcathome/mlds_0.90_x86_64-pc-linux-gnu: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /tmp/.mount_mlds_0MyssxK/usr/bin/../lib/libstdc++.so.6)

</stderr_txt>
]]>
ID: 9 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 454
Credit: 14,284,704
RAC: 3,190
Message 12 - Posted: 1 Jul 2020, 13:14:23 UTC - in response to Message 9.  

Hmm, I thought I had chased down all those. Let me reproduce here and try to fix. Are you running a CentOS 7 point release, or straight CentOS 7? Thank you for trying!
ID: 12 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Bok

Send message
Joined: 1 Jul 20
Posts: 7
Credit: 1,181,193
RAC: 0
Message 14 - Posted: 1 Jul 2020, 13:18:39 UTC - in response to Message 12.  

It's a fairly straight Centos7, some additional libraries from a few experimental repos.

I may try an inline upgrade to 8, which though not supported officially, might work.
ID: 14 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 454
Credit: 14,284,704
RAC: 3,190
Message 17 - Posted: 1 Jul 2020, 16:07:13 UTC - in response to Message 14.  

I doubt you'll be the only CentOS 7 user, so I'll need to fix it up regardless.
ID: 17 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Jeff17
Avatar

Send message
Joined: 2 Jul 20
Posts: 1
Credit: 3,930,092
RAC: 169
Message 24 - Posted: 2 Jul 2020, 2:44:03 UTC

Thanks for working on this. I have the same problem
CentOS Linux release 7.7.1908 (Core)
ID: 24 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 454
Credit: 14,284,704
RAC: 3,190
Message 32 - Posted: 2 Jul 2020, 4:59:57 UTC - in response to Message 24.  

The problem is pytorch doesn't really support static linking, and I build the binary on ubuntu 14.04 thinking that would be old enough.. it uses glibc2.19, and centos 7 uses glibc 2.17. AppImage doesn't allow including glibc in its container though, so I'll need to build on an earlier distro.

But.. earlier versions of ubuntu/debian don't have ready-made gcc-9 or libhdf5 packages, and centos 7 doesn't either. Meaning.. i have to compile those from source, meaning it might take a day or so. Thanks for your patience.
ID: 32 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 454
Credit: 14,284,704
RAC: 3,190
Message 76 - Posted: 3 Jul 2020, 21:30:57 UTC - in response to Message 32.  

Hate to do this to you, but I've just loaded 0.911, which will now disable centos 7 support again.. compiling with that old a libc caused more and more crashes on other systems. I'll head back to the drawing board there.
ID: 76 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
BetelgeuseFive

Send message
Joined: 31 Oct 20
Posts: 1
Credit: 714,381
RAC: 1,670
Message 744 - Posted: 31 Oct 2020, 14:13:59 UTC

Any progress on this issue or did you give up on CentOS 7 ?

<core_client_version>7.16.6</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)</message>
<stderr_txt>
../../projects/www.mlcathome.org_mlcathome/mlds_9.61_x86_64-pc-linux-gnu: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ../../projects/www.mlcathome.org_mlcathome/mlds_9.61_x86_64-pc-linux-gnu)
../../projects/www.mlcathome.org_mlcathome/mlds_9.61_x86_64-pc-linux-gnu: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /tmp/.mount_mlds_927A58Y/usr/bin/../lib/libstdc++.so.6)

</stderr_txt>
]]>

Running CentOS Linux release 7.8.2003

Tom
ID: 744 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 454
Credit: 14,284,704
RAC: 3,190
Message 756 - Posted: 1 Nov 2020, 19:21:46 UTC - in response to Message 744.  

I don't think CentOS 7 support is going to happen, unfortunately. I know that's not something you'd like to hear, but after we compiled a client with that old a libc version the average error rate on all our clients jumped three times higher than the rate with our current setup. It would take some time and effort to figure out why, and CentOS 7 is already 6 years old.

Like I mentioned in the news thread, we need to be a bit better about posting minimum requirements up front.
ID: 756 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Issue Discussion : Restriction based on GLIBC version?

©2021 MLC@Home Team
A project of the Cognition, Robotics, and Learning (CORAL) Lab at the University of Maryland, Baltimore County (UMBC)