mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Aliquot Sequences (https://www.mersenneforum.org/forumdisplay.php?f=90)
-   -   Aliperl.pl discussion (https://www.mersenneforum.org/showthread.php?t=13008)

mdettweiler 2010-02-05 18:27

[quote=henryzz;204662]Wouldn't it be easier to just use something like GPL?[/quote]
Yeah, that could work too...I'm not sure if the text declaring that would actually take up more room than my suggestion, though. :smile:

Mini-Geek 2010-02-05 19:14

[quote=EdH;204602]How about something like the following for the intro:
...[/quote]
Looks good. :smile:

I don't see why we need any sort of licensing or disclaimer, but I'm not against it (preferably something as small as possible).

EdH 2010-02-06 03:33

Hi Mini-Geek,

If this is OK with you:
[code]
#!/usr/lib/perl
#
# aliperl.pl developed by EdH and Mini-Geek (mersenneforum.org),
# provided "as is" for use at own risk. Developers not responsible
# for any damage caused by use or misuse of this script. (r5Feb10)
#
# This is a perl script to automatically advance aliquot sequences by
# communicating with factordb.com (via wget) and running Aliqueit
# (and its associated packages). For more details and latest version:
# http://www.mersenneforum.org/showthread.php?t=13008
#
# Uses $alinumfilename to hold the numbers to work with
# and the number of digits to work to for each. $alinumfilename
# has the following format: (without the # signs)
#
# 80 802200 802224
# 82 802300
#
# Which will run sequences 802200 and 802224 to 80 digits,
# and sequence 802300 to 82 digits.
#
# If the elf file already exists, it will skip downloading it.
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
[/code]let's provide an attachment copy. I added (r5Feb10) to start flagging the versions, so any users can tell if they have the latest.

Take Care,
Ed

Mini-Geek 2010-02-06 12:30

[quote=EdH;204698]If this is OK with you:[/quote]
Looks fine to me.
[quote=EdH;204698]let's provide an attachment copy. I added (r5Feb10) to start flagging the versions, so any users can tell if they have the latest.[/quote]
I think it'd be better to have that somewhere else, and more clearly stated. Maybe like:
[code]
#!/usr/lib/perl
#
# Version: 2010-Feb-06 (rev. 1)
#
...
[/code]Where the 'rev.' number would differentiate versions posted on the same day.

EdH 2010-02-06 13:57

1 Attachment(s)
Hi Mini-Geek,

Sounds good! I added the new version line, so here it is.

Take Care,
Ed

EdH 2010-02-07 20:09

Mini-Geek,

The machines I'm running this on are powered down at night.:sad: Since they are often sitting in ecm when they are shut off, I added a switch to my personal version to allow for the -e option of aliqueit for the first run only, when the machines are brought back up. Is that something of interest to yourself, or maybe for the next version?

Take Care,
Ed

mdettweiler 2010-02-08 01:51

[quote=EdH;204802]Mini-Geek,

The machines I'm running this on are powered down at night.:sad: Since they are often sitting in ecm when they are shut off, I added a switch to my personal version to allow for the -e option of aliqueit for the first run only, when the machines are brought back up. Is that something of interest to yourself, or maybe for the next version?

Take Care,
Ed[/quote]
I would definitely find it useful. When I'm running a sequence I'll often stop/restart it at various points throughout, either due to a shutdown or because I wanted to run something else for a little while. Plus, I believe (though I could be wrong) that most of the sequences one would acquire through subproject work or the like already have a reasonable amount of ECM done on their current cofactor from the last person who ran them, so it would be handy to use -e when starting in such a situation.

EdH 2010-02-08 04:03

1 Attachment(s)
[quote=mdettweiler;204824]I would definitely find it useful. When I'm running a sequence I'll often stop/restart it at various points throughout, either due to a shutdown or because I wanted to run something else for a little while. Plus, I believe (though I could be wrong) that most of the sequences one would acquire through subproject work or the like already have a reasonable amount of ECM done on their current cofactor from the last person who ran them, so it would be handy to use -e when starting in such a situation.[/quote]
OK, here's a version with the option to skip ecm for the first aliqueit run. Look for:
[code]
$skipecmonce = 0;
[/code]I left the default as 0. Simply change it to 1 to skip the first ecm. When this is set, a note will appear on the screen.

10metreh 2010-02-08 07:23

Lots of sequences at 80 digits don't seem to have very much ECM run on the cofactor.

EdH 2010-02-08 15:12

[quote=10metreh;204851]Lots of sequences at 80 digits don't seem to have very much ECM run on the cofactor.[/quote]

I've noticed a lot don't have the smaller factors for the last iteration. Is that because very little ecm was done, or the submitter just didn't do the extra work of entering?

I was also curious as to the time frame for the earlier work. Was 80 digits then equivalent to 100 digits now, CPU-wise?

10metreh 2010-02-08 19:11

[QUOTE=EdH;204894]I was also curious as to the time frame for the earlier work. Was 80 digits then equivalent to 100 digits now, CPU-wise?[/QUOTE]

The 60-to-80-digit work was done from 1999 to 2003, and the QS software wasn't as good either.


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

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