ConwayLife.com - A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

apgsearch v5.0

For general discussion about Conway's Game of Life.

Re: apgsearch v5.0

Postby GUYTU6J » July 11th, 2019, 12:40 pm

Could I retrieve the hauls that failed to upload due to bad internet connection and were terminated with q?
My two hours' electricity is to be wasted:
Greetings, this is apgluxe v5.09-ll2.2.12, configured for b38s23/C1.
Lifelib version: ll2.2.12
Compiler version: 7.4.0
Python version: '3.6.8 (default, Feb 14 2019, 22:09:48)  [GCC 7.4.0]'
[omitted]
37233589 soups completed.
Attempting to contact payosha256.
Internet does not exist; henceforth trying gol.hatsya.co.uk instead of catagolue.appspot.com...
No response!
Connection was unsuccessful.

"Fortunately", no new discovery, and 37233589 is prime.
Welcome to share your ideas about
etymology of names!
User avatar
GUYTU6J
 
Posts: 510
Joined: August 5th, 2016, 10:27 am
Location: outside Plain of Life

Re: apgsearch v5.0

Postby testitemqlstudop » July 11th, 2019, 10:43 pm

No, unless you logged your hauls.

With a script you can "re-upload" logged-but-unsubmitted hauls.
User avatar
testitemqlstudop
 
Posts: 846
Joined: July 21st, 2016, 11:45 am
Location: very very very very boats

Re: apgsearch v5.0

Postby GUYTU6J » July 11th, 2019, 11:09 pm

testitemqlstudop wrote:No, unless you logged your hauls.With a script you can "re-upload" logged-but-unsubmitted hauls.

How to log and where's the script?
Welcome to share your ideas about
etymology of names!
User avatar
GUYTU6J
 
Posts: 510
Joined: August 5th, 2016, 10:27 am
Location: outside Plain of Life

Re: apgsearch v5.0

Postby wildmyron » July 12th, 2019, 1:36 am

Unfortunately, as testitemqlstudop said, those results are not recoverable. Logging the submitted hauls with apgsearch can be done by giving the option "-L 1" to apgluxe. Normally this is combined with the testing option "-t 1" which disables uploading to Catagolue. However, the way that apgluxe deals with no internet connection is to continue with the current haul using the same seed and adding to the local census. This means it doesn't write a log file when it continues the search after authentication failed (if it did, then successive log files would contain duplicated results). Unfortunately this means that when apgluxe is quit, but authentication fails, no log file is written.

@calcyman:

- Is it possible to modify SoupSearcher.submitResults() to save the log file when apgluxe has been quit? I guess this would mean passing "running" (or "finished") into submitResults()

- Also a bug in option processing: "-t 1 -i 2 -L 1" causes apgluxe to run two iterations, but "-i 2 -t 1 -L 1" only does one iteration. Perhaps you could make the following change:
--- a/includes/apgluxe.h
+++ b/includes/apgluxe.h
@@ -79,7 +79,7 @@ int run_apgluxe(int argc, char *argv[]) {
             unicount = atoi(argv[i+1]);
         } else if (strcmp(argv[i], "-t") == 0) {
             testing = atoi(argv[i+1]);
-            if (testing) { iterations = 1; }
+            if (testing && !iterations) { iterations = 1; }
         } else if (strcmp(argv[i], "-p") == 0) {
             parallelisation = atoi(argv[i+1]);
         } else if (strcmp(argv[i], "--rule") == 0) {
The latest version of the 5S Project contains over 150,000 spaceships. Tabulated pages up to period 160 are available on the LifeWiki.
wildmyron
 
Posts: 1166
Joined: August 9th, 2013, 12:45 am

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests