mersenneforum.org Setting up aliqueit
 Register FAQ Search Today's Posts Mark Forums Read

2011-10-05, 16:12   #1
science_man_88

"Forget I exist"
Jul 2009
Dumbassville

100000110000002 Posts
Setting up aliqueit

Quote:
Originally Posted by Jeff Gilchrist
Quote:
 Originally Posted by science_man_88 I've thought about doing some aliquot sequence stuff but I don't even know what versions to download or any of the algorithms used what would you suggest ? I'm using 64 bit windows 7 SP1 on a Pentium D processor with 3.19 GB of accessible memory.
Sorry, I haven't been following the aliquot group so I'm not sure exactly what they are using. I think they are using a combination of GMP-ECM and also YAFU/MSIEVE but I think they also have their own tool that calls the specific programs that are needed to process a sequence. I would suggest asking your question in the Aliquot Sequences forum: http://www.mersenneforum.org/forumdisplay.php?f=90

Jeff.
can anyone else help ?

2011-10-05, 20:40   #2
schickel

"Frank <^>"
Dec 2004
CDP Janesville

2·1,061 Posts

Quote:
 Originally Posted by science_man_88 can anyone else help ?
OK, first question: what is your environment like (what CPU and OS are you running)?

Last fiddled with by schickel on 2011-10-05 at 20:40 Reason: typo....

2011-10-05, 21:07   #3
EdH

"Ed Hall"
Dec 2009

3·5·223 Posts

Quote:
 Originally Posted by science_man_88 can anyone else help ?
If you'd like to look over my AliWin2 page, it might offer some direction. It is 32-bit and directed toward WinXP and running Aliqueit via AliWin, but it might get you started. You can set up the factoring programs without using AliWin. You can also look at the thread on AliWin if you'd rather, before going to the page.

2011-10-05, 21:22   #4
science_man_88

"Forget I exist"
Jul 2009
Dumbassville

20C016 Posts

Quote:
 Originally Posted by schickel OK, first question: what is your environment like (what CPU and OS are you running)?
it's in the quoted materials : 64-bit windows 7 SP1 on a machine with a Pentium D CPU and 3.19 of available ram.

2011-10-06, 10:33   #5
schickel

"Frank <^>"
Dec 2004
CDP Janesville

2·1,061 Posts

Quote:
 Originally Posted by science_man_88 it's in the quoted materials : 64-bit windows 7 SP1 on a machine with a Pentium D CPU and 3.19 of available ram.
Sorry, I totally missed that when I was reading the message earlier.

Let's see what we can do....
• Create a folder somewhere. I have mine set up this way: "c:\aliquot\auto\"
• Put Aliqueit and either miseve.exe or yafu.exe (or both) in the "auto" folder
• Put a copy of GMP-ECM.exe in the folder, too.
• Edit the aliqueuit.ini file to point to the exes:
Code:
//Executables
//
//Name (and path, if needed) of your gmp-ecm executable.
ecm_cmd = ecm

//Name (and path, if needed) of your yafu executable.
yafu_cmd = yafu

//Name (and path, if needed) of your msieve executable.
msieve_cmd = msieve
• Set a cut-off for the switchover to msieve/yafu:
Code:
//Use GNFS for composites >= this many digits.
gnfs_cutoff = 99
Now that you have everything installed, let's test things out. Try this and see what you get:
Code:
aliqueit 840
In a few minutes (or more, depending on speed) you should get the complete sequence for 840 ending with this:
Code:
 736 .   c4 = 4600 = 2^3 * 5^2 * 23
737 .   c4 = 6560 = 2^5 * 5 * 41
738 .   c4 = 9316 = 2^2 * 17 * 137
739 .   c4 = 8072 = 2^3 * 1009
740 .   c4 = 7078 = 2 * 3539
741 .   c4 = 3542 = 2 * 7 * 11 * 23
742 .   c4 = 3370 = 2 * 5 * 337
743 .   c4 = 2714 = 2 * 23 * 59
744 .   c4 = 1606 = 2 * 11 * 73
745 .   c4 = 1058 = 2 * 23^2
746 .   prp3 = 601 = 601
Sequence merges with earlier sequence 601.
(The last line may be different if you have detect_merge set to false....)

I put the binaries in the folder with aliqueit to keep the paths simple, and I keep the qs/nfs cutoff kept pretty high since my dual-core can handle large composties nicely with yafu dual threaded.

Let me know if you get it working this far.
Attached Thumbnails

2011-10-06, 12:06   #6
science_man_88

"Forget I exist"
Jul 2009
Dumbassville

203008 Posts

Quote:
 Originally Posted by schickel Now that you have everything installed, let's test things out. Try this and see what you get: Code: aliqueit 840 In a few minutes (or more, depending on speed) you should get the complete sequence for 840 ending with this: Code:  736 . c4 = 4600 = 2^3 * 5^2 * 23 737 . c4 = 6560 = 2^5 * 5 * 41 738 . c4 = 9316 = 2^2 * 17 * 137 739 . c4 = 8072 = 2^3 * 1009 740 . c4 = 7078 = 2 * 3539 741 . c4 = 3542 = 2 * 7 * 11 * 23 742 . c4 = 3370 = 2 * 5 * 337 743 . c4 = 2714 = 2 * 23 * 59 744 . c4 = 1606 = 2 * 11 * 73 745 . c4 = 1058 = 2 * 23^2 746 . prp3 = 601 = 601 Sequence merges with earlier sequence 601. (The last line may be different if you have detect_merge set to false....) I put the binaries in the folder with aliqueit to keep the paths simple, and I keep the qs/nfs cutoff kept pretty high since my dual-core can handle large composties nicely with yafu dual threaded. Let me know if you get it working this far.
I got it working as far as the test then don't see where to put the test case unless it's a command line thing to do from run because aliqueit never seems to stay open long ( either version that came in the download).

Last fiddled with by science_man_88 on 2011-10-06 at 12:09

2011-10-06, 12:39   #7
schickel

"Frank <^>"
Dec 2004
CDP Janesville

1000010010102 Posts

Quote:
 Originally Posted by science_man_88 I got it working as far as the test then don't see where to put the test case unless it's a command line thing to do from run because aliqueit never seems to stay open long ( either version that came in the download).
Bingo! If you double-click the program, it just prints some help text and then exits.

What you need to do is run it from a command window (cmd window, DOS box, whatever makes more since to you).

One way you can set it up is to create a shortcut in the directory for a cmd window. I'm on my Vista machine right now, but I can double-check the procedure on my 7 machine a little later.

Open up your work folder (again, mine is c:\aliquot\auto), open the Start Menu -> All Programs -> Accessories -> Command Prompt, right-click and drag to the folder, then drop; click on "Create Shorcuts Here". Then right-click the shortcut, select Properties, and change the path under "Start In:". On Vista, it defaults to %HomeDrive%%HomePath% which opens the command window in c:\users\<MyAccount>. I would make mine c:\aliquot\auto, which results in a command window with a c:\aliquot\auto> prompt.....

Last fiddled with by schickel on 2011-10-06 at 12:41 Reason: Fine tuning punctuation.

2011-10-06, 12:47   #8
science_man_88

"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts

Quote:
 Originally Posted by schickel Bingo! If you double-click the program, it just prints some help text and then exits. What you need to do is run it from a command window (cmd window, DOS box, whatever makes more since to you). One way you can set it up is to create a shortcut in the directory for a cmd window. I'm on my Vista machine right now, but I can double-check the procedure on my 7 machine a little later. Open up your work folder (again, mine is c:\aliquot\auto), open the Start Menu -> All Programs -> Accessories -> Command Prompt, right-click and drag to the folder, then drop; click on "Create Shorcuts Here". Then right-click the shortcut, select Properties, and change the path under "Start In:". On Vista, it defaults to %HomeDrive%%HomePath% which opens the command window in c:\users\. I would make mine c:\aliquot\auto, which results in a command window with a c:\aliquot\auto> prompt.....
I followed through with run:

Quote:
 C:\\aliquot\auto\aliqueit112\aliqueit_win32.exe 840
and the attached printscreen cropping is what it reads.
Attached Thumbnails

2011-10-06, 12:50   #9
schickel

"Frank <^>"
Dec 2004
CDP Janesville

2·1,061 Posts

Quote:
 Originally Posted by science_man_88 I followed through with run: and the attached printscreen cropping is what it reads.
OK, that means it probably isn't finding the qs program. What are you using, msieve or yafu?

EDIT: scratch that, it isn't finding either ECM or the qs program.....

Open the command window, run a dir, and paste the output here....

Last fiddled with by schickel on 2011-10-06 at 12:52 Reason: editing

2011-10-06, 12:53   #10
science_man_88

"Forget I exist"
Jul 2009
Dumbassville

203008 Posts

Quote:
 Originally Posted by science_man_88 I followed through with run: and the attached printscreen cropping is what it reads.
I think I know why this happens:

your instructions ( which I followed somewhat out of order but got this far) never say to download ggnfs but your instruction do hint that it might be nice.

2011-10-06, 12:55   #11
schickel

"Frank <^>"
Dec 2004
CDP Janesville

84A16 Posts

Quote:
 Originally Posted by science_man_88 I think I know why this happens: your instructions ( which I followed somewhat out of order but got this far) never say to download ggnfs but your instruction do hint that it might be nice.
Actually, it's not going to try GGNFS yet. 840 never gets over 50 digits, so it will just run ECM or qs to tackle this. Re-check my post above; I edited it after I posted it.

 Similar Threads Thread Thread Starter Forum Replies Last Post bsquared Aliquot Sequences 591 2020-09-09 16:51 Romuald Factoring 75 2016-08-27 09:46 johnadam74 Aliquot Sequences 4 2016-03-28 12:32 pakaran Aliquot Sequences 2 2015-09-12 23:10 Greebley Aliquot Sequences 35 2010-02-13 15:23

All times are UTC. The time now is 08:54.

Sun Sep 20 08:54:41 UTC 2020 up 10 days, 6:05, 0 users, load averages: 2.10, 1.52, 1.49