![]() |
![]() |
#1 |
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
29×367 Posts |
![]()
The latest CUDA compiler no longer supports the cc2.x architecture. This has caused a number of problems and has now hit msieve's Makefile.
![]() Anyone want to decide what to do and update msieve appropriately? I'd do it but there are doubtless folks here more skilled than I am. For a start, I have no capability to build under Windoze. FWIW, GMP-ECM has hit the same issue. I'm responsible for the CUDA build there but we explicitly don't support native Windoze builds and so the problem can be safely ignored for the time being. Added in edit: I really don't want to do it. An attempt to kludge my way through led me in to a twisty little maze of nvcc options all different. Last fiddled with by xilman on 2018-01-01 at 17:31 |
![]() |
![]() |
![]() |
#2 |
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
101001100100112 Posts |
![]()
It gets worse:
Code:
pcl@anubis ~/nums/msieve-code/trunk $ ./msieve -i W852.n -g 0 -t 6 -np integrator failed nan inf Nope it didn't. ![]() I can see the New Year's resolution is to get the old tool kits working again. Ho hum. Last fiddled with by xilman on 2018-01-01 at 19:00 |
![]() |
![]() |
![]() |
#3 |
"Oliver"
Sep 2017
Porta Westfalica, DE
1110100112 Posts |
![]()
This message occured with "recent" CADO-NFS 2.3.0 with CUDA. For reference, since this was the only exact search result for that exact message I got on Google, I got it working by removing every temporary or intermediate file in the executable's directory. Before that, it crashed with the exact same message.
|
![]() |
![]() |
![]() |
#4 |
"Oliver"
Sep 2017
Porta Westfalica, DE
1110100112 Posts |
![]() |
![]() |
![]() |
![]() |
#5 |
Sep 2009
34×52 Posts |
![]()
The last time I had to install msieve on a system with a CUDA capable GPU I had to update the Makefiles as follows:
Code:
chris@sirius:~/factordb$ diff -u /home/chris/msieve.1030/trunk/Makefile /home/chris/msieve.1030.cuda/trunk/Makefile --- /home/chris/msieve.1030/trunk/Makefile 2019-12-07 19:15:56.039498635 +0000 +++ /home/chris/msieve.1030.cuda/trunk/Makefile 2019-12-07 20:01:18.819251935 +0000 @@ -196,8 +196,8 @@ #---------------------------------- GPU file lists ------------------------- +# stage1_core_sm20.ptx GPU_OBJS += \ - stage1_core_sm20.ptx \ stage1_core_sm30.ptx \ stage1_core_sm35.ptx \ stage1_core_sm50.ptx \ @@ -334,8 +334,8 @@ # GPU build rules -stage1_core_sm20.ptx: $(NFS_GPU_HDR) - $(NVCC) -arch sm_20 -ptx -o $@ $< +#stage1_core_sm20.ptx: $(NFS_GPU_HDR) +# $(NVCC) -arch sm_20 -ptx -o $@ $< stage1_core_sm30.ptx: $(NFS_GPU_HDR) $(NVCC) -arch sm_30 -ptx -o $@ $< @@ -347,4 +347,4 @@ $(NVCC) -arch sm_50 -ptx -o $@ $< cub/built: - cd cub && make WIN=$(WIN) WIN64=$(WIN64) sm=200,300,350,520 && cd .. + cd cub && make WIN=$(WIN) WIN64=$(WIN64) sm=300,350,520 && cd .. Code:
chris@sirius:~/factordb$ diff -u /home/chris/msieve.1030/trunk/cub/Makefile /home/chris/msieve.1030.cuda/trunk/cub/Makefile --- /home/chris/msieve.1030/trunk/cub/Makefile 2019-12-07 19:16:01.763534223 +0000 +++ /home/chris/msieve.1030.cuda/trunk/cub/Makefile 2019-12-09 21:40:42.328453882 +0000 @@ -16,7 +16,7 @@ NVCC = "$(shell which nvcc)" CUDA_ROOT = $(shell dirname $(NVCC))/../ EXT = so - NVCCFLAGS += -Xptxas -v -Xcudafe -\# -shared -Xptxas -abi=no \ + NVCCFLAGS += -Xptxas -v -Xcudafe -\# -shared \ -Xcompiler -fPIC -Xcompiler -fvisibility=hidden endif @@ -43,14 +43,6 @@ SM_TARGETS += -gencode=arch=compute_30,code=\"sm_30,compute_30\" SM_DEF += -DSM300 endif -ifeq (210, $(findstring 210, $(SM_ARCH))) - SM_TARGETS += -gencode=arch=compute_20,code=\"sm_21,compute_20\" - SM_DEF += -DSM210 -endif -ifeq (200, $(findstring 200, $(SM_ARCH))) - SM_TARGETS += -gencode=arch=compute_20,code=\"sm_20,compute_20\" - SM_DEF += -DSM200 -endif rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d)) Chris |
![]() |
![]() |
![]() |
#6 | |
May 2008
Worcester, United Kingdom
10000011102 Posts |
![]() Quote:
Last fiddled with by Brian Gladman on 2021-01-26 at 17:44 |
|
![]() |
![]() |
![]() |
#7 | |
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
246238 Posts |
![]() Quote:
![]() Do you have fully static builds available? As I can't get anything to work natively it might be worth trying to run a Windows executable under WINE. |
|
![]() |
![]() |
![]() |
#8 | |
May 2008
Worcester, United Kingdom
20E16 Posts |
![]() Quote:
The builds in the official repositories for GMP-ECM and MSIEVE are both static. If you don't know the repository locations I can let you have them (I am not sure about posting their locations here). |
|
![]() |
![]() |
![]() |
#9 |
Apr 2010
Over the rainbow
43·59 Posts |
![]()
I would love a ptx compatible with a compute ability 7.5....
|
![]() |
![]() |
![]() |
#10 |
"Alexander"
Nov 2008
The Alamo City
569 Posts |
![]()
Seconded. Attempting to build msieve and GMP-ECM on my brand-new Kubuntu Focus (RTX 2060) was very frustrating, and I still don't think I did it right.
Last fiddled with by Happy5214 on 2021-01-27 at 03:24 Reason: Clarify |
![]() |
![]() |
![]() |
#11 |
May 2008
Worcester, United Kingdom
2×263 Posts |
![]()
Anyone who is having problems in building Windows x64 CUDA versions of MSIEVE or GMP-ECM using Visual Studio 2019 is welcome to report their issues here and I will do what I can to help.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CUDA 5.5 | ET_ | GPU Computing | 2 | 2013-06-13 15:50 |
AVX CPU LL vs CUDA LL | nucleon | GPU Computing | 11 | 2012-01-04 17:52 |
Best CUDA GPU for the $$ | Christenson | GPU Computing | 24 | 2011-05-01 00:06 |
CUDA P-1? | nucleon | GPU Computing | 2 | 2010-11-17 17:52 |
CUDA? | Xentar | Conjectures 'R Us | 6 | 2010-03-31 07:43 |