![]() |
|
|
#419 |
|
Sep 2008
Kansas
59×67 Posts |
I am now trying to build GMP-ECM w/ CUDA on my Linux box. A few hundred curves a day in not cutting it for me anymore.
![]() I tried configure with -—enable-gpu and it doesn’t find cuda.h. I then added -—with-cuda=/usr/local/cuda-8.0. Not sure why I needed to do that because other packages (mfaktc, mmff, msieve) all build/make fine as is. BTW, I’ve added the following to .bashrc per nvidia documentation. Code:
export PATH=/usr/local/cuda-8.0/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH Code:
configure: Using cuda.h from /usr/local/cuda-8.0/include checking cuda.h usability... no checking cuda.h presence... yes configure: WARNING: cuda.h: present but cannot be compiled configure: WARNING: cuda.h: check for missing prerequisite headers? configure: WARNING: cuda.h: see the Autoconf documentation configure: WARNING: cuda.h: section "Present But Cannot Be Compiled" configure: WARNING: cuda.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------------------ ## configure: WARNING: ## Report this to ecm-discuss@lists.gforge.inria.fr ## configure: WARNING: ## ------------------------------------------------ ## checking for cuda.h... no configure: error: required header file missing I don't recall seeing a pre-built Linux x86_64 for CUDA 8.0 fly by. |
|
|
|
|
|
#420 | |
|
13×251 Posts |
Quote:
[jw@localhost ~]$ export PATH=/usr/local/cuda-7.0/bin:$PATH [jw@localhost ~]$ export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64:$LD_LIBRARY_PATH [jw@localhost trgpu]$ su Password: [root@localhost trgpu]# ldconfig /usr/local/cuda-7.0/lib64 [root@localhost trgpu]# make check ## GPU program works only when in root mode. |
|
|
|
|
#421 |
|
Sep 2009
25·7·11 Posts |
I had a lot of fun getting it to work. See http://mersenneforum.org/showthread....mfs#post364978 and nearby posts for details of what I had to do.
Chris |
|
|
|
|
|
#422 |
|
Sep 2008
Kansas
F7116 Posts |
I don’t have a problem with CUDA or my GPU setup. I am running two GPU cards in a box with nvidia toolkit, samples, SDK and drivers all working properly. I have been running mfaktc for months using CUDA 8.0. At times I will stop one of the mfaktc jobs and run mmff for a while. I even run msieve poly selection using the GPU with no problems building or making.
I can’t get past the configure step in ECM-GMP let along even trying to make it. I do have a successful make without the GPU. I don’t want to go back to CUDA 7.0 or 7.5 because they both had the carry bit bug in them. I’ll just wait until the next release of configure (ECM-GMP) for CUDA 8.0 to see if that will address my problem. |
|
|
|
|
|
#423 |
|
Oct 2015
1000010102 Posts |
Are you able to compile a cuda8 version?
|
|
|
|
|
|
#424 |
|
I moo ablest echo power!
May 2013
3×619 Posts |
Not a clue, but I can give it a shot. What compute capability do you want/need?
|
|
|
|
|
|
#425 |
|
Oct 2015
10A16 Posts |
I've got a gtx1080 that I want to test with ecm to see how it compares with trial factoring.
|
|
|
|
|
|
#426 |
|
"Curtis"
Feb 2005
Riverside, CA
585410 Posts |
I can't think of any candidate numbers that fit within the GPU-ECM 1018-bit limit but would otherwise be trial-factored rather than sieved. What numbers are you interested in testing?
|
|
|
|
|
|
#427 |
|
Bamboozled!
"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across
2E1416 Posts |
|
|
|
|
|
|
#428 |
|
Oct 2015
2·7·19 Posts |
|
|
|
|
|
|
#429 | ||
|
Dec 2011
After 1.58M nines:)
1,699 Posts |
Quote:
In that case is same limit ? Last two weeks I play with ECM-GMP ( ver 7.0.4) for Windows. When I do Pminus1 in Prime95 I learn ( what i need to learn) in one day, and found many factors. But learning curve of ECM_GMP is such a different thing. It is so erratic For example Quote:
And settings B1 and B2 are so much different then setting same values in Prime95. I would like to "master" ECM-GMP for at least same speed and same numbers of factors found like in Prime95, but it looks like it will be hard task to do it. |
||
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running CUDA on non-Nvidia GPUs | Rodrigo | GPU Computing | 3 | 2016-05-17 05:43 |
| Error in GMP-ECM 6.4.3 and latest svn | ATH | GMP-ECM | 10 | 2012-07-29 17:15 |
| latest SVN 1677 | ATH | GMP-ECM | 7 | 2012-01-07 18:34 |
| Has anyone seen my latest treatise? | davieddy | Lounge | 0 | 2011-01-21 19:29 |
| Latest version? | [CZ]Pegas | Software | 3 | 2002-08-23 17:05 |