--profile fails on apgsearch

Has something gone haywire? Let us know about it!
Post Reply
User avatar
LuveelVoom
Posts: 538
Joined: April 27th, 2022, 7:59 pm

--profile fails on apgsearch

Post by LuveelVoom »

Hi,

I'm trying to run apgsearch 5.43 on an M4 Mac. It works fine, except that when I attempt to run a search with --profile, the compile fails. Here's the command I'm using:

./apgluxe -k [Removed] --rule b3s23-a5 --symmetry D4_+1 -n 10000000 -p 13

This works fine. However, when I do this:

./apgluxe --profile -k [Removed] --rule b3s23-a5 --symmetry D4_+1 -n 10000000 -p 13

The profiler appears to work correctly, but once it finishes, I get this error:

Code: Select all

100000 soups completed.
0 tiles processed.
Attempting to contact Catagolue...
Connection was successful.
New seed: k_AcxuVtcDNmjr; iterations = 1; quitByUser = 0
Terminating...
true merge -o default.profdata *.profraw
true        done!
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11 -funsafe-loop-optimizations -Wunsafe-loop-optimizations -fprofile-use -fprofile-correction main.cpp -o main.o
clang++: warning: optimization flag '-funsafe-loop-optimizations' is not supported [-Wignored-optimization-argument]
clang++: warning: optimization flag '-fprofile-correction' is not supported [-Wignored-optimization-argument]
warning: unknown warning option '-Wunsafe-loop-optimizations' [-Wunknown-warning-option]
error: Error in reading profile default.profdata: No such file or directory
make: *** [main.o] Error 1
I'm fairly sure the only important part is this:

Code: Select all

true merge -o default.profdata *.profraw
(Lines removed...)
error: Error in reading profile default.profdata: No such file or directory
make: *** [main.o] Error 1
plz help, i want to run apgsearch a little faster :3 thanks
Post Reply