![]() |
![]() |
#155 | ||
Dec 2021
22·11 Posts |
![]()
My understanding was that the process for building it for GPU is the same, expect for additional parameters to the configure step. If this is wrong, then that may well explain it.
I managed to get fully through INSTALL-ecm when not trying to add GPU capability. Quote:
Code:
./configure --enable-gpu --with-cgbn-include=../CGBN/include/cgbn CC="g++ -fpermissive" CFLAGS="-02 -pedantic -fomit-rame-pointer -m64 -mtune=skylake -march=broadwell" Quote:
|
||
![]() |
![]() |
![]() |
#156 |
Sep 2002
Database er0rr
24·281 Posts |
![]()
What arguments do you give ./configure when compiling ECM and what arguments do you give it when compiling for GPU capability?
(ps. surely CC="g++...." is plain wrong!) Last fiddled with by paulunderwood on 2023-01-22 at 17:42 |
![]() |
![]() |
![]() |
#157 |
Dec 2021
22×11 Posts |
![]()
I have successfully compiled with GPU capability and CGBN - the important thing I was missing was the line "egrep -w '(CC|CFLAGS)' config.log" in INSTALL-ecm to get the compiler options used to compile GMP. My initial attempts at adding these failed, as I had unwittingly recompiled GMP with g++, which seems to leave certain things missing given the errors I was getting. The successful line in the end was
Code:
./configure --enable-gpu --with-cgbn-include=../../gmp-ecm/CGBN/include/cgbn --with-cuda=/usr/local/cuda-12.0 CFLAGS="-O2 -pedantic -fomit-frame-pointer -m64 -mtune=skylake -march=broadwell" Last fiddled with by Denial140 on 2023-01-22 at 18:41 |
![]() |
![]() |
![]() |
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 |