Page 8 of 14
Re: apgsearch v2.2
Posted: November 27th, 2015, 7:16 pm
by danieldb
SuperJedi224 wrote:I'm getting this error at compile-time:
life128.h

183: error: unknown register name ‘xmm14’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm13’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm12’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm11’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm10’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm9’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm8’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm7’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm6’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm5’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm4’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm3’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm2’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm1’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm0’ in ‘asm’
Reinstall cygwin with the required packages but check the box at says "dwnload dependencies". I had this problem when I first compiled apgsearch
Re: apgsearch v2.2
Posted: November 27th, 2015, 7:48 pm
by Apple Bottom
SuperJedi224 wrote:I'm getting this error at compile-time:
life128.h

183: error: unknown register name ‘xmm14’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm13’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm12’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm11’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm10’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm9’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm8’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm7’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm6’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm5’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm4’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm3’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm2’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm1’ in ‘asm’
life128.h

183: error: unknown register name ‘xmm0’ in ‘asm’
This indicates you're not using a 64-bit toolchain. Be sure to use a 64-bit OS / distribution, on an x86_64 machine.
If you're using Cygwin, make sure it's the 64-bit version as well. (Both the 32- and 64-bit versions can be installed side-by-side, BTW, so if you already have the 32-bit version you can leave that in place.)
Re: apgsearch v2.2
Posted: November 28th, 2015, 12:30 pm
by SuperJedi224
Apple Bottom wrote:
This indicates you're not using a 64-bit toolchain. Be sure to use a 64-bit OS / distribution, on an x86_64 machine.
If you're using Cygwin, make sure it's the 64-bit version as well. (Both the 32- and 64-bit versions can be installed side-by-side, BTW, so if you already have the 32-bit version you can leave that in place.)
Well, that fixed the compile-time issues. But now running it from cygwin does absolutely nothing, and running it from command prompt gives me an "invalid application" error.
Re: apgsearch v2.2
Posted: November 28th, 2015, 1:53 pm
by SuperJedi224
Alright, after some work I was able to get the python version working. I would still like to know why the C++ version isn't working though.
Re: apgsearch v2.2
Posted: November 28th, 2015, 5:20 pm
by Apple Bottom
SuperJedi224 wrote:Well, that fixed the compile-time issues. But now running it from cygwin does absolutely nothing, and running it from command prompt gives me an "invalid application" error.
Did running make work? It should've output the following:
Code: Select all
$ make
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP main.cpp -o main.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP digests/sha256.cpp -o digests/sha256.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP digests/md5.cpp -o digests/md5.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP happyhttp/happyhttp.cpp -o happyhttp/happyhttp.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/bigint.cpp -o gollybase/bigint.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/lifealgo.cpp -o gollybase/lifealgo.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/qlifealgo.cpp -o gollybase/qlifealgo.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/util.cpp -o gollybase/util.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/lifepoll.cpp -o gollybase/lifepoll.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/liferules.cpp -o gollybase/liferules.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/viewport.cpp -o gollybase/viewport.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/readpattern.cpp -o gollybase/readpattern.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/qlifedraw.cpp -o gollybase/qlifedraw.o
g++ -fopenmp main.o digests/sha256.o digests/md5.o happyhttp/happyhttp.o gollybase/bigint.o gollybase/lifealgo.o gollybase/qlifealgo.o gollybase/util.o gollybase/lifepoll.o gollybase/liferules.o gollybase/viewport.o gollybase/readpattern.o gollybase/qlifedraw.o -o apgnano
true
true oo o
true oo ooo
true o
true oo ooo
true o o
true o o
true o
$
If you got any warnings or errors instead, please post them.
If not, what does the file command report for apgnano.exe ? Here's what I get on Cygwin:
Code: Select all
$ file apgnano.exe
apgnano.exe: PE32+ executable (console) x86-64, for MS Windows
$
Re: apgsearch v2.2
Posted: November 29th, 2015, 12:13 am
by Saka
Is there a way to "stop/quit" apgnano?
Re: apgsearch v2.2
Posted: November 29th, 2015, 12:25 am
by danieldb
Saka wrote:Is there a way to "stop/quit" apgnano?
Ctfl+C then Alt+F4. Also happy birthday
Re: apgsearch v2.2
Posted: November 29th, 2015, 2:36 am
by gameoflifeboy
A for awesome wrote:gameoflifeboy wrote:A for awesome wrote:Maybe one for finding the Nth object, where N is some auspicious number, such as a 6th or higher power, or any power of a number less than 20; also maybe one for contributing the first soup in a new rule or symmetry, or the first oscillator of a certain period in any rule (Does anyone know what the smallest period is that has not been found yet by apgsearch in any rule is?).
At least 32.
A p32
I guess at least 41, then.
Here's a
P41, so it's at least 47 now.
Re: apgsearch v2.2
Posted: November 29th, 2015, 6:15 am
by Saka
Hmm... I wonder if there will ever be a soup that turns into a still life (I mean like the whole soup just turns into a still life), that would:make a 16x16 still life
Re: apgsearch v2.2
Posted: November 29th, 2015, 8:15 am
by SuperJedi224
Apple Bottom wrote:SuperJedi224 wrote:Well, that fixed the compile-time issues. But now running it from cygwin does absolutely nothing, and running it from command prompt gives me an "invalid application" error.
Did running make work? It should've output the following:
Code: Select all
$ make
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP main.cpp -o main.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP digests/sha256.cpp -o digests/sha256.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP digests/md5.cpp -o digests/md5.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP happyhttp/happyhttp.cpp -o happyhttp/happyhttp.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/bigint.cpp -o gollybase/bigint.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/lifealgo.cpp -o gollybase/lifealgo.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/qlifealgo.cpp -o gollybase/qlifealgo.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/util.cpp -o gollybase/util.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/lifepoll.cpp -o gollybase/lifepoll.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/liferules.cpp -o gollybase/liferules.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/viewport.cpp -o gollybase/viewport.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/readpattern.cpp -o gollybase/readpattern.o
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP gollybase/qlifedraw.cpp -o gollybase/qlifedraw.o
g++ -fopenmp main.o digests/sha256.o digests/md5.o happyhttp/happyhttp.o gollybase/bigint.o gollybase/lifealgo.o gollybase/qlifealgo.o gollybase/util.o gollybase/lifepoll.o gollybase/liferules.o gollybase/viewport.o gollybase/readpattern.o gollybase/qlifedraw.o -o apgnano
true
true oo o
true oo ooo
true o
true oo ooo
true o o
true o o
true o
$
If you got any warnings or errors instead, please post them.
If not, what does the file command report for apgnano.exe ? Here's what I get on Cygwin:
Code: Select all
$ file apgnano.exe
apgnano.exe: PE32+ executable (console) x86-64, for MS Windows
$
Apparently, apgnano.exe is an empty file on my end. Time to recompile! (again.)
Edit: And now (after getting all the compile-time output you said to expect) I seem to have a 414-KB executable- that still does nothing in cygwin. And command prompt is complaining about a missing procedure entry point in cygstdc++-6.dll.
Re: apgsearch v2.2
Posted: November 29th, 2015, 9:37 am
by apg
What do you mean by 'does nothing'? What happens, specifically, when you run:
Re: apgsearch v2.2
Posted: November 29th, 2015, 2:50 pm
by SuperJedi224
calcyman wrote:What do you mean by 'does nothing'? What happens, specifically, when you run:
It prints a single empty line to the console and then immediately terminates.
Re: apgsearch v2.2
Posted: November 30th, 2015, 6:48 am
by Saka
Scorbie wrote:You have to run make in the directory where the makefile is in. You seem to be running Cygwin outside the apgnano directory. Go into apgnano directory, navigate to where the source file is in (e.g. if it's in apgnano do "cd apgnano". If it's in apgnano/src, do "cd apgnano/src" ...), and then you can run make.
Ahhh... thanks! I got it now
PS late reply
Re: apgsearch v2.2
Posted: November 30th, 2015, 10:58 pm
by SuperJedi224
I would like to suggest the adition of a search by pattern name feature to the website
Re: apgsearch v2.2
Posted: December 1st, 2015, 1:05 am
by gameoflifeboy
I'd like that too, but I'd like a search by RLE even more, because some patterns can have more than one name.
I'd also like a way to search comments.
Re: apgsearch v2.2
Posted: December 1st, 2015, 1:55 am
by Saka
I would like to suggest some features for future apgsearch programs:
-An -r option which specifies the rule
-An -s option which specifies symmetry
-Typing "stop" in the command line will stop apgsearch, just like typing q with the python script
-A no-compilation required .exe
-Typing "census" to see current census in new window.
Re: apgsearch v2.2
Posted: December 1st, 2015, 7:58 am
by SuperJedi224
gameoflifeboy wrote:I'd like that too, but I'd like a search by RLE even more, because some patterns can have more than one name.
I'd also like a way to search comments.
Saka wrote:I would like to suggest some features for future apgsearch programs:
-An -r option which specifies the rule
-An -s option which specifies symmetry
-Typing "stop" in the command line will stop apgsearch, just like typing q with the python script
-A no-compilation required .exe
-Typing "census" to see current census in new window.
Those would all also be nice.
Re: apgsearch v2.2
Posted: December 1st, 2015, 3:22 pm
by Billabob
I'm surprised that nobody mentioned that the Catagolue has reached 30 trillion objects.
Re: apgsearch v2.2
Posted: December 3rd, 2015, 1:41 am
by thunk
Hmm. I seem to be experiencing an issue where my apgnano instances are gradually slowing down.
I am running two computers with 12 cores total-- on my desktop, the average time between 10^7-soup hauls was about 210 minutes in October, with most other programs shut down. Now, with roughly the same setup, it's about 225-230 minutes.
The same goes for my laptop-- haul time has gone up from 200 to 230 minutes as well. This has caused total production to decline from 17.5 to 15.5 Gobj/d (10^9 objects per day).
Do y'all have any idea what could be causing this?
Re: apgsearch v2.2
Posted: December 3rd, 2015, 4:49 pm
by SuperJedi224
Does anyone know what the minimum soup count for a haul is?
Re: apgsearch v2.2
Posted: December 3rd, 2015, 4:53 pm
by drc
SuperJedi224 wrote:Does anyone know what the minimum soup count for a haul is?
100000.
Re: apgsearch v2.2
Posted: December 3rd, 2015, 5:12 pm
by SuperJedi224
drc wrote:SuperJedi224 wrote:Does anyone know what the minimum soup count for a haul is?
100000.
Okay, that's fine for Life, but there are rules for which 100,000 soups is just ridiculous.
Re: apgsearch v2.2
Posted: December 3rd, 2015, 9:50 pm
by SuperJedi224
Yeah, I just finished running the python version on a nonstandard rule (B478/S1234) and when I quit the script I think it kind of froze Golly on me...
Re: apgsearch v2.2
Posted: December 4th, 2015, 1:01 am
by wildmyron
SuperJedi224 wrote:Does anyone know what the minimum soup count for a haul is?
The minimum accepted by Catagolue is 10 000, as confirmed by calcyman
here. You will need to modify the Python script to be able to specify 10 000 soup hauls. You should also keep in mind Alexey's comments regarding symmetric soup searches in Day and Night:
Alexey_Nigin wrote:I am now going to switch to C4 symmetries. If you want to help me in my search then (A) thank you and (B) you will need to modify apgsearch so that it agrees to send 10000-soup hauls. This piece of code is near the end, right below the place where you can hardcode inputs. Remember, however, that you are solely responsible for any DDoS attacks you initiate, and it may thus be a good idea not to upload Day & Night soups 24/7.
Re: apgsearch v2.2
Posted: December 4th, 2015, 7:17 am
by SuperJedi224
Found in the comments on the python script:
unless it persists another 2^18 gens, which is so unbelievably improbable that you are more likely to be picked up by a passing ship in the vacuum of space