This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's General Open Topic subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Open Topic & United-TI Talk => General Open Topic
Author Message
ShadowPhoenix


Newbie


Joined: 19 Aug 2009
Posts: 20

Posted: 20 Aug 2009 02:20:56 pm    Post subject:

FloppusMaximus wrote:
As I mentioned, you'll need to download all the data files and combine them into one huge k0A.dat file. You need a k0A.ini file containing the number to be factored, and a k0A.fb file containing the polynomial (these are both generated by the factMsieve script, but I could get you copies of these as well if need be.) Put all that stuff in one directory, and run


ShadowPhoenix: I might be able to cross-compile Msieve for you, but maybe it would be better if somebody with a Mac did it instead. Smile


If you could that'd be fantastic.

I just SSHed into the monster and downloading the 3GB file. It should take about 10 more minutes.

If you could please contact me on AIM (ZOMFG111).

I will try to compile it on the machine... gcc v4.0.1.


EDIT:

All data files downloaded. I need the factMsieve script. How do I compine k0A.dat files into one?

[indent]pick a target:
x86 32-bit Intel/AMD systems (required if gcc used)
x86_64 64-bit Intel/AMD systems (required if gcc used)
generic portable code
add 'ECM=1' if GMP-ECM is available (enables ECM and
advanced NFS polynomial selection)
or add 'GMP=1' if only GMP is available and you want the
advanced NFS polynomial selection
[/indent]

OMG so apparently this mac is 32 bit and not 64 0_0
[indent]RELEASE_I386 i386[/indent]
But I compiled msieve for 32bit. It seems to not crash. Now I just need the script!


Last edited by Guest on 20 Aug 2009 02:34:26 pm; edited 1 time in total
Back to top
Skittle


Newbie


Joined: 11 Aug 2009
Posts: 23

Posted: 20 Aug 2009 03:01:26 pm    Post subject:

FloppusMaximus wrote:
Skittle: I don't remember if you mentioned your system's specs. Smile


Q6600 @ 3.0ghz + 4gb ram
pretty generic, but i have 24hour access (since i own it Razz ), can leave it on for days at a time, and i already have everything compiled for 64bit debian

FloppusMaximus wrote:
doesn't Windows have issues with files larger than 4 GB?

no, perhaps you are thinking of the FAT32 file system?

PS regarding the dat file, can we just cat them together (in order?) or does that require something special?


Last edited by Guest on 20 Aug 2009 03:08:39 pm; edited 1 time in total
Back to top
limx


Newbie


Joined: 18 Aug 2009
Posts: 15

Posted: 20 Aug 2009 03:27:16 pm    Post subject:

Catting them together should work, if the order of the filenames is right you can try:


Code:
cat *.dat > complete.dat
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 03:30:24 pm    Post subject:

Yep, you can just cat the files together. The order doesn't matter. ShadowPhoenix is currently working on it with his monster Mac, so we may not be needing your CPU after all.
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 04:21:58 pm    Post subject:

Don't drop those pencils yet! Word from relation filtering is that we still need more relations. Another couple million should do it.

Squalyl, are we still waiting for any more results from BOINC? If not, could you put in another chunk of workunits, please?
Back to top
ShadowPhoenix


Newbie


Joined: 19 Aug 2009
Posts: 20

Posted: 20 Aug 2009 04:29:26 pm    Post subject:

It seems that those relations require monstrous amounts of RAM.(6gigs?)

As for relations it seems (if I am MAYBE reading this correctly) that we need 1.2M more "clean" realtions. Right now we have 17M?

Assuming the majority of work was done in the past 5 days that signifies abotu ~10% more... so 12 hours.


Last edited by Guest on 20 Aug 2009 04:52:17 pm; edited 1 time in total
Back to top
dga


Newbie


Joined: 20 Aug 2009
Posts: 7

Posted: 20 Aug 2009 04:53:00 pm    Post subject:

If you need more (or even think you might need more) relations, you might add them sooner rather than later. I've added 76 cores from my cluster while we're in the process of moving to a new cluster management system, but we'll probably be taking it down in a week or two for the switchover, after which the machines will no longer be idle. In the meantime, please feel free to abuse the heck out of them. It looks like you're set as far as machines for the final computation, but drop me a note if you end up short. Plenty of 8 core / 16GB dram machines to lend for a few days if needed. I'm happy to support your project for a while, though human-time to do so is going to be very limited. Smile
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 07:07:29 pm    Post subject:

dga: Wow, thanks! Right now the easiest way you can help is just running the BOINC client. But if you do want to work on final processing, there are plenty more keys to go around.

It looks like results are still coming in for the 0A key. When ShadowPhoenix tried running Msieve a few hours ago, it claimed that it needed 1166409 more relations. My experience has been that these estimates are never very accurate. But we are very close at this point - it got to the last stage of relation filtering with 760062 surplus relations (out of 990401 needed.)
Back to top
ShadowPhoenix


Newbie


Joined: 19 Aug 2009
Posts: 20

Posted: 20 Aug 2009 09:00:39 pm    Post subject:

@dga:

Thank you so much for your work! I can do everything needed for final computation on yours (if you don't mind) if you can provide me with a user/IP. All that's needed is download some data from HTTP, uncompress, cat it together, download msieve, make msieve (no admin rights needed, it gcc's it in place), and then run msieve.

I don't think you even need to put the user into any groups. No su/sudo, only internet access and gcc access. And about 20 gigs of space. (maybe 10 if you can't do 20)

Or I can make a python script to do all that so you can inspect source code Smile. Whichever way you prefer.



If anyone is willing to put up new BOINC result I am ready to try it out now or a bit later when dga reports back.

EDIT: omg, it's 2AM! New data will be downloaded in 10 minutes. 28 minutes and I will let everyone know.


Last edited by Guest on 20 Aug 2009 09:11:13 pm; edited 1 time in total
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 09:10:26 pm    Post subject:

There should be a new version of 'all_ti84p.tar' up by now. If you want to be a little kinder to the server, note that in the other thread, Lionel posted some commands you can use to download only those result files you don't already have.
Back to top
ShadowPhoenix


Newbie


Joined: 19 Aug 2009
Posts: 20

Posted: 20 Aug 2009 09:13:16 pm    Post subject:

FloppusMaximus wrote:
There should be a new version of 'all_ti84p.tar' up by now. If you want to be a little kinder to the server, note that in the other thread, Lionel posted some commands you can use to download only those result files you don't already have.


Very sorry, I am 2 minutes away from having the latest.

can you please link me to the other thread for next time?
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 09:14:33 pm    Post subject:

Here: http://www.unitedti.org/index.php?showtopi...st&p=135741
Back to top
ShadowPhoenix


Newbie


Joined: 19 Aug 2009
Posts: 20

Posted: 20 Aug 2009 09:32:02 pm    Post subject:

FloppusMaximus wrote:

roget that. :)

I just launched a second attempt. 15 minutes and I can let everyone know if it wants more, if it ran out of memory or if it's working.


"error -4 converting '514644.23'
error -8 converting '5 7797600'
error -8 converting '4 23599061408952'
error -8 converting '3 87576392702571674174'
error -11 converting '2 -346231005879880708232825'
error -11 converting '1 -3621573065566539657182186001324'
error -11 converting '0 -174992518730891284837277302704395277'
error -8 converting '1 640915374563362171'
error -11 converting '0 -276214470369449464279330486112'
"
wow weird.


Is this line right?
./msieve -i k0A.ini -s k0A.dat2 -nf k0A.fb -nc -v -p -t 8


Last edited by Guest on 20 Aug 2009 09:52:28 pm; edited 1 time in total
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 09:57:57 pm    Post subject:

It sounds like the .fb and .ini files got mixed up somehow. The .ini file should just contain one line (the number to factor.) The .fb file should contain a bunch of polynomial coefficients and sieving parameters.

Your command line looks correct...
Back to top
ShadowPhoenix


Newbie


Joined: 19 Aug 2009
Posts: 20

Posted: 20 Aug 2009 10:04:25 pm    Post subject:

MD5 (k0A.ini) = 140ff3efa5f3282b1e488cf9a9a782f1
MD5 (k0A.fb) = 140ff3efa5f3282b1e488cf9a9a782f1

cat k0A.ini
[indent]N 12537072476862421230323818220670094176024121433129402568805703301509542532518840
117998301702770251376727694567865443226427097771931350481518184606521695409
SKEW 514644.23
A5 7797600
A4 23599061408952
A3 87576392702571674174
A2 -346231005879880708232825
A1 -3621573065566539657182186001324
A0 -174992518730891284837277302704395277
R1 640915374563362171
R0 -276214470369449464279330486112
FAMAX 27000000
FRMAX 27000000
SALPMAX 536870912
SRLPMAX 536870912[/indent]


Edit: re-doing it with normal .ini file. Typed it in by hand

So, be back in 15 mins and I will tell if it works now.


Last edited by Guest on 20 Aug 2009 10:11:12 pm; edited 1 time in total
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 10:10:45 pm    Post subject:

Oops :)

head -1 k0A.fb | awk '{print $2}' > k0A.ini
Back to top
ShadowPhoenix


Newbie


Joined: 19 Aug 2009
Posts: 20

Posted: 20 Aug 2009 10:30:18 pm    Post subject:

Ah much better. Now it doesn't try to factor the Rvalues. Instead I get...

[indent]
commencing in-memory singleton removal
begin with 18302760 relations and 17234762 unique ideals
reduce to 18044029 relations and 16975451 ideals in 15 passes
max relations containing the same ideal: 25
filtering wants 1000000 more relations
elapsed time 00:19:19

[/indent]


Weird! We only gained 166 409 relations in one full day of BOINC? Or did we update BOINC prematurely yesterday?

Either way, don't give up, we'll get them soon! Focus on 84p! All hands on deck!


Last edited by Guest on 20 Aug 2009 10:39:26 pm; edited 1 time in total
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 10:59:00 pm    Post subject:

How are you counting? You didn't say how many there were before filtering, but after filtering, we've gained 909639 relations and 601123 ideals - i.e., a net gain of 308516.

Edit: Oh, sorry, you're looking at the last line there. Yeah, when Msieve says "filtering wants 1000000 more" it just means it can't figure out how many more it wants. :)

Apparently it wants more excess than it needed for the 04 key. But we also have a lot more small ideals, since we've been sieving the small q values.


Last edited by Guest on 20 Aug 2009 11:00:57 pm; edited 1 time in total
Back to top
ShadowPhoenix


Newbie


Joined: 19 Aug 2009
Posts: 20

Posted: 20 Aug 2009 11:05:46 pm    Post subject:

FloppusMaximus wrote:
How are you counting? You didn't say how many there were before filtering, but after filtering, we've gained 909639 relations and 601123 ideals - i.e., a net gain of 308516.

Edit: Oh, sorry, you're looking at the last line there. Yeah, when Msieve says "filtering wants 1000000 more" it just means it can't figure out how many more it wants. :)

Apparently it wants more excess than it needed for the 04 key. But we also have a lot more small ideals, since we've been sieving the small q values.


I was just looking that before it wanted 1 166 409 relations more Smile, and now it wants a million.

But yeah, I guess the next update we will have it. How are small ideals good?
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 20 Aug 2009 11:40:57 pm    Post subject:

Small ideals aren't better or worse than large ones (well, OK, they're better if they make it easier to find relations.) My point was just that Msieve is expecting a different distribution of ideals than what we have. I don't think this is a major problem, but it is a rather complicated business, and I can't claim to understand it all.

The main goal is simply for us to have more relations than ideals (once that happens, we can build a matrix, solve for linear dependencies, and hopefully, derive a factorization from one of those dependencies.) A secondary goal is for the matrix to be as small as possible (so that it's easier to solve.) The singleton removal phase serves both of these purposes, by removing unhelpful relations. You'll notice that Msieve performs singleton removal in two steps; in the first step, it only looks at "large" ideals above some limit (e.g., 40 million); in the second step, it adds smaller (but still rather large) ideals into the mix. But it always ignores ideals smaller than 7.2 million, and it also ignores ideals that occur very frequently; these ideals figure into the "target excess". So as we add more relations, the target excess will continue to increase (though, hopefully, the actual excess will increase faster.) At any rate, that's the best I can gather from reading bits of the Msieve source. Smile


Last edited by Guest on 20 Aug 2009 11:41:38 pm; edited 1 time in total
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
» View previous topic :: View next topic  
Page 7 of 10 » All times are UTC - 5 Hours

 

Advertisement