mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2022-08-07, 22:55   #34
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2·1,163 Posts
Default

Quote:
Originally Posted by charybdis View Post
You've already been talking to the author. He is "frmky". (Edit for clarification: he's only the author of that github repo with the GPU linear algebra and multithreaded square root. The main author of msieve is "jasonp".)

It looks like you're trying to run msieve NFS postprocessing without a polynomial file. What number are you trying to run it on? If you're trying to run it on the benchmarking job, have you copied the msieve.fb, msieve.dat and worktodo.ini files across to the directory that has the msieve binary?
What I am trying to run is a number from James Heinrich's Factoring Project. It is a 128 digits in length. msieve never runs long enough to generate the msieve.??? files you mention. "Error line 1062." All I have is the worktodo.ini. All other files are in the same folder as the main program.

I know the GPU setup is correct. It ran gpuOwl overnight last night without problems.

Last fiddled with by storm5510 on 2022-08-07 at 22:57 Reason: Additional
storm5510 is offline   Reply With Quote
Old 2022-08-08, 00:05   #35
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

1001101010002 Posts
Default

Quote:
Originally Posted by storm5510 View Post
"Error line 1062."
That would be the line
Code:
CUDA_TRY(cuModuleLoad(&t->gpu_module, "stage1_core.ptx"))
Make sure you have the files stage1_core.ptx and lanczos_kernel.ptx in the same directory in which you are running msieve as well as sort_engine.so and spmv_engine.so in the cub subdirectory.

If you do have stage1_core.ptx in the same directory as msieve, then what is the output of
Code:
head -n 15 stage1_core.ptx

Last fiddled with by frmky on 2022-08-08 at 00:09
frmky is offline   Reply With Quote
Old 2022-08-08, 13:49   #36
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2×1,163 Posts
Default

Quote:
Originally Posted by frmky View Post
...Make sure you have the files stage1_core.ptx and lanczos_kernel.ptx in the same directory in which you are running msieve as well as sort_engine.so and spmv_engine.so in the cub subdirectory.

If you do have stage1_core.ptx in the same directory as msieve, then what is the output of
Code:
head -n 15 stage1_core.ptx
All files mentioned above are present and in their proper place.

Code:
$ ./msieve head -n 15 stage1_core.ptx

deadline: 8640000 CPU-seconds per coefficient
error (line 1062): unexpected error

Last fiddled with by storm5510 on 2022-08-08 at 13:55 Reason: Correction
storm5510 is offline   Reply With Quote
Old 2022-08-08, 13:58   #37
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

22×7×41 Posts
Default

In the case of the head ... command, please leave out the ./msieve part. Thanks!
kruoli is online now   Reply With Quote
Old 2022-08-08, 15:42   #38
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

44268 Posts
Default

Quote:
Originally Posted by kruoli View Post
In the case of the head ... command, please leave out the ./msieve part. Thanks!
Code:
//
// Compiler Build ID: CL-26907403
// Cuda compilation tools, release 10.1, V10.1.243
// Based on LLVM 3.4svn
//

.version 6.4
.target sm_75
.addresss_size 64

// globl  sieve_kernel_trans_pp32_r32

.visible .entry sieve_kernel_trans_pp32_r32(
The hanging "(" in the last line is not a typo. It took some neck-stretching to get this right.
storm5510 is offline   Reply With Quote
Old 2022-08-08, 16:13   #39
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

22·7·41 Posts
Default

It looks like the stx file is made for a card with CC of 7.5 instead of the 6.1 you want to have.

Unfortunately, I am not sure why it is like this if you have cleaned (make clean) everything, but surely someone else will chime in here.
kruoli is online now   Reply With Quote
Old 2022-08-08, 16:46   #40
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2·1,163 Posts
Default

Quote:
Originally Posted by kruoli View Post
It looks like the stx file is made for a card with CC of 7.5 instead of the 6.1 you want to have.

Unfortunately, I am not sure why it is like this if you have cleaned (make clean) everything, but surely someone else will chime in here.
It is a GTX 1080. CC is 7.5.

Two days ago, this was a clean HD. Totally wiped and reloaded with Ubuntu 20.04.4 LTS. There were no errors in the msieve compile. gpuOwl and mfaktc both run as they should.

IMHO, there are too many options for GPU drivers. I had been using 510. This time, I went back to 470.

FWIW, mfaktc reports it is using CUDA 10.xx
storm5510 is offline   Reply With Quote
Old 2022-08-08, 17:24   #41
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

46508 Posts
Default

Quote:
Originally Posted by storm5510 View Post
It is a GTX 1080. CC is 7.5.
Not according to
Quote:
Originally Posted by storm5510
It sees the GPU and says it has CUDA arch 6.1.
frmky is offline   Reply With Quote
Old 2022-08-08, 18:00   #42
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

2×32×271 Posts
Default

Quote:
Originally Posted by storm5510 View Post
It is a GTX 1080. CC is 7.5.
A check for the specs for this card shows CUDA 6.1 (as nvidia-smi reported), so you should use CUDA=61 as frmky suggested a bit ago.

ETA: "arch" stands for architecture, which is synonymous with Compute Capability, and is also shown as CUDA in some references. You can can see the specs on this page, and look at Graphics Features for the "CUDA" value.

Last fiddled with by EdH on 2022-08-08 at 18:11
EdH is offline   Reply With Quote
Old 2022-08-08, 22:47   #43
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2×1,163 Posts
Default

Quote:
Originally Posted by EdH View Post
A check for the specs for this card shows CUDA 6.1 (as nvidia-smi reported), so you should use CUDA=61 as frmky suggested a bit ago.

ETA: "arch" stands for architecture, which is synonymous with Compute Capability, and is also shown as CUDA in some references. You can can see the specs on this page, and look at Graphics Features for the "CUDA" value.
Honestly, I cannot remember where I got the "6.1" from. nvidia-smi does not show it.
.....
I found it in another location. mfaktc shows it in the information upon startup, "compute capability 6.1." So, I did this:

Code:
make all CUDA=61 VBITS=256
I think I need to dump the entire folder because I still gets the line 1062 error. Next:

Code:
make clean
make all CUDA=61 VBITS=256
It runs!!!

I really appreciate everyone here trying to help while putting up with my Linux ignorance!
storm5510 is offline   Reply With Quote
Old 2022-08-09, 05:05   #44
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

5×43×47 Posts
Default

Quote:
Originally Posted by storm5510 View Post
my Linux ignorance!
at least here, you are not alone... (edit: to be clear, I have been a programmer for over 30 years, and I consider myself a VERY good one, but never went deeper under the surface related to Linux - members of the forum helped me every time, as well as a lot of web search and trials, when I was stuck with my nose and ears into it and could not move my head...)

Last fiddled with by LaurV on 2022-08-09 at 05:06
LaurV is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perpetual benchmark thread... Xyzzy Hardware 877 2022-09-18 19:58
Non-ECM posts pulled from ECM question thread. chalsall Forum Feedback 43 2019-03-26 16:10
LLR benchmark thread Oddball Riesel Prime Search 5 2010-08-02 00:11
sr5sieve Benchmark thread axn Sierpinski/Riesel Base 5 25 2010-05-28 23:57
You have x posts in this thread, last date masser Forum Feedback 3 2008-06-06 19:34

All times are UTC. The time now is 09:52.


Wed Sep 28 09:52:50 UTC 2022 up 41 days, 7:21, 0 users, load averages: 1.21, 0.86, 0.83

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔