![]() |
![]() |
#45 |
Sep 2009
92C16 Posts |
![]()
gcc --version returns:
Code:
gcc (SUSE Linux) 4.8.5 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I've installed clang as well: Code:
clang --version clang version 3.8.0 (tags/RELEASE_380/final 262553) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin Code:
./configure --enable-gpu=50 --with-cuda=/usr/local/cuda --with-cuda-compiler=clang CC=clang ... configure: Using nvcc compiler from from /usr/local/cuda/bin checking for compatibility between gcc and nvcc... no configure: error: gcc version is not compatible with nvcc Last fiddled with by chris2be8 on 2021-09-01 at 18:19 Reason: Specify Linux |
![]() |
![]() |
![]() |
#46 | |
"Seth"
Apr 2019
19·23 Posts |
![]() Quote:
I fixed the vector initialize issue and have included your "__any_sync(__activemask()" fix in the repo (I forgot to credit you in the commit but I'll try and do that the next time I rebase). I'm not sure why --with-gmp doesn't work with --with-cgbn-include if you have some sense of why I'm happy to try and fix. If it's failing on "checking if CGBN is present..." maybe try adding more flags to acinclude.m4:617 [-I$cgbn_include $GMPLIB], maybe "-I$with_gmp_include" and or "-L$with_gmp_lib" |
|
![]() |
![]() |
![]() |
#47 | |
"Seth"
Apr 2019
43710 Posts |
![]() Quote:
did you try with CC=gcc-9? I can also maybe add some debug to the configure log to show which CC it's using. I personally use this to configure Code:
./configure --enable-gpu=61 --with-cuda=/usr/local/cuda CC=gcc-9 -with-cgbn-include=/home/five/Projects/CGBN/include/cgbn Code:
$ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Mon_Nov_30_19:08:53_PST_2020 Cuda compilation tools, release 11.2, V11.2.67 Build cuda_11.2.r11.2/compiler.29373293_0 Last fiddled with by SethTro on 2021-09-01 at 19:03 |
|
![]() |
![]() |
![]() |
#48 |
"Ed Hall"
Dec 2009
Adirondack Mtns
22·1,151 Posts |
![]()
In my case, everything except ECM and Msieve seemed to be working, but I've uninstalled everything now and I thought from a few posts ago that my arch 3.0 was perhaps too ancient, 3.5 being necessary. ATM, updates, etc. are also giving me errors, so I was going step back for a bit. I've uninstalled all the CUDA, NVIDIA, etc. from the system. In its latest iteration, although I had installed CUDA 10.2, nvcc and nvidia-smi claimed to be running CUDA 11, which does not support architecture 3.0. I'll try another installation some time soon and then see where it stalls. If I can't get ECM to build for GPU with my card, there is no point trying to add in cgbn, is there?
Thanks! |
![]() |
![]() |
![]() |
#49 | |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
101100011110112 Posts |
![]() Quote:
OK, it would not be as fast as the latest and greatest but at least it would be much faster than a purely cpu version. I'd do it myself but haven't been able to compile with CUDA for far too long now. ![]() |
|
![]() |
![]() |
![]() |
#50 |
Sep 2009
22·587 Posts |
![]()
And I've been having "fun" with msieve's CUDA support. The version I had been running failed saying [sort_engine.cu, 95] sort engine: (CUDA error 78: a PTX JIT compilation failed) (probably because compiled with and old version of CUDA. So I decided to install the latest version of msieve, revision 1043. Which also failed with a message saying "file not found" but of course didn't say *which* file it could not find. After a lot of puzzling I found revision 1043 notes the card is compute architecture 5.2 and tries to load stage1_core_sm52.ptx. But the Makefile as shipped is only set up to build ptx files for sm20, sm30, sm35 and sm50. So you are out of luck with any other architecture. I hacked the Makefile, first to remove sm20 which CUDA 9.0 doesn't support, then to add sm52 once I realised that was missing.
The makefile probably should build ptx files for all of this list: Code:
~/msieve.1043/trunk> strings msieve | grep ptx stage1_core_sm20.ptx stage1_core_sm30.ptx stage1_core_sm35.ptx stage1_core_sm50.ptx stage1_core_sm52.ptx stage1_core_sm61.ptx stage1_core_sm70.ptx stage1_core_sm75.ptx stage1_core_sm86.ptx |
![]() |
![]() |
![]() |
#51 | |
"Seth"
Apr 2019
43710 Posts |
![]() Quote:
The new code should give you approximate timings quite quickly so no need to complete a full run. I have seen 2x and 4x slowdowns when gpucurves is large. I may need to put in some code that searches for optimal throughput. |
|
![]() |
![]() |
![]() |
#52 | |
"Seth"
Apr 2019
19×23 Posts |
![]() Quote:
./ecm_cgbn_cuda11_2: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./ecm_cgbn_cuda11_2) https://static.cloudygo.com/static/ecm_cgbn_cuda11_2 ^ I pinky-promise this isn't a virus Last fiddled with by SethTro on 2021-09-01 at 20:35 |
|
![]() |
![]() |
![]() |
#53 |
Jul 2003
So Cal
2,399 Posts |
![]()
cudacommon.h is missing from the git repository.
|
![]() |
![]() |
![]() |
#54 | |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
2·5·599 Posts |
![]() Quote:
My guess is that your gcc version may be too old. I would try the most recent version you can get your hands on. The easiest way may be to update your OS into a version that isn't end of life. Last fiddled with by henryzz on 2021-09-01 at 21:11 |
|
![]() |
![]() |
![]() |
#55 | |
"Ben"
Feb 2007
7·11·47 Posts |
![]() Quote:
2560: (~21 ms/curves) 640: (~63 ms/curves) 1792: (~36 ms/curves) So we have a winner! -gpucurves 2560 beats all the others and anything the old build could do as well (best on the old build was 5120 @ (~25 ms/curves)) With the smaller kernel (running (2^499-1) / 20959), -gpucurves 5120 is fastest at about 6ms/curve on both new and old builds. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
NTT faster than FFT? | moytrage | Software | 50 | 2021-07-21 05:55 |
PRP on gpu is faster that on cpu | indomit | Information & Answers | 4 | 2020-10-07 10:50 |
faster than LL? | paulunderwood | Miscellaneous Math | 13 | 2016-08-02 00:05 |
My CPU is getting faster and faster ;-) | lidocorc | Software | 2 | 2008-11-08 09:26 |
Faster than LL? | clowns789 | Miscellaneous Math | 3 | 2004-05-27 23:39 |