Apgsearch question

For scripts to aid with computation or simulation in cellular automata.
Post Reply
FlameandFury
Posts: 118
Joined: May 18th, 2016, 10:07 pm

Apgsearch question

Post by FlameandFury » May 22nd, 2016, 12:43 pm

Whenever I try to open Apgsearch (or any other Python script for that matter) on Golly, it says:
"Python library does not have this symbol: Py_Initialize"
I am running a Windows 7 Intel Pentium laptop. Any tips? Thanks.
what is sesame oil?

drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm

Re: Apgsearch question

Post by drc » May 22nd, 2016, 1:14 pm

Which version are you using?

FlameandFury
Posts: 118
Joined: May 18th, 2016, 10:07 pm

Re: Apgsearch question

Post by FlameandFury » May 22nd, 2016, 2:22 pm

Apgsearch 1.1 on the latest version of Golly, 2.7. Python is 2.7.11
what is sesame oil?

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Apgsearch question

Post by muzik » May 23rd, 2016, 3:29 am

Is the golly 32 bit or 64 bit?

FlameandFury
Posts: 118
Joined: May 18th, 2016, 10:07 pm

Re: Apgsearch question

Post by FlameandFury » May 23rd, 2016, 12:05 pm

32 bit. Is there some sort of compatibility issue?
what is sesame oil?

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Apgsearch question

Post by muzik » May 23rd, 2016, 12:27 pm

You need 64 bit Golly if everything else is 64 bit.

FlameandFury
Posts: 118
Joined: May 18th, 2016, 10:07 pm

Re: Apgsearch question

Post by FlameandFury » May 23rd, 2016, 1:40 pm

Thank you so much! My computer is 64 bit (I checked) and so there's the problem.
what is sesame oil?

User avatar
muzik
Posts: 5652
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Apgsearch question

Post by muzik » May 24th, 2016, 3:24 am

Glad to be of help. I figured out the exact same problem with own computer like 2 weeks ago...

User avatar
lk050807
Posts: 113
Joined: April 10th, 2023, 4:12 pm
Location: One hour from a river were salmons leap.

Re: Apgsearch question

Post by lk050807 » September 26th, 2023, 3:48 pm

It says:
Python wrote: $ Python 'apgsearch.py'
Traceback (most recent call last):
File "/Users/sami/Documents/apgsearch.py", line 67, in <module>
import golly as g
ModuleNotFoundError: No module named 'golly'
Apgseach version. 1.1.
I have golly(4.2) and Python(3.11.5).
"For the snark is a boojum, you see."
The P3 guy.

Whaz this?

Please support HeartLife

HELP WANTED!
I discovered a new p101 SKOP! Its md5 hash is: b5de045f2a2f5a35160f69afd5ba9572!
Now apgsearching so, not online.

User avatar
EvinZL
Posts: 854
Joined: November 8th, 2018, 4:15 pm
Location: A tungsten pool travelling towards the sun
Contact:

Re: Apgsearch question

Post by EvinZL » September 26th, 2023, 7:50 pm

lk050807 wrote:
September 26th, 2023, 3:48 pm
It says:
Python wrote: $ Python 'apgsearch.py'
Traceback (most recent call last):
File "/Users/sami/Documents/apgsearch.py", line 67, in <module>
import golly as g
ModuleNotFoundError: No module named 'golly'
Apgseach version. 1.1.
I have golly(4.2) and Python(3.11.5).
Do not run python from the command line or any normal application. It needs to be run from within Golly using File>Run Script

User avatar
lk050807
Posts: 113
Joined: April 10th, 2023, 4:12 pm
Location: One hour from a river were salmons leap.

Re: Apgsearch question

Post by lk050807 » September 28th, 2023, 5:57 pm

EvinZL wrote:
September 26th, 2023, 7:50 pm
lk050807 wrote:
September 26th, 2023, 3:48 pm
It says:
Python wrote: $ Python 'apgsearch.py'
Traceback (most recent call last):
File "/Users/sami/Documents/apgsearch.py", line 67, in <module>
import golly as g
ModuleNotFoundError: No module named 'golly'
Apgseach version. 1.1.
I have golly(4.2) and Python(3.11.5).
Do not run python from the command line or any normal application. It needs to be run from within Golly using File>Run Script
Oh my, now is says:
屏幕快照 2023-09-28 18.55.01.png
屏幕快照 2023-09-28 18.55.01.png (28.78 KiB) Viewed 3435 times
[/img]
"For the snark is a boojum, you see."
The P3 guy.

Whaz this?

Please support HeartLife

HELP WANTED!
I discovered a new p101 SKOP! Its md5 hash is: b5de045f2a2f5a35160f69afd5ba9572!
Now apgsearching so, not online.

User avatar
dvgrn
Moderator
Posts: 10693
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Apgsearch question

Post by dvgrn » September 28th, 2023, 6:24 pm

lk050807 wrote:
September 28th, 2023, 5:57 pm
EvinZL wrote:
September 26th, 2023, 7:50 pm
lk050807 wrote:
September 26th, 2023, 3:48 pm
It says:

Apgseach version. 1.1.
I have golly(4.2) and Python(3.11.5).
Do not run python from the command line or any normal application. It needs to be run from within Golly using File>Run Script
Oh my, now is says:
2023-09-28 18.55.01.png[/img]
I believe that's an error you'll get trying to run Python 2.x code using Python 3.x.

I don't believe anyone has ever ported that ancientmost version of apgsearch to Python 3.x, so you'd have to install Python 2.x (or port the code) if you wanted to get that working.

Disaster16439
Posts: 191
Joined: June 30th, 2023, 9:17 am
Location: Suffocating(my coordinates are 3,-64,192929929)

skjdflkcjvldjlsfjslfjslfjswejfwoajefojwoefjwoijfowie

Post by Disaster16439 » October 16th, 2023, 8:44 pm

dvgrn wrote:
September 28th, 2023, 6:24 pm
lk050807 wrote:
September 28th, 2023, 5:57 pm
EvinZL wrote:
September 26th, 2023, 7:50 pm


Do not run python from the command line or any normal application. It needs to be run from within Golly using File>Run Script
Oh my, now is says:
2023-09-28 18.55.01.png[/img]
I believe that's an error you'll get trying to run Python 2.x code using Python 3.x.

I don't believe anyone has ever ported that ancientmost version of apgsearch to Python 3.x, so you'd have to install Python 2.x (or port the code) if you wanted to get that working.
well, I think that you would also need to install golly 3.4(what i'm using for apgsearch which is running rught now). Note that on mac, you will not need to install anything else as python 2.7 is autoinstalled

My 10! TH POST!
!)!+!)!
101=101
I QUIT CA

User avatar
C_R_116
Posts: 535
Joined: April 15th, 2021, 2:49 pm
Location: At my home doing other random stuff.

Re: Compiled Apgsearch Runs Too Slow

Post by C_R_116 » March 13th, 2024, 7:01 pm

Both use 4 threads, rule b3s23, and c1 symmetry.

Precompiled Version:

Code: Select all

Using seed k_cWPUxUu5Tq8v
Instruction set ←[1mSSE4.2←[0m detected
Running 10000000 soups per haul:
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
Soup k_cWPUxUu5Tq8v70869 has a final population of ←[1;34m3096←[0m cells.
b3s23/C1: 100000 soups completed (5449.888 soups/second current, 5449.888 overall).
b3s23/C1: 200000 soups completed (3328.673 soups/second current, 4133.000 overall).
Rare oscillator detected: ←[1;31mxp8_gk2gb3z11←[0m
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
Soup k_cWPUxUu5Tq8v287675 lasts an estimated ←[1;34m30064←[0m generations; rerunning...
Linear-growth pattern detected: ←[1;32mSyoup l144_1_16_afb5f3db909e60548f086e22ee3353ack←_cWPUxUu5Tq8v287675[0m
actually lasts ←[1;34m20614←[0m generations.
b3s23/C1: 300000 soups completed (4416.766 soups/second current, 4223.389 overall).
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
b3s23/C1: 400000 soups completed (5061.497 soups/second current, 4405.772 overall).
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
b3s23/C1: 500000 soups completed (4634.135 soups/second current, 4449.626 overall).
b3s23/C1: 600000 soups completed (4214.075 soups/second current, 4408.523 overall).
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
b3s23/C1: 700000 soups completed (4223.508 soups/second current, 4381.106 overall).
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
b3s23/C1: 800000 soups completed (3894.688 soups/second current, 4313.738 overall).
b3s23/C1: 900000 soups completed (5262.604 soups/second current, 4401.925 overall).
Linear-growth pattern detected: ←[1;32myl384_1_59_7aeb1999980c43b4945fb7fcdb023326←[0m
b3s23/C1: 1000000 soups completed (4673.989 soups/second current, 4427.698 overall).
Linear-growth pattern detected: ←[1;32myl384_1_59_7aeb1999980c43b4945fb7fcdb023326←[0m
b3s23/C1: 1100000 soups completed (4507.753 soups/second current, 4434.840 overall).
Linear-growth pattern detected: ←[1;32myl384_1_59_7aeb1999980c43b4945fb7fcdb023326←[0m
b3s23/C1: 1200000 soups completed (4334.070 soups/second current, 4426.248 overall).
b3s23/C1: 1300000 soups completed (4532.886 soups/second current, 4434.272 overall).
b3s23/C1: 1400000 soups completed (4689.992 soups/second current, 4451.595 overall).
b3s23/C1: 1500000 soups completed (3905.335 soups/second current, 4410.468 overall).
b3s23/C1: 1600000 soups completed (4968.203 soups/second current, 4441.619 overall).
b3s23/C1: 1700000 soups completed (4560.587 soups/second current, 4448.433 overall).
b3s23/C1: 1800000 soups completed (5329.070 soups/second current, 4489.640 overall).
Rare oscillator detected: ←[1;31mxp4_37bkic←[0m
b3s23/C1: 1900000 soups completed (5318.017 soups/second current, 4526.752 overall).
b3s23/C1: 2000000 soups completed (4787.667 soups/second current, 4539.120 overall).
b3s23/C1: 2100000 soups completed (5281.783 soups/second current, 4569.708 overall).
b3s23/C1: 2200000 soups completed (4998.750 soups/second current, 4587.606 overall).
b3s23/C1: 2300000 soups completed (4628.772 soups/second current, 4589.371 overall).
b3s23/C1: 2400000 soups completed (4816.956 soups/second current, 4598.415 overall).
Compiled Version:

Code: Select all

Using seed k_JiQUHpmntS6s
Instruction set SSE4.2 detected
Running 10000000 soups per haul:
b3s23/C1: 18125 soups completed (1812.500 soups/second current, 1812.500 overall).
b3s23/C1: 31667 soups completed (1354.200 soups/second current, 1583.350 overall).
b3s23/C1: 46050 soups completed (1438.300 soups/second current, 1534.949 overall).
b3s23/C1: 58329 soups completed (1205.596 soups/second current, 1451.476 overall).
b3s23/C1: 61495 soups completed (316.600 soups/second current, 1225.317 overall).
b3s23/C1: 69888 soups completed (839.216 soups/second current, 1161.162 overall).
b3s23/C1: 81632 soups completed (1174.283 soups/second current, 1163.031 overall).
b3s23/C1: 92562 soups completed (1093.000 soups/second current, 1154.298 overall).
b3s23/C1: 105466 soups completed (1290.400 soups/second current, 1169.389 overall).
b3s23/C1: 117904 soups completed (1243.303 soups/second current, 1176.757 overall).
b3s23/C1: 129975 soups completed (1207.100 soups/second current, 1179.511 overall).
b3s23/C1: 141023 soups completed (1104.800 soups/second current, 1173.285 overall).
b3s23/C1: 151419 soups completed (1039.600 soups/second current, 1163.017 overall).
b3s23/C1: 160745 soups completed (932.600 soups/second current, 1146.582 overall).
b3s23/C1: 171770 soups completed (1101.179 soups/second current, 1143.555 overall).
b3s23/C1: 184053 soups completed (1228.054 soups/second current, 1148.823 overall).
Rare oscillator detected: xp4_37bkic
b3s23/C1: 192906 soups completed (884.681 soups/second current, 1133.295 overall).
b3s23/C1: 202893 soups completed (998.500 soups/second current, 1125.807 overall).
b3s23/C1: 213437 soups completed (1053.978 soups/second current, 1122.024 overall).
b3s23/C1: 223216 soups completed (975.559 soups/second current, 1114.687 overall).
b3s23/C1: 235587 soups completed (1234.138 soups/second current, 1120.381 overall).
b3s23/C1: 248804 soups completed (1312.773 soups/second current, 1129.167 overall).
b3s23/C1: 260423 soups completed (1161.900 soups/second current, 1130.588 overall).
b3s23/C1: 272044 soups completed (1162.100 soups/second current, 1131.899 overall).
b3s23/C1: 282941 soups completed (1089.373 soups/second current, 1130.195 overall).
b3s23/C1: 293503 soups completed (1055.989 soups/second current, 1127.340 overall).
b3s23/C1: 304603 soups completed (1106.349 soups/second current, 1126.561 overall).
Linear-growth pattern detected: yl144_1_16_afb5f3db909e60548f086e22ee3353ac
b3s23/C1: 314588 soups completed (998.400 soups/second current, 1121.990 overall).
b3s23/C1: 327261 soups completed (1267.173 soups/second current, 1126.986 overall).
b3s23/C1: 338353 soups completed (1108.978 soups/second current, 1126.387 overall).
b3s23/C1: 348593 soups completed (1024.000 soups/second current, 1123.084 overall).
b3s23/C1: 361793 soups completed (1320.000 soups/second current, 1129.230 overall).
b3s23/C1: 371614 soups completed (982.100 soups/second current, 1124.777 overall).
Rare oscillator detected: xp8_gk2gb3z11
b3s23/C1: 381394 soups completed (965.354 soups/second current, 1120.031 overall).
b3s23/C1: 390462 soups completed (904.268 soups/second current, 1113.859 overall).
Linear-growth pattern detected: yl144_1_16_afb5f3db909e60548f086e22ee3353ac
b3s23/C1: 402617 soups completed (1214.286 soups/second current, 1116.644 overall).
b3s23/C1: 414878 soups completed (1222.311 soups/second current, 1119.501 overall).
b3s23/C1: 427330 soups completed (1243.335 soups/second current, 1122.759 overall).
b3s23/C1: 436627 soups completed (929.700 soups/second current, 1117.817 overall).
b3s23/C1: 449662 soups completed (1302.068 soups/second current, 1122.418 overall).
b3s23/C1: 462932 soups completed (1327.000 soups/second current, 1127.400 overall).
b3s23/C1: 476194 soups completed (1326.200 soups/second current, 1132.124 overall).
b3s23/C1: 489419 soups completed (1320.519 soups/second current, 1136.503 overall).
b3s23/C1: 499796 soups completed (1037.700 soups/second current, 1134.260 overall).
b3s23/C1: 512892 soups completed (1309.207 soups/second current, 1138.141 overall).
b3s23/C1: 525978 soups completed (1308.600 soups/second current, 1141.842 overall).
b3s23/C1: 538202 soups completed (1222.400 soups/second current, 1143.553 overall).
b3s23/C1: 551180 soups completed (1297.151 soups/second current, 1146.751 overall).
b3s23/C1: 563148 soups completed (1196.800 soups/second current, 1147.771 overall).
b3s23/C1: 573369 soups completed (1022.100 soups/second current, 1145.258 overall).
b3s23/C1: 585667 soups completed (1229.800 soups/second current, 1146.914 overall).
b3s23/C1: 596555 soups completed (1086.952 soups/second current, 1145.758 overall).
Linear-growth pattern detected: yl384_1_59_7aeb1999980c43b4945fb7fcdb023326
b3s23/C1: 608203 soups completed (1164.800 soups/second current, 1146.117 overall).
b3s23/C1: 619627 soups completed (1142.400 soups/second current, 1146.046 overall).
b3s23/C1: 630380 soups completed (1075.192 soups/second current, 1144.759 overall).
Why is compiled apgsearch 4x slower than precompiled apgsearch?
By: C.R. Hilton, currently working on another cool spaceship.

User avatar
confocaloid
Posts: 3058
Joined: February 8th, 2022, 3:15 pm

Re: Compiled Apgsearch Runs Too Slow

Post by confocaloid » March 13th, 2024, 7:49 pm

C_R_116 wrote:
March 13th, 2024, 7:01 pm
Why is compiled apgsearch 4x slower than precompiled apgsearch?
There might be some difference in which compiler is used and/or in parameters. What are messages printed during compilation?

edit: maybe one could attempt running both compiled and precompiled versions using 2 threads or using 1 thread, to see whether the difference changes to "2x slower"/"same speed" correspondingly (i.e. matches the number of threads), or the difference remains ~4x.
C_R_116 wrote:
March 13th, 2024, 7:01 pm
Both use 4 threads, rule b3s23, and c1 symmetry.
[...]
Why is compiled apgsearch 4x slower than precompiled apgsearch?
Last edited by confocaloid on March 13th, 2024, 8:41 pm, edited 2 times in total.

User avatar
C_R_116
Posts: 535
Joined: April 15th, 2021, 2:49 pm
Location: At my home doing other random stuff.

Re: Compiled Apgsearch Runs Too Slow

Post by C_R_116 » March 13th, 2024, 7:58 pm

confocaloid wrote:
March 13th, 2024, 7:49 pm
C_R_116 wrote:
March 13th, 2024, 7:01 pm
Why is compiled apgsearch 4x slower than precompiled apgsearch?
There might be some difference in which compiler is used and/or in parameters. What are messages printed during compilation?
Running recompile.sh gives me this:

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 10 LTRANS jobs
true
true                                                oo o
true                                                oo ooo
true                                                      o
true                                                oo ooo
true                                                 o o
true                                                 o o
true                                                  o
apgluxe v5.43-ll2.5.8: Rule b3s23 is correctly configured.
apgluxe v5.43-ll2.5.8: Symmetry C1 is correctly configured.
By: C.R. Hilton, currently working on another cool spaceship.

User avatar
C_R_116
Posts: 535
Joined: April 15th, 2021, 2:49 pm
Location: At my home doing other random stuff.

Re: Compiled Apgsearch Runs Too Slow

Post by C_R_116 » March 13th, 2024, 9:43 pm

confocaloid wrote:
March 13th, 2024, 7:49 pm
edit: maybe one could attempt running both compiled and precompiled versions using 2 threads or using 1 thread, to see whether the difference changes to "2x slower"/"same speed" correspondingly (i.e. matches the number of threads), or the difference remains ~4x.
1 thread precompiled:

Code: Select all

Linear-growth pattern detected: ←[1;32myl384_1_59_7aeb1999980c43b4945fb7fcdb023326←[0m
b3s23/C1: 100000 soups completed (1922.522 soups/second current, 1922.522 overall).
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
b3s23/C1: 200000 soups completed (1613.840 soups/second current, 1754.694 overall).
1 thread compiled:

Code: Select all

b3s23/C1: 17712 soups completed (1771.200 soups/second current, 1771.200 overall).
b3s23/C1: 36442 soups completed (1873.000 soups/second current, 1822.100 overall).
b3s23/C1: 55061 soups completed (1861.900 soups/second current, 1835.305 overall).
b3s23/C1: 74141 soups completed (1908.000 soups/second current, 1853.479 overall).
b3s23/C1: 92879 soups completed (1873.800 soups/second current, 1857.506 overall).
b3s23/C1: 112426 soups completed (1953.723 soups/second current, 1873.548 overall).
2 threads precompiled:

Code: Select all

b3s23/C1: 100000 soups completed (3290.340 soups/second current, 3290.340 overall).
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
b3s23/C1: 200000 soups completed (3216.365 soups/second current, 3252.879 overall).
Linear-growth pattern detected: ←[1;32myl144_1_16_afb5f3db909e60548f086e22ee3353ac←[0m
Rare oscillator detected: ←[1;31mxp8_gk2gb3z11←[0m
2 threads compiled:

Code: Select all

b3s23/C1: 15109 soups completed (1510.598 soups/second current, 1510.598 overall).
b3s23/C1: 34212 soups completed (1910.300 soups/second current, 1710.343 overall).
b3s23/C1: 50836 soups completed (1662.234 soups/second current, 1694.307 overall).
b3s23/C1: 66723 soups completed (1588.700 soups/second current, 1667.908 overall).
Linear-growth pattern detected: yl384_1_59_7aeb1999980c43b4945fb7fcdb023326
b3s23/C1: 84897 soups completed (1817.400 soups/second current, 1697.804 overall).
b3s23/C1: 102230 soups completed (1733.300 soups/second current, 1703.691 overall).
By: C.R. Hilton, currently working on another cool spaceship.

User avatar
confocaloid
Posts: 3058
Joined: February 8th, 2022, 3:15 pm

Re: Compiled Apgsearch Runs Too Slow

Post by confocaloid » March 13th, 2024, 9:51 pm

C_R_116 wrote:
March 13th, 2024, 9:43 pm
From comparing speeds, it looks like support for multithreading is either missing or disabled in your compilation environment.

edit: maybe someone else could help with OS-specific details, if the existing tutorials didn't help.
Tutorials/Contributing_to_Catagolue#Soup-searching_using_apgluxe_5.x
https://gitlab.com/apgoucher/apgmera
README.md wrote:If you have a quad-core computer and would prefer not to run four separate instances, then use the -p command to parallelise:

Code: Select all

./apgluxe -n 20000000 -k mykey -p 4
This will use C++11 multithreading to parallelise across 4 threads, thus producing and uploading soups approximately four times more quickly. Note that this does not work on Cygwin.
Last edited by confocaloid on March 13th, 2024, 10:20 pm, edited 1 time in total.
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.

User avatar
C_R_116
Posts: 535
Joined: April 15th, 2021, 2:49 pm
Location: At my home doing other random stuff.

Re: Compiled Apgsearch Runs Too Slow

Post by C_R_116 » March 13th, 2024, 10:11 pm

confocaloid wrote:
March 13th, 2024, 9:51 pm
C_R_116 wrote:
March 13th, 2024, 9:43 pm
From comparing speeds, it looks like support for multithreading is either missing or disabled in your compilation environment.
How do I allow more threads to be used?

Edit: Cygwin does not support multithreads. I have no idea what compiler can though.

Edit 2: I may not be able to make lots of soups. But I was able to run multiple programs at once. The number of soups/second didn't decrease, so I think that helped. :mrgreen:
By: C.R. Hilton, currently working on another cool spaceship.

User avatar
EvinZL
Posts: 854
Joined: November 8th, 2018, 4:15 pm
Location: A tungsten pool travelling towards the sun
Contact:

Re: Compiled Apgsearch Runs Too Slow

Post by EvinZL » March 19th, 2024, 12:40 pm

C_R_116 wrote:
March 13th, 2024, 10:11 pm
How do I allow more threads to be used?

Edit: Cygwin does not support multithreads. I have no idea what compiler can though.
Try using WSL. Running apgsearch multithreaded on WSL works for me.

Post Reply