I ran into some issues while trying to run the test_algo_mac from terminal on my Mac. I did manage to resolve them, but since I did not find any info on here I thought I’d share it.
When I tried to run the
$ ./test_algo_mac from the scripts folder I’d get
command not found. Then I went back to the repo root and tried
$ ./scripts/test_algo_mac I got
Permission denied, so tried running it with
sudo but got the same error as before
command not found. I tried a bunch more things, but to cut a long story short I ended up on this webpage https://howtoubuntu.org/how-to-execute-a-run-or-bin-file-in-ubuntu.
What I did to fix the problem was, to run
$ chmod +x test_algo_mac to mark the file as an executable as the site suggested and then I tried
$ ./test_algo_mac, it worked!
Problem solved. Hope this helps someone.