Code: Select all
-bash: ./apgluxe: No such file or directoryCode: Select all
-bash: ./apgluxe: No such file or directoryYou need to run ./recompile.sh first.Resu wrote: May 26th, 2025, 8:14 am When I try to run apgluxe 5.x, it responds with this:Why does it do this?Code: Select all
-bash: ./apgluxe: No such file or directory
In cases like this it's always good to start with the theory that the error message is telling you exactly what is wrong.Resu wrote: May 26th, 2025, 8:14 am When I try to run apgluxe 5.x, it responds with this:Why does it do this?Code: Select all
-bash: ./apgluxe: No such file or directory
Seems to be working now, but no idea why...
Code: Select all
x = 31, y = 13, rule = C
8.2X2.3X.3X.X.X$8.X.X.X3.X3.X.X$8.X.X.3X.3X.X.X$8.2X2.X5.X.X.X$8.X.X.
3X.3X.3X$M2.M$4.M$M3.M$.4M$27.2M$27.M.M$29.M$29.2M! [[ AUTOSTART GPS 10 ]]
Code: Select all
$ cd apgmera
./recompile.sh
./apgluxe -n 10000000 -k #anon
sh -c 'rm -f apgluxe *.o */*.o *.op */*.op *.gdca */*.gcda *.profraw *.profdata || true'
echo Clean done
Clean done
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
Ensuring lifelib is up-to-date...
Rule unspecified; assuming b3s23.
Symmetry unspecified; assuming C1.
Configuring rule b3s23; symmetry C1
Using /usr/bin/python3 to configure lifelib...
Valid symmetry: C1
Success!
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11 main.cpp -o main.o
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11 includes/md5.cpp -o includes/md5.o
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11 includes/happyhttp.cpp -o includes/happyhttp.o
g++ -pthread -flto main.o includes/md5.o includes/happyhttp.o -o apgluxe
lto-wrapper: warning: using serial compilation of 11 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
true
true oo o
true oo ooo
true o
true oo ooo
true o o
true o o
true o
./recompile.sh: line 85: 1574 Segmentation fault ./apgluxe --rule $rulearg --symmetry $symmarg
Segmentation fault
Running transfer.py is not a fully automated task, many steps of pre/post-processing have to be done manually. Here is what I have figured out so far :PK22 wrote: June 1st, 2025, 2:02 pm How exactly do I use transfer.py, besides running python3 transfer.py? Do you have to call it for specific apgcodes, and if so, how? Or can you just run it in general?
Code: Select all
python paratran.py <triples> <apgcodes> <out>
Code: Select all
from shinjuku.search import read_components
from shinjuku.transfer import components_to_triples
shinjuku_lines = read_components() # add a list of files as a parameter if you don't want to parse the entire database.
# do some filtering here if you want
triples = components_to_triples(shinjuku_lines) # converts the lines into a set of triples
# store triples in a file / merge them in an existing file
How do I fix this? (see quoted post)
It's not entirely clear what's going on because the input commands are mixed up with the output - but it looks to me that that the command to run apgluxe is being interpreted as arguments to recompile.sh. Try running a single command at a time rather than pasting all of them into the console at once. Also, it is generally always helpful to give more background information: OS; shell environment; how you installed the problematic program/how you obtained the source code; and in the case of compiling a program which compiler and version you are using.
Windows 11, cygwin and git.wildmyron wrote: June 14th, 2025, 1:05 pm It's not entirely clear what's going on because the input commands are mixed up with the output - but it looks to me that that the command to run apgluxe is being interpreted as arguments to recompile.sh. Try running a single command at a time rather than pasting all of them into the console at once. Also, it is generally always helpful to give more background information: OS; shell environment; how you installed the problematic program/how you obtained the source code; and in the case of compiling a program which compiler and version you are using.
Thank you. Presumably you used the standard git clone to get a copy of apgmera. I suspect there's no issue there, but we might come back to that later.Resu wrote: June 14th, 2025, 2:53 pmWindows 11, cygwin and git.wildmyron wrote: June 14th, 2025, 1:05 pm It's not entirely clear what's going on because the input commands are mixed up with the output - but it looks to me that that the command to run apgluxe is being interpreted as arguments to recompile.sh. Try running a single command at a time rather than pasting all of them into the console at once. Also, it is generally always helpful to give more background information: OS; shell environment; how you installed the problematic program/how you obtained the source code; and in the case of compiling a program which compiler and version you are using.
$ cd apgmerawildmyron wrote: June 15th, 2025, 12:55 pm Thank you. Presumably you used the standard git clone to get a copy of apgmera. I suspect there's no issue there, but we might come back to that later.
I don't use cygwin so I can't confirm my hypothesis. Did you try running the commands one at a time? Please share the output here if that still doesn't work properly.
Code: Select all
$ cd apgmera
user@computer ~/apgmera
$Code: Select all
$ ./recompile.sh
sh -c 'rm -f apgluxe *.o */*.o *.op */*.op *.gdca */*.gcda *.profraw *.profdata || true'
echo Clean done
Clean done
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
Ensuring lifelib is up-to-date...
Rule unspecified; assuming b3s23.
Symmetry unspecified; assuming C1.
Configuring rule b3s23; symmetry C1
Using /usr/bin/python3 to configure lifelib...
Valid symmetry: C1
Success!
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11 main.cpp -o main.o
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11 includes/md5.cpp -o includes/md5.o
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11 includes/happyhttp.cpp -o includes/happyhttp.o
g++ -pthread -flto main.o includes/md5.o includes/happyhttp.o -o apgluxe
lto-wrapper: warning: using serial compilation of 11 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
Code: Select all
true
true oo o
true oo ooo
true o
true oo ooo
true o o
true o o
true o
./recompile.sh: line 85: 1140 Segmentation fault ./apgluxe --rule $rulearg --symmetry $symmarg
Code: Select all
x = 19, y = 37, rule = B3/S23
13b3o$12b4o$11b2obobo$13bobo$15bo12$10b2o$bobo7bobo$o7b2o3b2o$o3bo2b3o
3bo$o6b4obo$o2bo7bo$3o12bobo$18bo$14bo3bo$14bo3bo$18bo$9bo5bo2bo$8b3o
5b3o2$10bo$2bobo4b2o$5bo2b3o$5bo2b3o$2bo2bo2b2obo$3b3o3b3o$10bo!Code: Select all
x = 31, y = 13, rule = C
8.2X2.3X.3X.X.X$8.X.X.X3.X3.X.X$8.X.X.3X.3X.X.X$8.2X2.X5.X.X.X$8.X.X.
3X.3X.3X$M2.M$4.M$M3.M$.4M$27.2M$27.M.M$29.M$29.2M! [[ AUTOSTART GPS 10 ]]
I don't remember implementing storage of symmetries, what do you mean?Resu wrote: July 28th, 2025, 12:26 pm Where does apgsearch v1.1 Py3 store the symmetry used?
I can't seem to find it.
No, I mean storing which symmetry the user chose to search.PK22 wrote: July 28th, 2025, 1:16 pm I don't remember implementing storage of symmetries, what do you mean?
Code: Select all
x = 31, y = 13, rule = C
8.2X2.3X.3X.X.X$8.X.X.X3.X3.X.X$8.X.X.3X.3X.X.X$8.2X2.X5.X.X.X$8.X.X.
3X.3X.3X$M2.M$4.M$M3.M$.4M$27.2M$27.M.M$29.M$29.2M! [[ AUTOSTART GPS 10 ]]
The problem might be poor internet connection - most of the haul sizes are multiples of 20000, and if apgsearch cannot contact Catagolue, it will continue searching.yujh wrote: July 31st, 2025, 2:04 am apgsearch does not seem to work correctly after failing to upload a haul, is this problem known?
see https://catagolue.hatsya.com/haul/b3-cy ... y6ikn7e/C1 , the number of objects vs soups is inconsistent.
Take a look at soups/objects for small hauls and large hauls. This value should be around the same, but it does not appear to be.PK22 wrote: July 31st, 2025, 2:32 amThe problem might be poor internet connection - most of the haul sizes are multiples of 20000, and if apgsearch cannot contact Catagolue, it will continue searching.yujh wrote: July 31st, 2025, 2:04 am apgsearch does not seem to work correctly after failing to upload a haul, is this problem known?
see https://catagolue.hatsya.com/haul/b3-cy ... y6ikn7e/C1 , the number of objects vs soups is inconsistent.
Code: Select all
def searchsoup(instring):
hexadecimal = str(hashlib.sha256(instring.encode('utf-8')).hexdigest())[0:16]
pt = lt.pattern(rle=hextorle(hexadecimal))
populationlist = []
for x in range(100):
populationlist.append(pt[x].population)Someone PLEASE help me find what's wrong with this code,Sylvani wrote: July 30th, 2025, 6:20 pm I want to make my own version of gfind/qfind/etc. with floating rows and Generations/HROT support. The reason why I am trying to make one (for tons of CA) myself is because the only other program that supports HROT and generations is really slow, and fails to implement non-vertical speeds properly (even though it's meant to work with diagonal/oblique speeds). Also, the paper that documents gfind's algorithm is really confusing, and I can't understand how the algorithm works (Most of the times, whenever I try to write my own search program, it is insanely slow and buggy, and it is mainly due to this). Can someone help me understand these algorithms? (without the BFS/DFS part because I already mostly know how that works)
No one can give you much help if you don't comment your code and clean it up before posting.Sylvani wrote: August 3rd, 2025, 9:26 pm Someone PLEASE help me find what's wrong with this code,
it is driving me insane how slow it is, and I cannot seem to fix it. Also, it can only do period 1 searches for some stupid reason.
Code: Select all
x = 31, y = 13, rule = C
8.2X2.3X.3X.X.X$8.X.X.X3.X3.X.X$8.X.X.3X.3X.X.X$8.2X2.X5.X.X.X$8.X.X.
3X.3X.3X$M2.M$4.M$M3.M$.4M$27.2M$27.M.M$29.M$29.2M! [[ AUTOSTART GPS 10 ]]