mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Mlucas (https://www.mersenneforum.org/forumdisplay.php?f=118)
-   -   Mlucas on HP-UX/PA-RISC setup question (https://www.mersenneforum.org/showthread.php?t=11820)

smoky 2009-05-02 23:48

Mlucas on HP-UX/PA-RISC setup question
 
Hello,

After just a day, this is becoming quite addictive!

I have an HP C3750 running HP-UX 11.11. I downloaded the corresponding Mlucas from the Mlucas Download page.

I then went to the Assignments page and requested an assignment. At this point, the instructions seem to diverge.

The assignment first line starts ECM=... (with eight comma separated integers) and is followed by the statement "Distribute the lines above to your computer's worktodo.txt files."

The Download page suggests "Copy the Test=... or DoubleCheck=... lines returned by the server into the worktodo.ini file ..."

Would someone have some additional details on how the ECM=... line can be transformed into a working worktodo.ini file, or what else I might need to do?

Thanks very much!

Smoky

cheesehead 2009-05-03 22:23

[quote=smoky;172001]The assignment first line starts ECM=... (with eight comma separated integers) and is followed by the statement "Distribute the lines above to your computer's worktodo.txt files."

The Download page suggests "Copy the Test=... or DoubleCheck=... lines returned by the server into the worktodo.ini file ..."[/quote]V24 and earlier versions of prime95 (for MS Windows) used the filename worktodo.[U]ini[/U]. V25 of prime95 uses the filename worktodo.[U]txt[/U] for exactly the same purpose.

I do not know for sure whether mlucas had the same change. Not being an mlucas user or scholar, I can only guess that mlucas may have had the same change, for compatibility with the Windows prime95 (* sigh *). Which name ending had your setup been using up until now for its "worktodo" file? Continue using the same one.

The change from ".ini" to ".txt" in prime95 had to be made for technical reasons related to features of Microsoft's Vista OS that weren't in its earlier OSes. Not all GIMPS documentation has been updated, as you found out. Sorry about that.

[quote]Would someone have some additional details on how the ECM=... line can be transformed into a working worktodo.ini file, or what else I might need to do?[/quote]Just copy the ECM= line(s) into whichever "worktodo" file (".txt" or ".ini") you have previously been using for all other assignments.

mdettweiler 2009-05-03 22:43

[quote=cheesehead;172151]Just copy the ECM= line(s) into whichever "worktodo" file (".txt" or ".ini") you have previously been using for all other assignments.[/quote]
But, I thought Mlucas doesn't do ECM work, just LL?

cheesehead 2009-05-03 22:45

I don't know. smoky should find out whether it does or not fairly quickly.

smoky 2009-05-03 23:44

cheesehead, thank you for this assistance.

[QUOTE=cheesehead;172151]Just copy the ECM= line(s) into whichever "worktodo" file (".txt" or ".ini") you have previously been using for all other assignments.[/QUOTE]

First, this Mlucas does use the .ini extension.

(This is a new setup on this host. I have not copied any files from prime95 on an OS X box where I have had no problems yet.)

I have copied the ECM=... line into worktodo.ini file. Starting Mlucas, I get -

[FONT="Courier New"]worktodo.ini file found...checking next exponent in range...
ERROR: Unrecognized/unsupported option.[/FONT]

Any further assistance would be appreciated.

Uncwilly 2009-05-04 01:13

Looking at the online MLucas readme, it does not appear to handle ECM.

Go back to the Primenet site and get a first time (or better yet, double check) primality test. Abandon the ECM test.

smoky 2009-05-04 01:40

[QUOTE=Uncwilly;172174]Looking at the online MLucas readme, it does not appear to handle ECM.

Go back to the Primenet site and get a first time (or better yet, double check) primality test. Abandon the ECM test.[/QUOTE]

Thanks, I appreciate the assistance.

I have tried each of "Smallest available first-time tests" and "Double-check tests" from Primenet. In each case, starting Mlucas reports the same issue:

[FONT="Courier New"]looking for worktodo.ini file...
worktodo.ini file found...checking next exponent in range...
p=390
ERROR: p must be at least 1024.[/FONT]

How do I set p > 1024 ?

Uncwilly 2009-05-04 14:36

I am not sure. But, if you post the line in your worktodo, others should be able to help.

rgiltrap 2009-05-04 21:45

First things first have you done the self test?

You need to run "Mlucas -s m" and see if that works first.

If that is successful send us your worktodo.ini

Cheers, Rob.

smoky 2009-05-05 00:18

[quote=Uncwilly;172255]I am not sure. But, if you post the line in your worktodo, others should be able to help.[/quote]


[quote=rgiltrap;172328]First things first have you done the self test?

You need to run "Mlucas -s m" and see if that works first.

If that is successful send us your worktodo.ini

Cheers, Rob.[/quote]

Thanks for this assistance.

I ran "Mlucas -s m" - it had a exit code of 0 (success). But with no pre-existing worktodo.ini - it didn't create one. Is that what's expected? It did update mlucas.cfg.

ewmayer 2009-05-05 00:41

[QUOTE=smoky;172177]Thanks, I appreciate the assistance.

I have tried each of "Smallest available first-time tests" and "Double-check tests" from Primenet. In each case, starting Mlucas reports the same issue:

[FONT="Courier New"]looking for worktodo.ini file...
worktodo.ini file found...checking next exponent in range...
p=390
ERROR: p must be at least 1024.[/FONT]

How do I set p > 1024 ?[/QUOTE]

Hi, smoky:

You need to obtain a prime exponent from the Primenet server (or from the manual assignments reservation thread on this forum) and paste that into the worktodo.ini file like so:

Test=[exponent]

Cheers,
-Ernst


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

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