![]() |
|
|
#111 | |
|
Sep 2009
1001101000002 Posts |
Quote:
mkdir ecm-gpu # Change dir name if you want cd ecm-gpu git clone https://gitlab.inria.fr/zimmerma/ecm.git cd ecm autoreconf -si ./configure --enable-gpu=35 -with-cgbn-include=/home/chris/ecm-seth/CGBN/include/cgbn # Update path to CGBN as appropriate make But I can't test it because I don't have a sm_35 GPU. |
|
|
|
|
|
|
#112 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
22×13×107 Posts |
I guess my problem is getting CGBN. I'd already done the rest, but when I tried to get CGBN I got a "forbidden" message.
I thought the post from Gimarel meant that CGBN was included with GMP-ECM at that location. I'll study the thread further. . . |
|
|
|
|
|
#113 |
|
"Seth"
Apr 2019
1111100102 Posts |
"Getting" CGBN should be `git clone https://github.com/NVlabs/CGBN.git` which will create a new directory "CGBN" then the commands chris2be8 wrote (thanks) should work.
I got access to contribute back to gmp-ecm so I will work on adding support for sm_86. @chris2be8. I think you have an old version of the code. That limit was removed at some point. Can you check that you are using https://gitlab.inria.fr/zimmerma/ecm.git and not my personal repository (https://github.com/sethtroisi/gmp-ecm). |
|
|
|
|
|
#114 | |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
22×13×107 Posts |
Quote:
I think I'm where I can work it a little further. I'll get back in a bit. |
|
|
|
|
|
|
#115 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
22×13×107 Posts |
Well, this isn't making any sense to me:
Code:
configure: Using CGBN from /home/math55/Math/CGBN/include/cgbn checking if CGBN is present... no configure: error: cgbn.h not found (check if /cgbn needed after <PATH>/include) Code:
$ ls /home/math55/Math/CGBN/include/cgbn arith cgbn.cu cgbn.h core impl_mpz.cc cgbn_cpu.h cgbn_cuda.h cgbn_mpz.h impl_cuda.cu |
|
|
|
|
|
#116 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
15BC16 Posts |
I think I found it. (from acinclude.m4):
Code:
NVCC_CHECK_COMPILE(
[
#include <gmp.h>
#include <cgbn.h>
],
[-I$cgbn_include $GMPLIB],
[AC_MSG_RESULT([yes])],
[
AC_MSG_RESULT([no])
AC_MSG_ERROR([cgbn.h not found (check if /cgbn needed after <PATH>/include)])
]
)
I'm running it now and it appears to be doing OK. Thanks for all the help. |
|
|
|
|
|
#117 | |
|
"Seth"
Apr 2019
2×3×83 Posts |
Quote:
IFAIK you don't need to compile CGBN (or setup the googletest), you just need the folder downloaded ("cloned") from Github. |
|
|
|
|
|
|
#118 | |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
22×13×107 Posts |
Quote:
Thanks for all the help! |
|
|
|
|
|
|
#119 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
15BC16 Posts |
|
|
|
|
|
|
#120 |
|
Sep 2008
Kansas
75618 Posts |
|
|
|
|
|
|
#121 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
10101101111002 Posts |
I wasn't considering one, since it really boils down to only a couple lines of install. Or, maybe you mean a GMP-ECM with GPU thread from start to finish? I do wonder if I should try to add CGBN to the Colab GMP-ECM session.
|
|
|
|
![]() |
Similar Threads
|
||||
| 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 |