mersenneforum.org Can someone produce a binary of gpuowl?
 Register FAQ Search Today's Posts Mark Forums Read

 2021-04-05, 19:56 #1 drkirkby   "David Kirkby" Jan 2021 Althorne, Essex, UK 19710 Posts Can someone produce a binary of gpuowl? I can't seem to compile this on CentOs 7.8, despite using the latest version of gcc and GMP. Can anyone produce a binary, and some sort of test code that I could test? Dave
 2021-04-05, 20:06 #2 drkirkby   "David Kirkby" Jan 2021 Althorne, Essex, UK 110001012 Posts I should have added - I need it for Linux.
2021-04-05, 20:17   #3
M344587487

"Composite as Heck"
Oct 2017

3×5×53 Posts

Here's the latest git compiled on a machine with AVX2 (not sure if it matters, probably not), you can test roughly with something like this or any large enough integer:

Code:
./gpuowl -prp 17323111
Attached Files
 gpuowl-v7.2-70-g212618e.tar.xz (3.24 MB, 28 views)

 2021-04-09, 19:20 #4 drkirkby   "David Kirkby" Jan 2021 Althorne, Essex, UK 197 Posts Thank you. Unfortuately, it needs a glibc later than I have installed on my CentOS 7.8 system. An attempt to install a later version of glibc in /usr/local, then set LD_LIBRARY_PATH fails. In fact during the configure process I had to set an option to disable sanity checks, as ones advised against installing glibc in /usr/local. If I installed in /usr/, I'm likely to break the OS, so I will leave it.
2021-04-09, 23:13   #5
M344587487

"Composite as Heck"
Oct 2017

3·5·53 Posts

Here's a few attempts to statically link libc, they all work locally and produce different binaries so the options did "something". It's a stab in the dark as I'm not familiar with static linking and am not set up to properly test. Worth a shot at least.
Attached Files
 gpuowl-v7.2-70-g212618e-static.tar.xz (682.0 KB, 13 views)

2021-04-10, 00:54   #6
Xyzzy

"Mike"
Aug 2002

22×13×157 Posts

Quote:
 Originally Posted by drkirkby …CentOs 7.8…

 2021-04-29, 17:12 #7 drkirkby   "David Kirkby" Jan 2021 Althorne, Essex, UK 197 Posts Is there GPU software for PRP tests? I tried compiling gpuowl on my PC, which runs CentOS 7.9, but I concluded the OS needed too many changes to make it practical. In particular, it seems glibc would need updating, which is a risky thing to do. That aside, are GPUs able to do PRP tests quickly? I've currently got a couple of 26-core CPUs. A 110 million exponent PRP test takes two days, using one worker, so I can get about 1 PRP test done per day on average. At the moment I'm not achieving that, as I'm doing a huge exponent, https://www.mersenne.org/report_expo...33&full=1which would have 100 million decimal digits. But that's the first and last time I will attempt that. I have considered giving up before, but with more than 90% of the PRP test complete, it is too late to give up now. Last fiddled with by drkirkby on 2021-04-29 at 17:15
 2021-04-29, 20:36 #8 M344587487     "Composite as Heck" Oct 2017 14338 Posts Modern GPU's are the fastest way to do a PRP test, using gpuowl. A Radeon VII is something like an order of magnitude faster than a consumer CPU with dual channel memory. Did you try the few attempts I made at a static build of gpuowl on your other thread?
2021-04-29, 21:22   #9
Xyzzy

"Mike"
Aug 2002

22×13×157 Posts

Quote:
 Originally Posted by drkirkby I tried compiling gpuowl on my PC, which runs CentOS 7.9, but I concluded the OS needed too many changes to make it practical.
https://developers.redhat.com/blog/2...-subscription/

2021-04-29, 21:35   #10
retina
Undefined

"The unspeakable one"
Jun 2006
My evil lair

137748 Posts

Quote:
 Originally Posted by Xyzzy https://developers.redhat.com/blog/2...-subscription/
Need to register / activate / login to run the OS? I think that turns the computer into yet another IoT device. I would be worried if that was my system.

2021-04-29, 21:36   #11
drkirkby

"David Kirkby"
Jan 2021
Althorne, Essex, UK

197 Posts

Quote:
 Originally Posted by M344587487 Here's a few attempts to statically link libc, they all work locally and produce different binaries so the options did "something". It's a stab in the dark as I'm not familiar with static linking and am not set up to properly test. Worth a shot at least.
Thank you. I had not seen your updates to this thread, until you mentioned it in another thread. Unfortunately, none of them work - see error messages at the end of the thread. A later version of glibc is needed, and it's not practical to upgrade that. Even if one builds a local copy, LD_LIBRARY_PATH etc will not allow one to use another glibc. In fact, when I tried to compile glibc, it reported that it should not be installed in /usr/local, and I had to add an option to bypass sanity checks to even allow me to build it. But I can't get the binary to use it.

I will soon be ditching CentOS in favor of Ubuntu or similar. I used CentOS as it was required for a trial of some very expensive commercial software. The trial was an absolute disaster, with the program crashing every 5 minutes.
Code:
[dkirkby@jackdaw gpuowl-static]$./gpuowla ./gpuowla: /lib64/libquadmath.so.0: version QUADMATH_1.2' not found (required by ./gpuowla) ./gpuowla: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./gpuowla) [dkirkby@jackdaw gpuowl-static]$ ./gpuowlb
./gpuowlb: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./gpuowlb)
./gpuowlb: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by ./gpuowlb)
./gpuowlb: /lib64/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by ./gpuowlb)
./gpuowlb: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./gpuowlb)
[dkirkby@jackdaw gpuowl-static]$./gpuowlc ./gpuowlc: /lib64/libquadmath.so.0: version QUADMATH_1.2' not found (required by ./gpuowlc) ./gpuowlc: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./gpuowlc) [dkirkby@jackdaw gpuowl-static]$ [dkirkby@jackdaw gpuowl-static]$./gpuowla bash: [dkirkby@jackdaw: command not found... [dkirkby@jackdaw gpuowl-static]$ ./gpuowla: /lib64/libquadmath.so.0: version QUADMATH_1.2' not found (required by ./gpuowla)
> ./gpuowla: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./gpuowla)
> [dkirkby@jackdaw gpuowl-static]$./gpuowlb > ./gpuowlb: /lib64/libquadmath.so.0: version QUADMATH_1.2' not found (required by ./gpuowlb) -bash: syntax error near unexpected token (' [dkirkby@jackdaw gpuowl-static]$ ./gpuowlb: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./gpuowlb)
> ./gpuowlb: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./gpuowlb)
-bash: syntax error near unexpected token ('
[dkirkby@jackdaw gpuowl-static]$./gpuowlb: /lib64/libstdc++.so.6: version CXXABI_1.3.11' not found (required by ./gpuowlb) > ./gpuowlb: /lib64/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by ./gpuowlb) > ./gpuowlb: /lib64/libstdc++.so.6: version GLIBCXX_3.4.22' not found (required by ./gpuowlb) -bash: syntax error near unexpected token (' [dkirkby@jackdaw gpuowl-static]$ ./gpuowlb: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./gpuowlb)
> [dkirkby@jackdaw gpuowl-static]$./gpuowlc > ./gpuowlc: /lib64/libquadmath.so.0: version QUADMATH_1.2' not found (required by ./gpuowlc) > ./gpuowlc: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./gpuowlc) -bash: syntax error near unexpected token (' [dkirkby@jackdaw gpuowl-static]$

 Similar Threads Thread Thread Starter Forum Replies Last Post preda GpuOwl 199 2021-03-26 00:00 preda GpuOwl 20 2020-10-17 06:51 GP2 GpuOwl 22 2020-06-13 16:57 M344587487 GpuOwl 14 2018-12-29 08:11 Cyclamen Persicum Math 10 2003-03-29 07:08

All times are UTC. The time now is 09:25.

Wed May 12 09:25:51 UTC 2021 up 34 days, 4:06, 0 users, load averages: 1.57, 1.42, 1.52

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.