Re: CatForce new catalyst search utility (LifeAPI based)
Posted: July 4th, 2022, 12:31 am
I thought that those benefits only kicked in when advancing a pattern by many generations, rather than just by 1.
Forums for Conway's Game of Life
https://conwaylife.com/forums/
Code: Select all
sudo apt-get install clangCode: Select all
# sudo apt-get update
# sudo apt-get install build-essential
# sudo apt-get install clangCode: Select all
# mkdir test
# cd test
# git clone https://github.com/luke-kiernan/CatForce.git
# cd CatForce
# ls
1.in 2.in 3.in 4.in CatForce.cpp LifeAPI.h Makefile README.md sym.in
# make
# ls
1.in 2.in 3.in 4.in CatForce CatForce.cpp LifeAPI.h Makefile README.md sym.inCode: Select all
# ./CatForce 1.in
# ls
1.in 1.rle 2.in 3.in 4.in CatForce CatForce.cpp full.rle LifeAPI.h Makefile README.md sym.inCode: Select all
Input: 1.in
Initializing please wait...
Approximated Total: 2038431744
Total elapsed CPU time (not wallclock if nthreads>1): 1.722665 seconds
Initialization finished, searching...
0.1%,1M/2038M, cats/total: 0/0, unfiltered: 0/0, now: 0:00:13, est: 7:04:35, 80K/sec
Saving 1.rle
Saving full.rle
0.1%,2M/2038M, cats/total: 0/0, unfiltered: 0/0, now: 0:00:23, est: 6:13:47, 91K/sec
Saving 1.rle
Saving full.rle
0.2%,4M/2038M, cats/total: 0/0, unfiltered: 0/0, now: 0:00:42, est: 5:40:28, 99K/sec
Saving 1.rle
Saving full.rle
0.3%,6M/2038M, cats/total: 1/1, unfiltered: 1/1, now: 0:01:02, est: 5:34:48, 101K/sec
Saving 1.rle
Saving full.rle
0.4%,7M/2038M, cats/total: 1/1, unfiltered: 3/3, now: 0:01:12, est: 5:33:11, 101K/sec
Saving 1.rle
Saving full.rle
0.4%,7M/2038M, cats/total: 1/1, unfiltered: 3/3, now: 0:01:18, est: 5:40:06, 99K/sec
Saving 1.rle
Saving full.rle
FINISH
Total elapsed CPU time (not wallclock if nthreads>1): 77.388723 seconds
Code: Select all
x = 0, y = 0, rule = B3/S23
23$22bo13bo$22b3o9b3o3b2o$25bo7bo5bobo$24b2o7b2o4bo$38b2o$31bo$30bobo$29bo3bo$29bo3bo$29bo3bo$30bobo$31bo66$
Code: Select all
x = 0, y = 0, rule = B3/S23
23$22bo13bo$22b3o9b3o3b2o$25bo7bo5bobo$24b2o7b2o4bo$38b2o$31bo$30bobo$29bo3bo$29bo3bo$29bo3bo$30bobo$31bo66$28$31bo$30bobo$29bo3bo$29bo3bo$29bo3bo$30bobo$31bo$38b2o$24b2o7b2o4bo$25bo7bo5bobo$22b3o9b3o3b2o$22bo13bo61$28$31bo$30bobo$29bo3bo$29bo3bo$29bo3bo$30bobo$31bo$38b2o$33b2o4bo$33bo5bobo$27b2o5b3o3b2o$27b2o7bo61$I think this software is intended for people able to install and use a well-known compiler.GUYTU6J wrote: July 13th, 2022, 3:00 amWhy on earth people develop a program and require anyone using it to install a special compiler from a gigantic project? You cannot expect everyone to have 6.37 GB of free space, and there is no warning about it
Code: Select all
pat o$obo$3o$2bo! 4 4
symmetry C4_1
Code: Select all
x = 15, y = 15, rule = B3/S23
bo$b3o8b3o$bobo9bo$3bo7b3o8$b3o7bo$bo9bobo$3o8b3o$13bo!
Code: Select all
sudo apt install clang-11 --install-suggestsCode: Select all
git clone https://github.com/mvr/CatForce.gitCode: Select all
makeCode: Select all
CC = clang++Code: Select all
CC = clang++-11Code: Select all
make instrumentCode: Select all
./CatForce examples/1.inCode: Select all
python3 catfilter.py results.rleCode: Select all
symmetry C2horizontalevenCode: Select all
python3 categorize_by_match_multi.py [rleToMatch] [earliestGen]-[latestGen] results_1.rle ... results_n.rle > combined_results_grouped_by_match_gen.rleCode: Select all
file = input('Filename ')
rle = open(file).read().replace('$', '$\n')
print(rle)
Yes, PK22 used it to find a transparent B - T + big blinker in B3/S23-a5, as well as some basically useless sacrificial catalysts.ndusN wrote: December 26th, 2025, 12:48 pm Has anyone else actually used the INT adaptation of CatForce to do something? (can a mod please move that thread to "Scripts" since it is incorrectly in the sandbox forum)
I'm still confused as to how I would get this set up. E.g. I've been looking for a 90° reflector for this spaceship:ndusN wrote: December 26th, 2025, 12:48 pm Has anyone else actually used the INT adaptation of CatForce to do something?
...
Code: Select all
x = 4, y = 3, rule = B3ai46n8/S2-i35jr67e8
ob2o$3o$bo!Code: Select all
=================================================================
==295419==ERROR: AddressSanitizer: allocator is out of memory trying to allocate 0x7f9fd02351 bytes
#0 0x557476b888 in operator new(unsigned long) (/home/[REDACTED]/code/ca/CatForce/CatForce+0xdb888) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
#1 0x7fa353b1f0 in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) (/lib/aarch64-linux-gnu/libstdc++.so.6+0x13b1f0) (BuildId: 82e1681dd0b9091f0abe0f54e61dc58fef262eb1)
#2 0x55747727bc in void std::__new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::construct<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/new_allocator.h:175:23
#3 0x5574770a94 in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/stl_vector.h:1287:4