You can ignore the warnings...I need to change the loglevel on those that is misleading.
Can you try the following? This should fix the lookup-table-5x5x5-step40-LR-t-centers-solve.txt error
Code:
$ cd ~/rubiks-cube-NxNxN-solver
$ git pull
$ sudo python3 setup.py install
I added memory requirements to the README...in a nutshell 4x4x4 takes 1G, 5x5x5 takes 600M, etc. I should be able to bring the memory requirements down some more though.
Thanks for the quick response.
Unfortunately, was not able to solve the 5x5x5. I went back to verify smaller cubes. The 3x3x3 worked, but, the 4x4x4 (which previously solved) did not solve.
Below are partial outputs of the 5x5x5 then the 4x4x4.
I have a question on the memory requirements. Is 1 Gig required for the 4x4x4 and 600 Meg total required for the 5x5x5 or is it 1.6 G?
*************
The 5x5x5 is below:
2018-07-18 18:22:39,264 __init__.py INFO: B B L R F
2018-07-18 18:22:39,264 __init__.py INFO:
2018-07-18 18:22:39,264 __init__.py INFO:
2018-07-18 18:22:39,284 LookupTable.py WARNING: 5x5x5-step11-UD-centers-stage-t-center-only.cost-only: begin preload cost-only
2018-07-18 18:22:40,002 LookupTable.py WARNING: 5x5x5-step11-UD-centers-stage-t-center-only.cost-only: end preload cost-only (7,632 bytes delta, 32,536 bytes total)
2018-07-18 18:22:40,004 LookupTable.py WARNING: 5x5x5-step12-UD-centers-stage-x-center-only.cost-only: begin preload cost-only
2018-07-18 18:22:40,720 LookupTable.py WARNING: 5x5x5-step12-UD-centers-stage-x-center-only.cost-only: end preload cost-only (16,368 bytes delta, 48,904 bytes total)
2018-07-18 18:22:40,725 LookupTable.py WARNING: 5x5x5-step10-UD-centers-stage: begin preload cache string
2018-07-18 18:22:56,194 LookupTable.py WARNING: 5x5x5-step10-UD-centers-stage: end preload cache string (340,868 bytes delta, 389,772 bytes total)
2018-07-18 18:22:56,224 LookupTable.py WARNING: 5x5x5-step21-LR-t-centers-stage: begin preload cache dict
2018-07-18 18:22:56,372 LookupTable.py WARNING: 5x5x5-step21-LR-t-centers-stage: end preload cache dict (0 bytes delta, 389,856 bytes total)
2018-07-18 18:22:56,373 LookupTable.py WARNING: 5x5x5-step22-LR-x-centers-stage: begin preload cache dict
2018-07-18 18:22:56,464 LookupTable.py WARNING: 5x5x5-step22-LR-x-centers-stage: end preload cache dict (592 bytes delta, 390,448 bytes total)
2018-07-18 18:22:56,464 LookupTable.py WARNING: 5x5x5-step20-LR-centers-stage: begin preload cache dict
2018-07-18 18:22:56,768 LookupTable.py WARNING: 5x5x5-step20-LR-centers-stage: end preload cache dict (4,436 bytes delta, 394,884 bytes total)
2018-07-18 18:22:56,776 LookupTable.py WARNING: 5x5x5-step31-UL-centers-solve.hash-cost-only: begin preload cost-only
2018-07-18 18:22:58,868 LookupTable.py WARNING: 5x5x5-step31-UL-centers-solve.hash-cost-only: end preload cost-only (45,980 bytes delta, 440,864 bytes total)
2018-07-18 18:22:58,889 LookupTable.py INFO: Downloading table via 'wget
https://github.com/dwalton76/rubiks...able-5x5x5-step30-ULFRBD-centers-solve.txt.gz'
Traceback (most recent call last):
File "./usr/bin/rubiks-cube-solver.py", line 378, in <module>
cube.solve()
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/__init__.py", line 3886, in solve
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube555.py", line 1297, in group_centers_guts
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube555.py", line 1103, in lt_init
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube555.py", line 669, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 840, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 222, in __init__
File "/usr/lib/python3.5/subprocess.py", line 247, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1221, in _execute_child
restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory
pi@raspberrypi:~/rubiks-cube-NxNxN-solver $
********
The 4x4x4 is below:
2018-07-18 18:28:45,161 __init__.py INFO: R U F U
2018-07-18 18:28:45,161 __init__.py INFO:
2018-07-18 18:28:45,161 __init__.py INFO:
2018-07-18 18:28:45,165 LookupTable.py WARNING: 4x4x4-step11-UD-centers-stage.cost-only: begin preload cost-only
2018-07-18 18:28:45,885 LookupTable.py WARNING: 4x4x4-step11-UD-centers-stage.cost-only: end preload cost-only (6,084 bytes delta, 29,688 bytes total)
2018-07-18 18:28:45,887 LookupTable.py WARNING: 4x4x4-step12-LR-centers-stage.cost-only: begin preload cost-only
2018-07-18 18:28:46,607 LookupTable.py WARNING: 4x4x4-step12-LR-centers-stage.cost-only: end preload cost-only (16,368 bytes delta, 46,056 bytes total)
2018-07-18 18:28:46,609 LookupTable.py WARNING: 4x4x4-step13-FB-centers-stage.cost-only: begin preload cost-only
2018-07-18 18:28:47,325 LookupTable.py WARNING: 4x4x4-step13-FB-centers-stage.cost-only: end preload cost-only (16,368 bytes delta, 62,424 bytes total)
2018-07-18 18:28:47,329 LookupTable.py WARNING: 4x4x4-step10-ULFRBD-centers-stage: begin preload cache set
2018-07-18 18:28:50,376 LookupTable.py WARNING: 4x4x4-step10-ULFRBD-centers-stage: end preload cache set (68,888 bytes delta, 131,312 bytes total)
2018-07-18 18:28:50,445 LookupTable.py WARNING: 4x4x4-step20-highlow-edges: begin preload cache string
2018-07-18 18:28:58,346 LookupTable.py WARNING: 4x4x4-step20-highlow-edges: end preload cache string (166,676 bytes delta, 297,988 bytes total)
2018-07-18 18:28:58,348 LookupTable.py WARNING: 4x4x4-step31-reduce333-edges.hash-cost-only: begin preload cost-only
Traceback (most recent call last):
File "./usr/bin/rubiks-cube-solver.py", line 378, in <module>
cube.solve()
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/__init__.py", line 3886, in solve
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube444.py", line 1384, in group_centers_guts
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube444.py", line 1377, in lt_init
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube444.py", line 875, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 806, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 770, in __init__
MemoryError
pi@raspberrypi:~/rubiks-cube-NxNxN-solver $
You can ignore the warnings...I need to change the loglevel on those that is misleading.
Can you try the following? This should fix the lookup-table-5x5x5-step40-LR-t-centers-solve.txt error
Code:
$ cd ~/rubiks-cube-NxNxN-solver
$ git pull
$ sudo python3 setup.py install
I added memory requirements to the README...in a nutshell 4x4x4 takes 1G, 5x5x5 takes 600M, etc. I should be able to bring the memory requirements down some more though.
I sent a reply a moment ago, but, it is under moderator review at the moment. The message (without the solver output) is:
Thanks for the quick response.
Unfortunately, was not able to solve the 5x5x5. I went back to verify smaller cubes. The 3x3x3 worked, but, the 4x4x4 (which previously solved) did not solve.
Below are partial outputs of the 5x5x5 then the 4x4x4.
I have a question on the memory requirements. Is 1 Gig required for the 4x4x4 and 600 Meg total required for the 5x5x5 or is it 1.6 G?
Part of the output from the 4x4x4 is below:
*********************
2018-07-18 18:28:58,346 LookupTable.py WARNING: 4x4x4-step20-highlow-edges: end preload cache string (166,676 bytes delta, 297,988 bytes total)
2018-07-18 18:28:58,348 LookupTable.py WARNING: 4x4x4-step31-reduce333-edges.hash-cost-only: begin preload cost-only
Traceback (most recent call last):
File "./usr/bin/rubiks-cube-solver.py", line 378, in <module>
cube.solve()
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/__init__.py", line 3886, in solve
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube444.py", line 1384, in group_centers_guts
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube444.py", line 1377, in lt_init
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube444.py", line 875, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 806, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 770, in __init__
MemoryError
pi@raspberrypi:~/rubiks-cube-NxNxN-solver $
Part of the output from the 5x5x5 is below:
*****
2018-07-18 18:34:53,367 LookupTable.py WARNING: 5x5x5-step31-UL-centers-solve.hash-cost-only: end preload cost-only (46,848 bytes delta, 438,504 bytes total)
2018-07-18 18:34:53,378 LookupTable.py INFO: Downloading table via 'wget
https://github.com/dwalton76/rubiks...able-5x5x5-step30-ULFRBD-centers-solve.txt.gz'
Traceback (most recent call last):
File "./usr/bin/rubiks-cube-solver.py", line 378, in <module>
cube.solve()
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/__init__.py", line 3886, in solve
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube555.py", line 1297, in group_centers_guts
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube555.py", line 1103, in lt_init
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube555.py", line 669, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 840, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 222, in __init__
File "/usr/lib/python3.5/subprocess.py", line 247, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1221, in _execute_child
restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory
pi@raspberrypi:~/rubiks-cube-NxNxN-solver $
A small part of the 5x5x5 is below:
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/RubiksCube555.py", line 669, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 840, in __init__
File "/usr/local/lib/python3.5/dist-packages/rubikscubennnsolver-1.0.0-py3.5.egg/rubikscubennnsolver/LookupTable.py", line 222, in __init__
File "/usr/lib/python3.5/subprocess.py", line 247, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1221, in _execute_child
restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory
pi@raspberrypi:~/rubiks-cube-NxNxN-solver $