mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GpuOwl (https://www.mersenneforum.org/forumdisplay.php?f=171)
-   -   gpuowl: runtime error (https://www.mersenneforum.org/showthread.php?t=23117)

kriesel 2021-09-28 22:54

[QUOTE=moebius;588932]GLIBCXX_3.4.26 comes with GCC 9.1.0. The gpuOwl 6.11.380 binary at [URL]https://mersenneforum.org/showpost.php?p=556311&postcount=40[/URL] does not work for you, because the gcc version is not the same. I compiled it with gcc 9.1.0 [URL]https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html[/URL]
It should work if you install gcc 9.1.0 and then copy the needed files with a notebook [URL]https://mersenneforum.org/showpost.php?p=555507&postcount=33[/URL]
Sure it isn't the same issue like in this thread? [URL]https://mersenneforum.org/showthread.php?p=555511#post555511[/URL][/QUOTE]
Thanks for responding. But this is not working for me. I already have the libstdc stuff in the gpuowl working directory on Google Drive, which is all you cp in the posted script at that link. It's complaining about GLIBCXX_3.4.26, which that post's script does not cp. And if I attempt
[CODE][COLOR=#000000][FONT=monospace][COLOR=#0000ff]![/COLOR][COLOR=#000000]sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test[/COLOR][/FONT][/COLOR]
[COLOR=#000000][FONT=monospace][COLOR=#0000ff]![/COLOR][COLOR=#000000]sudo apt install -y gcc-[/COLOR][COLOR=#098658]9[/COLOR][/FONT][/COLOR]
[COLOR=#000000][FONT=monospace][COLOR=#0000ff]![/COLOR][COLOR=#000000]sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-[/COLOR][COLOR=#098658]9[/COLOR][COLOR=#098658] 800[/COLOR][/FONT][/COLOR]
[COLOR=#000000][FONT=monospace][COLOR=#0000ff]![/COLOR][COLOR=#000000]ls /usr/lib/x86_64-linux-gnu/GLIBCXX*[/COLOR][/FONT][/COLOR]
[COLOR=#000000][FONT=monospace][COLOR=#0000ff]![/COLOR][COLOR=#000000]cp /usr/lib/x86_64-linux-gnu/GLIBCXX_3[/COLOR][COLOR=#098658].4[/COLOR][COLOR=#000000].* [/COLOR][COLOR=#a31515]'/content/drive/My Drive/gpuowl/K80'[/COLOR][/FONT][/COLOR][/CODE]it installs gcc 9.[B]4[/B].0, and then gives
[CODE]update-alternatives: using /usr/bin/gcc-9 to provide /usr/bin/gcc (gcc) in auto mode
ls: cannot access '/usr/lib/x86_64-linux-gnu/GLIBCXX*': No such file or directory
cp: cannot stat '/usr/lib/x86_64-linux-gnu/GLIBCXX_3.4.*': No such file or directory[/CODE]So, I'll cp in more libstdc*, anyway, and see what the next K80 instance shows. All[COLOR=#000000][FONT=monospace][CODE]!cp /usr/lib/x86_64-linux-gnu/libstdc* '/content/drive/My Drive/gpuowl/K80/'[/CODE]appears to have accomplished is to freshen the time stamps on libstdc++.so.6 and libstdc++.so.6.0.25 in [/FONT][/COLOR][COLOR=#000000][FONT=monospace][COLOR=#000000][FONT=monospace][COLOR=#a31515]/content/drive/My Drive/gpuowl/K80[/COLOR][/FONT][/COLOR]; no sign of GLIBCXX*. [/FONT][/COLOR][COLOR=#000000][FONT=monospace][COLOR=#000000][FONT=monospace][COLOR=#a31515]/content/drive/My Drive/gpuowl/K80[/COLOR][/FONT][/COLOR]/libstdc++.so.6.0.28 is untouched.[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]Ok, got a K80. And using the v6.11-380 Gpuowl.exe, the error persists:[/FONT][/COLOR][CODE]./gpuowl.exe: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./gpuowl.exe)[/CODE]So, reverting to Fan Ming's version for the session.
And something about that process messed with the permissions on Fan Ming's executable again. Which Google Drive does not show, so one is flying blind.

Flaukrotist 2021-09-29 06:51

It works for me.
 
I can only guess where your error could be with my very limited knowledge of gpuowl and linux. But I can at least tell, that I could make it work with the help of the zips and code blocks provided in this very thread that moebius has again linked to in his latest post here.

One potential source of error I see from your code block about copying the files. The magic is not to copy them to your google drive (actually that is only to save them there once. I saved them there from some download here in this thread and avoided this step). The magic is that you copy them back to the correct linux folder every time you want to run gpuowl. Look at the last sentence and last separate code block here: [URL]https://mersenneforum.org/showpost.php?p=555507&postcount=33[/URL]

kriesel 2021-09-29 09:18

[QUOTE=Flaukrotist;588963]I can only guess where your error could be with my very limited knowledge of gpuowl and linux. But I can at least tell, that I could make it work with the help of the zips and code blocks provided in this very thread that moebius has again linked to in his latest post here.

One potential source of error I see from your code block about copying the files. The magic is not to copy them to your google drive (actually that is only to save them there once. I saved them there from some download here in this thread and avoided this step). The magic is that you copy them back to the correct linux folder every time you want to run gpuowl. Look at the last sentence and last separate code block here: [URL]https://mersenneforum.org/showpost.php?p=555507&postcount=33[/URL][/QUOTE]But it was also the same VM session where I did the GCC install that subsequently Moebius's build did not work. I don't understand how copying them from a to b and back to a in the same VM session that installs them can help at all. Or why moebius' build would require such a maneuver when Fan Ming's does not, in the same VM session. Maybe Fan Ming's has it all statically linked?

moebius 2021-09-29 10:07

[QUOTE=kriesel;588970] I don't understand how copying them from a to b and back to a in the same VM session that installs them can help at all.[/QUOTE] I just can tell you, that I had to run the complete 'make notebook' from ATH once for every new google account I used. Then the gpuOwl binary worked properly.


All times are UTC. The time now is 10:44.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.