![]() |
[QUOTE=preda;492577]On Ubuntu 18.04 (kernel 4.15), I finally managed to install ROCm 1.8.2; (previously I was using amdgpu-pro 18.20). The performance for "100M digits" improved from 9.17ms/it to 8.36ms/it (on otherwise same setup).
Warning for others trying ROCm 1.8.2, there may be new errors when running on wavefront exponents (80M). (if there are, they are detected correctly, the result is still reliable). I need to keep an eye on these, I'm not sure yet who's to blame (me or ROCm).[/QUOTE] I hear newer kernels offer even better performance and more stability for gaming. Have you tried updating the kernel to see if that also makes a difference? |
[QUOTE=Mark Rose;492584]I hear newer kernels offer even better performance and more stability for gaming. Have you tried updating the kernel to see if that also makes a difference?[/QUOTE]
I was using kernel 4.17 before (with amdgpu-pro), but ROCm 1.8.2 only installs on 4.15, thus I needed to dial back the kernel for ROCm's sake. |
[QUOTE=preda;491979]Yes, but you're in the danger zone at that bits-per-word level. You're likely to encounter numerical errors, that will trigger retries. That works fine, only that it costs some time. In such a situation it may be worth starting the exponent with a lower "block size" than the default of 400, with "-block 100" or "-block 200".[/QUOTE]
Programmer advice is often wise: at approximately 8% it gave the first error, so I am back to FFT 18M for this exponent. |
[QUOTE=preda;492615]I was using kernel 4.17 before (with amdgpu-pro), but ROCm 1.8.2 only installs on 4.15, thus I needed to dial back the kernel for ROCm's sake.[/QUOTE]
I'm surprised 4.15 works now, not long ago I had to use 4.13. That gives me hope that support for 4.17 is not far off, it'd be nice to be able to use the latest kernel and ROCm and that's it. |
[QUOTE=M344587487;492826]I'm surprised 4.15 works now, not long ago I had to use 4.13. That gives me hope that support for 4.17 is not far off, it'd be nice to be able to use the latest kernel and ROCm and that's it.[/QUOTE]
I started with kernel 4.15 and am now using an interim version 4.17-trunk which works well with amdgpu-pro. |
Any luck with this? I have no idea what I'm doing, I just want to run a more updated version than 1.9.
[QUOTE=kriesel;491799]That worked great for v2.0. Thanks again for that. I tried again recently with V3.3 (starting from step 5) and ran into errors. So, updated the msys64 installation with pacman -Syu until all was up to date. Tried again. Looked at the gpuowl makefile and extrapolated from it (for openOwL) [CODE]g++ -O2 -DREV=\"bc4a29f\" -Wall -Werror -std=c++14 OpenGpu.cpp Gpu.cpp common.cpp gpuowl.cpp -o openowl -lOpenCL -L/c/Windows/System32[/CODE]Still errors. Could you update 7) for V3.3 please? Haven't tried it yet, but I extrapolate for cudaowl to: [CODE]nvcc -O2 -DREV=\"bc4a29f\" -o cudaowl CudaGpu.cu Gpu.cpp common.cpp gpuowl.cpp -lcufft[/CODE] (Don't have nvcc installed on a system with msys2 yet.) And lastly, fftbench: [CODE]nvcc -O2 -o fftbench fftbench.cu -lcufft[/CODE][/QUOTE] |
[QUOTE=endless mike;493050]Any luck with this? I have no idea what I'm doing, I just want to run a more updated version than 1.9.[/QUOTE]
Not here. Complete uninstall and reinstall of the msys2 environment is still on the to-do list. Maybe kracker has had better luck? |
Does anyone know what happened to the AMD APP SDK?
Formerly available at [URL]https://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/[/URL] it now produces a 404 error. Their site map does not show it. Search for "app sdk" yields a license page hit that fails to open properly. Is it gone, or just renamed? The "tools and SDKs" page yields nothing equivalent. See step 2 of [URL]http://www.mersenneforum.org/showpost.php?p=483209&postcount=356[/URL] for building gpuowl Last time I tried this, on my sole amd gpu system, an installer program v1.4.87-1 of a few MB put 150MB on the system disk, 5 directories deep. My notes from March say, shut down apps first; this does an unannounced system shutdown! |
mingw64 & gpuowl v3.3 build errors
[QUOTE=endless mike;493050]Any luck with this? I have no idea what I'm doing, I just want to run a more updated version than 1.9.[/QUOTE]
Backup, complete uninstall & reinstall from scratch the latest greatest mingw64 & gcc per [URL]http://www.mersenneforum.org/showpost.php?p=483209&postcount=356[/URL] Then g++ -c gpuowl.cpp and per [URL]http://www.mersenneforum.org/showpost.php?p=491802&postcount=502[/URL] g++ -O2 -DREV="bc4a29f" -Wall -std=c++14 OpenGpu.cpp Gpu.cpp common.cpp gpuowl.cpp -o openowl -lOpenCL -L/c/Windows/System32 equiv for 3.3 but there are issues, respectively "gpuowl.cpp: In function 'u32 modInv(u32, u32)': gpuowl.cpp:285:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ " and [CODE]In file included from OpenGpu.cpp:1: OpenGpu.h: In member function 'virtual bool OpenGpu::equalNotZero(Buffer&, u32, Buffer&, u32)': OpenGpu.h:470:29: warning: unknown conversion type character 'l' in format [-Wformat=] if (res1 != res2) { log("res36 differ: %09llx %09llx\n", res1, res2); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OpenGpu.h:470:29: warning: unknown conversion type character 'l' in format [-Wformat=] OpenGpu.h:470:29: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp: In function 'bool checkPrime(Gpu*, int, const Args&, bool*, u64*, int*)': gpuowl.cpp:160:13: warning: unknown conversion type character 'l' in format [-Wformat=] log("OK loaded: %d/%d, blockSize %d, %016llx\n", k, E, blockSize, res64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:160:13: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp:162:13: warning: unknown conversion type character 'l' in format [-Wformat=] log("EE loaded: %d/%d, blockSize %d, %016llx != %016llx\n", k, E, blockSize, res64, loaded.res64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:162:13: warning: unknown conversion type character 'l' in format [-Wformat=] gpuowl.cpp:162:13: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp:178:9: warning: unknown conversion type character 'l' in format [-Wformat=] log("OK initial check: %016llx\n", res64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:178:9: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp:180:9: warning: unknown conversion type character 'l' in format [-Wformat=] log("EE initial check: %016llx\n", res64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:180:9: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp:250:13: warning: unknown conversion type character 'l' in format [-Wformat=] log("Residue mismatch: %016llx %016llx\n", res, resAux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:250:13: warning: unknown conversion type character 'l' in format [-Wformat=] gpuowl.cpp:250:13: warning: too many arguments for format [-Wformat-extra-args] C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: d000035.o:(.idata$5+0x0): multiple definition of `__imp___C_specific_handler'; d000029.o:(.idata$5+0x0): first defined here C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o: in function `pre_c_init': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:136: undefined reference to `__p__fmode' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o: in function `__tmainCRTStartup': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:280: undefined reference to `_set_invalid_parameter_handler' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:289: undefined reference to `__p__acmdln' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccBa1Bbv.o:common.cpp:(.text+0x13d): undefined reference to `__imp___acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\cchMpUcc.o:gpuowl.cpp:(.text$_Z6printfPKcz[_Z6printfPKcz]+0x29): undefined reference to `__imp___acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-merr.o): in function `_matherr': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/merr.c:72: undefined reference to `__acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-pseudo-reloc.o): in function `__report_error': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/pseudo-reloc.c:149: undefined reference to `__acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/pseudo-reloc.c:150: undefined reference to `__acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingwex.a(lib64_libmingwex_a-wassert.o): in function `_wassert': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/misc/wassert.c:35: undefined reference to `__acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingwex.a(lib64_libmingwex_a-mingw_vfprintf.o): in function `__mingw_vfprintf': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/stdio/mingw_vfprintf.c:53: undefined reference to `_lock_file' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/stdio/mingw_vfprintf.c:55: undefined reference to `_unlock_file' collect2.exe: error: ld returned 1 exit status [/CODE]Haven't the time to try build 457601f right now. (What's the version # for that commit?) |
[QUOTE=kriesel;493550]Backup, complete uninstall & reinstall from scratch the latest greatest mingw64 & gcc per [URL]http://www.mersenneforum.org/showpost.php?p=483209&postcount=356[/URL]
Then g++ -c gpuowl.cpp and per [URL]http://www.mersenneforum.org/showpost.php?p=491802&postcount=502[/URL] g++ -O2 -DREV="bc4a29f" -Wall -std=c++14 OpenGpu.cpp Gpu.cpp common.cpp gpuowl.cpp -o openowl -lOpenCL -L/c/Windows/System32 equiv for 3.3 but there are issues, respectively "gpuowl.cpp: In function 'u32 modInv(u32, u32)': gpuowl.cpp:285:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ " and [CODE]In file included from OpenGpu.cpp:1: OpenGpu.h: In member function 'virtual bool OpenGpu::equalNotZero(Buffer&, u32, Buffer&, u32)': OpenGpu.h:470:29: warning: unknown conversion type character 'l' in format [-Wformat=] if (res1 != res2) { log("res36 differ: %09llx %09llx\n", res1, res2); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OpenGpu.h:470:29: warning: unknown conversion type character 'l' in format [-Wformat=] OpenGpu.h:470:29: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp: In function 'bool checkPrime(Gpu*, int, const Args&, bool*, u64*, int*)': gpuowl.cpp:160:13: warning: unknown conversion type character 'l' in format [-Wformat=] log("OK loaded: %d/%d, blockSize %d, %016llx\n", k, E, blockSize, res64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:160:13: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp:162:13: warning: unknown conversion type character 'l' in format [-Wformat=] log("EE loaded: %d/%d, blockSize %d, %016llx != %016llx\n", k, E, blockSize, res64, loaded.res64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:162:13: warning: unknown conversion type character 'l' in format [-Wformat=] gpuowl.cpp:162:13: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp:178:9: warning: unknown conversion type character 'l' in format [-Wformat=] log("OK initial check: %016llx\n", res64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:178:9: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp:180:9: warning: unknown conversion type character 'l' in format [-Wformat=] log("EE initial check: %016llx\n", res64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:180:9: warning: too many arguments for format [-Wformat-extra-args] gpuowl.cpp:250:13: warning: unknown conversion type character 'l' in format [-Wformat=] log("Residue mismatch: %016llx %016llx\n", res, resAux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpuowl.cpp:250:13: warning: unknown conversion type character 'l' in format [-Wformat=] gpuowl.cpp:250:13: warning: too many arguments for format [-Wformat-extra-args] C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: d000035.o:(.idata$5+0x0): multiple definition of `__imp___C_specific_handler'; d000029.o:(.idata$5+0x0): first defined here C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o: in function `pre_c_init': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:136: undefined reference to `__p__fmode' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o: in function `__tmainCRTStartup': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:280: undefined reference to `_set_invalid_parameter_handler' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:289: undefined reference to `__p__acmdln' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccBa1Bbv.o:common.cpp:(.text+0x13d): undefined reference to `__imp___acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\cchMpUcc.o:gpuowl.cpp:(.text$_Z6printfPKcz[_Z6printfPKcz]+0x29): undefined reference to `__imp___acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-merr.o): in function `_matherr': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/merr.c:72: undefined reference to `__acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-pseudo-reloc.o): in function `__report_error': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/pseudo-reloc.c:149: undefined reference to `__acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/pseudo-reloc.c:150: undefined reference to `__acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingwex.a(lib64_libmingwex_a-wassert.o): in function `_wassert': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/misc/wassert.c:35: undefined reference to `__acrt_iob_func' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingwex.a(lib64_libmingwex_a-mingw_vfprintf.o): in function `__mingw_vfprintf': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/stdio/mingw_vfprintf.c:53: undefined reference to `_lock_file' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/stdio/mingw_vfprintf.c:55: undefined reference to `_unlock_file' collect2.exe: error: ld returned 1 exit status [/CODE]Haven't the time to try build 457601f right now. (What's the version # for that commit?)[/QUOTE] This should be a missing compiler argument, like -fconcepts |
testing the new tf feature
I got an opencl error:
[CODE] Usage: ./tf <exponent> <start bit> [<end bit>] LLVM ERROR: Cannot select: 0x560d6354d550: i64,glue = sube 0x560d6337e1f0, 0x560d6354c910, 0x560d635621b0:1 0x560d6337e1f0: i64 = AssertZext 0x560d633e2040, ValueType:ch:i32 0x560d633e2040: i64,ch = CopyFromReg 0x560d633e2190:1, Register:i64 %vreg9 0x560d63424fb0: i64 = Register %vreg9 0x560d6354c910: i64 = zero_extend 0x560d6337e340 0x560d6337e340: i32 = add 0x560d63550430, 0x560d634d3530 0x560d63550430: i32 = add 0x560d6354cf30, 0x560d6354d8b0 0x560d6354cf30: i32 = truncate 0x560d63382de0:1 0x560d63382de0: i64,i64 = umul_lohi 0x560d63380130, 0x560d635c5d50 0x560d63380130: i64,glue = addc 0x560d6337fe20, 0x560d635c6e40 0x560d6337fe20: i64 = or 0x560d635c1840, 0x560d6337fb10 0x560d635c1840: i64 = srl 0x560d6360efe0, Constant:i32<32> 0x560d6360efe0: i64,i64 = umul_lohi 0x560d635c42e0, 0x560d635c5ea0 [/CODE]etc...more dump lines [url]https://github.com/preda/gpuowl/issues/14[/url] |
| All times are UTC. The time now is 23:02. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.