mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2010-01-22, 01:19   #89
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

3·7·17·31 Posts
Default

Quote:
Originally Posted by TheJudger View Post
Uncwilly: M3312xxxxxx from 2^1 to 2^71 needs ~5m 35s on my system :)
If you or anyone else gets bored, here is a lovely link to some work that might keep you busy for a little while.
http://v5www.mersenne.org/report_fac...=1&B1=Get+Data
Uncwilly is offline   Reply With Quote
Old 2010-01-22, 03:09   #90
moebius
 
moebius's Avatar
 
Jul 2009
Germany

2×353 Posts
Default

Quote:
Originally Posted by BigBrother View Post
I don't know if MSVC is the first choice for CUDA on Windows, it's the only one i've got here. I'm using a student license for MSVC.
MSVC 8.0 or 9.0 are default for CUDA

I have now installed MSVC 9.0, however I can not compile the sourcecode for version 0.03 because the librays <sys/time.h> <unistd.h> don't exist
in VisualC++.

Please tell me the trick.
moebius is offline   Reply With Quote
Old 2010-01-22, 08:54   #91
BigBrother
 
Feb 2005
The Netherlands

2·109 Posts
Default

Quote:
Originally Posted by moebius View Post
MSVC 8.0 or 9.0 are default for CUDA

I have now installed MSVC 9.0, however I can not compile the sourcecode for version 0.03 because the librays <sys/time.h> <unistd.h> don't exist
in VisualC++.

Please tell me the trick.
I removed those two lines and included <timeval.h>, which is available here.

You'll also have to replace every %Lu by %llu in printf statements, and maybe some other minor things as well. Just ask if you run into more troubles.
BigBrother is offline   Reply With Quote
Old 2010-01-22, 09:54   #92
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

5×7×139 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
70->71 on a single core ~8h on my laptop. 0.72 GHz Days credit.
Did you test it with Factor5? AFAIK, Prime95 can't work with such exponents...

Luigi
ET_ is offline   Reply With Quote
Old 2010-01-22, 10:23   #93
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

100010110112 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
70->71 on a single core ~8h on my laptop. 0.72 GHz Days credit.
That is for M332xxxxxx from your link the the primenet server?
I was talking about M3312xxxxxx.
Otherwise the speedup seems to be way to much!

Oliver
TheJudger is offline   Reply With Quote
Old 2010-01-22, 13:45   #94
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

2B3B16 Posts
Default

Quote:
Originally Posted by TheJudger View Post
That is for M332xxxxxx from your link the the primenet server?
I was talking about M3312xxxxxx.
Otherwise the speedup seems to be way to much!
Since you called me out, I assumed that you were talking about a 100M digit. I didn't count the xxx's. I was quoting based upon 332,2xx,xxx.
Uncwilly is offline   Reply With Quote
Old 2010-01-22, 20:30   #95
moebius
 
moebius's Avatar
 
Jul 2009
Germany

70610 Posts
Unhappy

Quote:
Originally Posted by BigBrother View Post
Just ask if you run into more troubles.
This has so basically works, but I had to compile with the /TP option because of the error message
referring to unresolved external "_sieve_candidates" in ......


Now, still enters the following "syntax error" in mfaktc.cu.


E:\Programme\Microsoft Visual Studio 9.0\VC\bin>nvcc --compiler-options "/TP" E:\Programme\mfaktc\mfaktc-0.03\mfaktc.cu


mfaktc.cu
cl : Befehlszeile warning D9025 : "/TC" wird durch "/TP" überschrieben
tmpxft_00002ecc_00000000-3_mfaktc.cudafe1.gpu
C:\DOKUME~1\avatara\LOKALE~1\Temp/tmpxft_00002ecc_00000000-3_mfaktc.cudafe1.gpu(
5): error: expected an identifier
C:\DOKUME~1\avatara\LOKALE~1\Temp/tmpxft_00002ecc_00000000-3_mfaktc.cudafe1.gpu(
5): error: expected a ";"
e:\programme\cudatoolkit\include\cuda_texture_types.h(60): warning: parsing restarts here after previous syntax error
..
..

Last fiddled with by moebius on 2010-01-22 at 20:32
moebius is offline   Reply With Quote
Old 2010-01-22, 21:19   #96
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

5·223 Posts
Default

Hi,

Quote:
Originally Posted by Uncwilly View Post
Since you called me out, I assumed that you were talking about a 100M digit. I didn't count the xxx's. I was quoting based upon 332,2xx,xxx.
sorry, my fault. I've mixed up some stuff. I remembered that you've asked "can it handle <some size> exponents" before. Actually it was 100+M digits while I was did some 1G digits exponents in the past days.

-----
Luigi: Let me first have atleast one code which is "known to work". Expanding it to a bigger range is not that difficult. I'll do it later (no timeline yet).
When you can't resist and want to try yourself to implement bigger factors: wait at least for the next version. I expect some changes in the function mod_144_72(). I hope for some speedups there.


Oliver
TheJudger is offline   Reply With Quote
Old 2010-01-22, 21:36   #97
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

17FD16 Posts
Default

Does the latest version support trial factoring of exponents less than 1M? When will it?
When my pc is fixed i will try the latest version.
henryzz is offline   Reply With Quote
Old 2010-01-22, 22:28   #98
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

21338 Posts
Default

Hi David,

No, the current version doesn't support exponents <1M. But this limit is artificial. Actually I haven't even tried such low exponents.


Is there any usage for TF on such low exponents?


Oliver
TheJudger is offline   Reply With Quote
Old 2010-01-22, 23:34   #99
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

5·7·139 Posts
Thumbs up

Quote:
Originally Posted by TheJudger View Post
Luigi: Let me first have atleast one code which is "known to work". Expanding it to a bigger range is not that difficult. I'll do it later (no timeline yet).
When you can't resist and want to try yourself to implement bigger factors: wait at least for the next version. I expect some changes in the function mod_144_72(). I hope for some speedups there.


Oliver
Thanks Oliver, you are doing great on this field.

I'll be watching the thread and waiting for some news, thank you for your effort.

Luigi
ET_ is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1724 2023-06-04 23:31
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 42 2022-12-18 05:59
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 14:21.


Fri Jul 7 14:21:20 UTC 2023 up 323 days, 11:49, 0 users, load averages: 0.89, 1.13, 1.20

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

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