apgsearch v5.0

For general discussion about Conway's Game of Life.
User avatar
gameoflifemaniac
Posts: 1242
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: apgsearch v5.0

Post by gameoflifemaniac » March 20th, 2020, 11:07 am

How do I upload my hauls to Catagolue? I saw none uploaded by me and I already finished like 30. My payosha256 hey is [oh sorry it's private] and what is it for?
Last edited by gameoflifemaniac on March 22nd, 2020, 8:32 am, edited 1 time in total.
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

User avatar
calcyman
Moderator
Posts: 2932
Joined: June 1st, 2009, 4:32 pm

Re: apgsearch v5.0

Post by calcyman » March 20th, 2020, 12:11 pm

gameoflifemaniac wrote:
March 20th, 2020, 11:07 am
How do I upload my hauls to Catagolue? I saw none uploaded by me and I already finished like 30.
There have been some anonymous hauls in the last 3 days: https://catagolue.appspot.com/user/Anonymous
What do you do with ill crystallographers? Take them to the mono-clinic!

User avatar
gameoflifemaniac
Posts: 1242
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: apgsearch v5.0

Post by gameoflifemaniac » March 20th, 2020, 12:28 pm

calcyman wrote:
March 20th, 2020, 12:11 pm
gameoflifemaniac wrote:
March 20th, 2020, 11:07 am
How do I upload my hauls to Catagolue? I saw none uploaded by me and I already finished like 30.
There have been some anonymous hauls in the last 3 days: https://catagolue.appspot.com/user/Anonymous
Oh so I'm still anonymous somehow. How do I make an account?
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

User avatar
Ian07
Moderator
Posts: 891
Joined: September 22nd, 2018, 8:48 am
Location: New Jersey, US

Re: apgsearch v5.0

Post by Ian07 » March 20th, 2020, 3:09 pm

gameoflifemaniac wrote:
March 20th, 2020, 12:28 pm
Oh so I'm still anonymous somehow. How do I make an account?
See the wiki tutorial.

GUYTU6J
Posts: 2200
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: apgsearch v5.0

Post by GUYTU6J » March 23rd, 2020, 8:52 pm

When apgsearching in custom symmetries, we use "-t 0 -L 0" to stop testing&logging. But is it intended to disable quitting and submitting immediately by pressing q?

User avatar
gameoflifemaniac
Posts: 1242
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: apgsearch v5.0

Post by gameoflifemaniac » March 28th, 2020, 3:59 pm

What the hell happened here?
Attachments
Zrzut ekranu (110).png
Zrzut ekranu (110).png (246.54 KiB) Viewed 12817 times
Zrzut ekranu (109).png
Zrzut ekranu (109).png (232.7 KiB) Viewed 12817 times
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

User avatar
calcyman
Moderator
Posts: 2932
Joined: June 1st, 2009, 4:32 pm

Re: apgsearch v5.0

Post by calcyman » March 28th, 2020, 4:54 pm

A combination of two things:
(a) your apgsearch instance was peer-reviewing hauls that other people had submitted to Catagolue;
(b) your console doesn't support ANSI colour codes.
What do you do with ill crystallographers? Take them to the mono-clinic!

User avatar
gameoflifemaniac
Posts: 1242
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: apgsearch v5.0

Post by gameoflifemaniac » March 28th, 2020, 5:24 pm

calcyman wrote:
March 28th, 2020, 4:54 pm
A combination of two things:
(a) your apgsearch instance was peer-reviewing hauls that other people had submitted to Catagolue;
Oh
calcyman wrote:
March 28th, 2020, 4:54 pm
(b) your console doesn't support ANSI colour codes.
I know
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

User avatar
testitemqlstudop
Posts: 1367
Joined: July 21st, 2016, 11:45 am
Location: in catagolue
Contact:

Re: apgsearch v5.0

Post by testitemqlstudop » March 30th, 2020, 8:41 am

testitemqlstudop wrote:
March 27th, 2019, 11:22 pm
How difficult would it be to modify apgsearch so that it skips soups that can't be censused in 10 seconds? I'm searching a b2a rule that has soup search speed swings (alliteration not intended) from 1200 soups/second to 0.012 soups/second (no kidding.) The culprit seems to be in yl detection, especially for very high yl periods - this b2a rule lacks replicators.

Alternatively, what would happen if I changed the "maximum pathological attempts" from 5 to something like 2?
1 year!

User avatar
LaundryPizza03
Posts: 2295
Joined: December 15th, 2017, 12:05 am
Location: Unidentified location "https://en.wikipedia.org/wiki/Texas"

Re: apgsearch v5.0

Post by LaundryPizza03 » May 18th, 2020, 11:30 pm

How can I automatically search large batches of rules using apgsearch? Especially, how can I autoskip non-apgsearchable rules in a batch (whether due to explosiveness or tendency to form large clumps) or automatically determine apgserachability a priori?

Code: Select all

x = 4, y = 3, rule = B3-q4z5y/S234k5j
2b2o$b2o$2o!
LaundryPizza03 at Wikipedia

Hunting
Posts: 4395
Joined: September 11th, 2017, 2:54 am

Re: apgsearch v5.0

Post by Hunting » May 19th, 2020, 1:24 am

LaundryPizza03 wrote:
May 18th, 2020, 11:30 pm
how can I autoskip non-apgsearchable rules in a batch (whether due to explosiveness or tendency to form large clumps) or automatically determine apgserachability a priori?
I feel like you could do this with a pre-processing script that filters out non-apgsearchable rules.

User avatar
testitemqlstudop
Posts: 1367
Joined: July 21st, 2016, 11:45 am
Location: in catagolue
Contact:

Re: apgsearch v5.0

Post by testitemqlstudop » May 19th, 2020, 1:44 am

LaundryPizza03 wrote:
May 18th, 2020, 11:30 pm
How can I automatically search large batches of rules using apgsearch? Especially, how can I autoskip non-apgsearchable rules in a batch (whether due to explosiveness or tendency to form large clumps) or automatically determine apgserachability a priori?
Fundamentally impossible to do any faster than 5 rules every 30~60 seconds, because lifelib needs recompiling every 5 rules (it can compile to run 5 rules at once as a maximum).

User avatar
Lewis
Posts: 337
Joined: March 17th, 2009, 5:26 pm
Location: UK
Contact:

Re: apgsearch v5.0

Post by Lewis » May 21st, 2020, 11:29 am

Is there any way to get apgsearch to show the 'Rare oscillator detected:' lines for rules other than standard Life?

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: apgsearch v5.0

Post by Saka » May 21st, 2020, 5:10 pm

Lewis wrote:
May 21st, 2020, 11:29 am
Is there any way to get apgsearch to show the 'Rare oscillator detected:' lines for rules other than standard Life?
Although I can't say for certain, I'm pretty sure no, because how would it know that an oscillator is rare in different rules?

Which brings me to a suggestion: Adding an option to display every spaceship found, maybe even the option to exclude ships from a given list.

User avatar
Lewis
Posts: 337
Joined: March 17th, 2009, 5:26 pm
Location: UK
Contact:

Re: apgsearch v5.0

Post by Lewis » May 24th, 2020, 10:36 am

In case anyone is interested, I did manage to find a way to show show the 'Rare oscillator/ship detected:' lines in the apgluxe output for other rules, it was just a case of manually altering the code in searcher.h and recompiling. It is a 'per rule' kinda deal though, easy enough to do for something like B35/S23 with only a few common high-period oscillators to filter out, but for something like 2x2 it might get a bit messy. Adding output for notably large still lifes (lives?) looks possible too.
Saka wrote:Which brings me to a suggestion: Adding an option to display every spaceship found, maybe even the option to exclude ships from a given list.
This looks fairly do-able too, it's just a case of moving the lines that detect apgcodes beginning 'xq' outside the #ifdef STANDARD_LIFE section and into the #else bit underneath, and changing the existing filters from excluding gliders/*WSSs to whichever ships you want to exclude.

Setting it to choose which set of filters to implement based on the current rule is a little beyond what I can do though.
Last edited by Lewis on May 24th, 2020, 11:27 am, edited 2 times in total.

Hunting
Posts: 4395
Joined: September 11th, 2017, 2:54 am

Re: apgsearch v5.0

Post by Hunting » May 24th, 2020, 11:26 am

I get "No response!" when apgsearch try to connect Catagolue. How do one fix that?

User avatar
Hdjensofjfnen
Posts: 1742
Joined: March 15th, 2016, 6:41 pm
Location: re^jθ

Re: apgsearch v5.0

Post by Hdjensofjfnen » May 25th, 2020, 3:15 pm

Hunting wrote:
May 24th, 2020, 11:26 am
I get "No response!" when apgsearch try to connect Catagolue. How do one fix that?
Have you tried checking your internet connection?

Code: Select all

x = 5, y = 9, rule = B3-jqr/S01c2-in3
3bo$4bo$o2bo$2o2$2o$o2bo$4bo$3bo!

Code: Select all

x = 7, y = 5, rule = B3/S2-i3-y4i
4b3o$6bo$o3b3o$2o$bo!

John Goodman
Posts: 32
Joined: December 13th, 2019, 10:00 am

Re: apgsearch v5.0

Post by John Goodman » June 7th, 2020, 7:03 pm

Recently acquired an Nvidia GPU and thought I'd try apgluxe in cuda mode (G1). Built it under Win 10/WSL (note: had to edit the makefile to specify 'g++-8' or it gave an error).

Running it gives:

Code: Select all

Instruction set AVX2 detected
Running 25000000 soups per haul:
Memory statistics: 0 free; 0 total.
Minibatch size:  10000
Segmentation fault (core dumped)
Does anyone know of a solution?

Dylan Chen
Posts: 114
Joined: March 27th, 2020, 8:07 am
Contact:

Re: apgsearch v5.0

Post by Dylan Chen » June 11th, 2020, 1:09 am

Practice of Cloud based Linux apgsearch.

Rencently, I have successfully deployed apgsearch on my Linux sever. It can search 24*365, roughly 6000-7000 soups/s. I assume every 2-3 days it will have one finding of new object.

The cost of maintenance of this server is quite low. Cloud computing companies located in China like Tencent\Alibaba\Telecom offer a very attractive price in student offer,10¥ per month or 95-115¥ per year (single core instance).That approximatly 1.4USD/month and 13-16USD/year.
Can you image 1 dollar in exchange for 10 new object and 10^10 soups ? only 1 dollar.


Note:
1. Single core instance is offered to anyone initial registed. Not only for students.
2. Every individual could only purchase ONE such offer. You cannot multipy them.
3. It is seems ID and phone num is required.Not sure whether works fine for passport ID.





code goes as below, works good at both Ubuntu 16/18

Code: Select all

#installation########
git clone https://gitlab.com/apgoucher/apgmera.git
cd apgmera
./recompile.sh --profile 

#runing########
cd apgmera
screen  ./apgluxe -n  10000000 -k YourOwnKey -p 1
 
Tools should not be the limit.
Whether your obstacle is a script, an stdin, or Linux environment computing resouces.
check New rules thread for help.

User avatar
calcyman
Moderator
Posts: 2932
Joined: June 1st, 2009, 4:32 pm

Re: apgsearch v5.0

Post by calcyman » June 11th, 2020, 5:32 pm

Dylan Chen wrote:
June 11th, 2020, 1:09 am
Practice of Cloud based Linux apgsearch.

Rencently, I have successfully deployed apgsearch on my Linux sever. It can search 24*365, roughly 6000-7000 soups/s. I assume every 2-3 days it will have one finding of new object.

The cost of maintenance of this server is quite low. Cloud computing companies located in China like Tencent\Alibaba\Telecom offer a very attractive price in student offer,10¥ per month or 95-115¥ per year (single core instance).That approximatly 1.4USD/month and 13-16USD/year.
Can you image 1 dollar in exchange for 10 new object and 10^10 soups ? only 1 dollar.
That's impressively cost-effective. The latest version of apgsearch can manage 1 040 000 soups per second on a Volta V100 GPU. With an Amazon EC2 p3.2xlarge instance using spot pricing, it costs $0.918 per hour, which translates to 4 * 10^9 soups per dollar. So you're getting a roughly 2.5x improvement in the soups-per-dollar ratio.

Between C1 and G1, Catagolue has censused 84 trillion soups, so the 'student price' for performing an entire Catagolue of computational effort is $8400 (compared with $21000 using the AWS spot pricing approach).
What do you do with ill crystallographers? Take them to the mono-clinic!

User avatar
LaundryPizza03
Posts: 2295
Joined: December 15th, 2017, 12:05 am
Location: Unidentified location "https://en.wikipedia.org/wiki/Texas"

Re: apgsearch v5.0

Post by LaundryPizza03 » July 5th, 2020, 3:57 am

Will future versions include support for non-totalistic B0 rules?

Code: Select all

x = 4, y = 3, rule = B3-q4z5y/S234k5j
2b2o$b2o$2o!
LaundryPizza03 at Wikipedia

Dylan Chen
Posts: 114
Joined: March 27th, 2020, 8:07 am
Contact:

Re: apgsearch v5.0

Post by Dylan Chen » August 7th, 2020, 8:07 pm

John Goodman wrote:
June 7th, 2020, 7:03 pm
Recently acquired an Nvidia GPU and thought I'd try apgluxe in cuda mode (G1). Built it under Win 10/WSL (note: had to edit the makefile to specify 'g++-8' or it gave an error).
Current version of WSL does not support full GPU application. With later win10 2004 update, it is said that WSL2 will be released. In WSL2 you can full utilize GPU with Linux kernal, inlcuding CUDA. A good news for GPU search and AI training user.
Tools should not be the limit.
Whether your obstacle is a script, an stdin, or Linux environment computing resouces.
check New rules thread for help.

Dylan Chen
Posts: 114
Joined: March 27th, 2020, 8:07 am
Contact:

Re: apgsearch v5.0

Post by Dylan Chen » August 7th, 2020, 10:31 pm

For those who may get interest on Cloud based APGsearch, though not familiar with Linux command line. I'd like to share my note about how to do APGsearch on a cloud Linux server. Hoping it would be helpful to you.

1. Choose suitable distribution.
Ubuntu and Debian are recommended. From the perspective of soup search speed, latest version is better. Ubuntu20.04>18.04>16.04, 64bit>32bit, Debian is faster than the Ubuntu distributed in the same year.

2. Remote connection.
I'm sure your cloud sever provider have detailed documentation on the console page. Contact them if you got any confusion.

Code: Select all

# basically the code goes like this
ssh ubuntu@70.205.119.151
your-own-password
3. System update & preparation.
There always has some updates and packages which are required for code compiling. To make sure your Linux sever get optimum state, following configurations are necessary.

Code: Select all

#run these code line by line, type "yes" if have to
apt update 
apt upgrade
# it may take a little while wait for downloading and installing

apt install gcc#
apt install g++#
apt install make #
apt install git
apt install screen
#those 5 packages are needed
some ubuntu sever may need "sudo apt" command, if ordinary "apt" didn't work well.

4. Get your apgmera.

Code: Select all

#installation########
git clone https://gitlab.com/apgoucher/apgmera.git  #download apgmera
cd apgmera # goto the directory
./recompile.sh --profile  # compile it, let your CPU know what to do

#runing########
cd apgmera
screen  ./apgluxe -n  10000023 -k YourOwnKey
5. Advanced Tips.

(1)It is recommended to append a prime number to each process if you have two or more severs to run simultaneously. Such as 10000023\10000041\10000031, distinct and clear.
It would be easy to know each of their performance on Catagolue. And wouldn't get mixed even the network connection are bad. eg: 30000069\20000082\10000031

(2) The screen command make sure even you leave it alone or close the SHH window, the sever is still going on 24*365. "Ctrl+a" then "c", could create a new screen window, "Ctrl+a" then "n", could change to next screen window.
If you get back some day later, after SSH login, "screen -ls" will list your screen number, "screen -r 1231" would resume the 1231 screen.

(3)Some other command line are also useful. "top" can check the CPU running state, "lscpu" can list the information of CPU.
Tools should not be the limit.
Whether your obstacle is a script, an stdin, or Linux environment computing resouces.
check New rules thread for help.

User avatar
LaundryPizza03
Posts: 2295
Joined: December 15th, 2017, 12:05 am
Location: Unidentified location "https://en.wikipedia.org/wiki/Texas"

Re: apgsearch v5.0

Post by LaundryPizza03 » September 2nd, 2020, 1:17 am

I'm trying to figure out how to pipe the binaries output from ikpx2 to apgsearch. I intend to upload (2,1)c/5 partials from a search running in B368/S245.

Code: Select all

x = 4, y = 3, rule = B3-q4z5y/S234k5j
2b2o$b2o$2o!
LaundryPizza03 at Wikipedia

John Goodman
Posts: 32
Joined: December 13th, 2019, 10:00 am

Re: apgsearch v5.0

Post by John Goodman » October 8th, 2020, 8:50 am

Dylan Chen wrote:
August 7th, 2020, 8:07 pm
John Goodman wrote:
June 7th, 2020, 7:03 pm
Recently acquired an Nvidia GPU and thought I'd try apgluxe in cuda mode (G1). Built it under Win 10/WSL (note: had to edit the makefile to specify 'g++-8' or it gave an error).
Current version of WSL does not support full GPU application. With later win10 2004 update, it is said that WSL2 will be released. In WSL2 you can full utilize GPU with Linux kernal, inlcuding CUDA. A good news for GPU search and AI training user.
I finally updated to WSL 2 and tried again, but I still get the segmentation fault. But thanks anyway.

Post Reply