Silk discussion thread

For scripts to aid with computation or simulation in cellular automata.
AlbertArmStain
Posts: 1512
Joined: January 28th, 2022, 7:18 pm
Location: Planet Z

Re: Thread for your script-related questions

Post by AlbertArmStain » July 15th, 2024, 10:29 am

calcyman wrote:
June 16th, 2024, 11:28 am
AlbertArmStain wrote:
June 16th, 2024, 10:28 am
Thank you for your help, I still have a few questions:
Is there any other tools needed that are not packaged into Silk?
It has dependencies on CMake and nvcc -- but if you're using the Google Colab then you won't need to worry about installing anything, because it doesn't run on your computer; it runs on one of Google's cloud VMs where these things are preinstalled.
Finally, is CUDA compatible with iOS? I’ve been getting mixed results for compatibility with iOS.
If you're using Google Colab, then you should be able to run Silk from any browser (for the reason mentioned above); you don't need CUDA installed on your computer because the code is running elsewhere.

If you're trying to run Silk on your own machine, then apparently CUDA doesn't work on MacOS (and newer Macs don't have NVIDIA GPUs in any case): https://developer.nvidia.com/nvidia-cud ... -mac-hosts
which developer kit should I use if it doesn't work?
Multi-state Circuitry Thread
Search Dump
Certified aro/ace furry UWU (at least in my eyes).

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

Re: Thread for your script-related questions

Post by calcyman » July 15th, 2024, 11:25 am

AlbertArmStain wrote:
July 15th, 2024, 10:29 am
which developer kit should I use if it doesn't work?
What do you mean by "doesn't work"? What system (hardware + OS + GPUs) do you have, and what error are you encountering at what part of the instructions on https://gitlab.com/apgoucher/silk/-/blo ... /README.md ?
What do you do with ill crystallographers? Take them to the mono-clinic!

AlbertArmStain
Posts: 1512
Joined: January 28th, 2022, 7:18 pm
Location: Planet Z

Re: Thread for your script-related questions

Post by AlbertArmStain » July 15th, 2024, 2:06 pm

calcyman wrote:
July 15th, 2024, 11:25 am
AlbertArmStain wrote:
July 15th, 2024, 10:29 am
which developer kit should I use if it doesn't work?
What do you mean by "doesn't work"? What system (hardware + OS + GPUs) do you have, and what error are you encountering at what part of the instructions on https://gitlab.com/apgoucher/silk/-/blo ... /README.md ?
CPU: 3.3 GHz 6-Core Intel Core i5
OS: MacOS
GPU: AMD Radeon Pro 5300 4 GB
There doesn't seem to be any installation instructions for different Cuda applications
How do you run the search on the Cloud?
EDIT:
I can run CUDA on my AMD GPU using ZLUDA, no idea how to however.
Multi-state Circuitry Thread
Search Dump
Certified aro/ace furry UWU (at least in my eyes).

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

Re: Thread for your script-related questions

Post by calcyman » July 16th, 2024, 5:56 am

AlbertArmStain wrote:
July 15th, 2024, 2:06 pm
How do you run the search on the Cloud?
These instructions explain how to do it in Google Colab, which gives you a few hours per day of free GPU time: https://gitlab.com/apgoucher/silk#optio ... -the-cloud

If you want a beefier computer and are willing to pay for it, then you can rent one from LeaderGPU and follow the instructions in https://gitlab.com/apgoucher/silk#optio ... r-computer instead. I recommend the RTX 4090 GPUs because they're the best for non-matmul performance.
What do you do with ill crystallographers? Take them to the mono-clinic!

User avatar
get_Snacked
Posts: 328
Joined: August 20th, 2022, 10:51 pm
Location: mushroom kingdom

Re: Silk discussion thread

Post by get_Snacked » October 31st, 2024, 10:32 pm

i'm trying to run Silk locally. my GPU is a GeForce RTX 3050 (more of a gaming GPU, lol, but hopefully that's fine), and i got the following error:

Code: Select all

nvcc fatal   : Value 'native' is not defined for option 'gpu-architecture'
how can i fix this?
EDIT: this is from when i was trying to recompile, FYI.

User avatar
get_Snacked
Posts: 328
Joined: August 20th, 2022, 10:51 pm
Location: mushroom kingdom

Re: Silk discussion thread

Post by get_Snacked » November 8th, 2024, 2:43 pm

get_Snacked wrote:
October 31st, 2024, 10:32 pm
i'm trying to run Silk locally. my GPU is a GeForce RTX 3050 (more of a gaming GPU, lol, but hopefully that's fine), and i got the following error:

Code: Select all

nvcc fatal   : Value 'native' is not defined for option 'gpu-architecture'
how can i fix this?
EDIT: this is from when i was trying to recompile, FYI.
following up because i really want to use Silk (not right now tho, my computer is going through repair, but i still want to know what i need to fix : D)

User avatar
whatislife
Posts: 65
Joined: June 24th, 2023, 5:47 am

Re: Silk discussion thread

Post by whatislife » November 9th, 2024, 2:22 am

You didn't say what OS this machine is so I'm guessing gaming PC means wsl, which is what I use. I don't remember if I had that error message, but I do remember having problems until I carefully matched compatible versions of everything involved from windows drivers up. Here's what I said about that on discord a while ago:
a while ago on discord I wrote:If anyone else has trouble compiling: there are a LOT of pitfalls here, this was the best resource I found https://medium.com/ibm-data-ai/straight ... 118add9e53 (here we just need the driver and CUDA versions correct) At one point I got it to compile with messages just like the sample but it failed run_unit_tests.sh - the problem was a version mismatch between the max reported by nvidia-smi and the version pulled by the network installer, you must go to https://developer.nvidia.com/cuda-toolkit-archive, find the right version, and use the local runfile installer. When installer gets to "please make sure blah blah" it is a reminder that you need to update bashrc with your correct version like explained in step 4 here https://gist.github.com/Glavin001/3f73a ... ee41f27c34 and make sure the shell is updated before trying again. Very confusing!
For what it's worth, nvidia-smi and nvcc -V no longer report the same version on my system, so upgrading things as usual hasn't broken anything yet.

Here's something more fun from my silk logs, a 2-glider-mess-to-century conduit, here between a H-to-2-glider mess and a century-to-G to show it is connectable. New stuff in light green state 3 cells:

Code: Select all

x = 83, y = 71, rule = LifeHistory
24.2A8.2A12.4B$25.A8.A14.4B$25.A.2A2.BA.A15.4B$26.AB.A.B2A17.4B$27.B
2A2B20.4B$28.5B20.4B$20.B8.4B21.4B11.2A$19.3B2.3B.4B5.2A16.4B8.2B2AB$
19.14B4.A.A16.4B7.4B$17.17B5.A17.4B5.4B$17.21B2A.2A.A13.4B5.4B$16.24B
.A.2A14.4B4.5B$16.21B4.A18.5B.6B2.2B$15.22B3.2A19.16B$15.21B26.17B$
15.22B.B23.17B$13.2AB.21B2A23.17B$12.A.AB3.19B2A23.18B$12.A7.19B25.
18B$11.2A7.11B.7B24.20B$21.16B25.20B$20.11B2.4B24.19B$20.12B2.4B23.
19B$20.11B4.4B20.20B$20.B3D4B.2B2A3.4B14.3B2.18B$20.2BD4B3.BA.A3.4B
10.25B$20.2B3D2B6.A4.4B9.14BD10B$20.6B7.2A4.4B7.15B2D8B$19.7B9.A4.4B
6.B2C11B2D9B5.A$7.2A9.8B6.A.A6.4B5.B2C11BD10B3.3A$8.A8.8B5.3A.2A6.4B
3.27B.A$8.A.AB4.9B4.A13.4B.28BA.A$9.2AB.6B.6B3.2A13.13B2.11B.3B.2BAB$
11.7B.8B.3B14.13B2.2B.B2.2B8.2B$11.18B17.14B15.2B$11.18BAB14.3BDBD10B
13.B2AB$10.18BABAB.B11.4B3D8B15.2A$9.18BA2BA2B2A10.4BDB3D4B$7.18B.2B
2AB.B2A10.6BDBD4B$7.2BC15B2.3B3.B12.7BD3B$6.3BCBC4B.7B2.3B17.10B$7.2B
3C4B2.6B2.B2AB17.9B$6.5BC5B.7B2.2A18.9B$5.13B.6B21.11B$4.4B7.9B21.4B.
3B.C2B2.2C$4.3B9.8B20.4B3.2BCBC.C2.C$2.4B11.8B18.4B4.BCB.C.2C$2.2A14.
7B8.A8.4B7.2C2.C$3.A15.6B6.3A7.4B12.C.C$3A16.2B3D2B4.A9.4B14.2C$A5.2A
11.2BD5B3.2A7.4B$6.A.A10.B3D4B.4B6.4B$4.A.A.A9.12B7.4B$3.A.A2.A.2A6.
13B5.4B$2.A2.A.A.A2.A6.12B4.4B$2.2ABA.AB2.A.A6.11B3.4B$5.AB2A3.A5.B4.
7B3.4B$2.2A.A3B8.3B2.8B2.4B$A2.ABAB.22B.4B$2A2.AB.2B2A4B2A17B$6.2BA2B
A.BA2BA16B$2A2.AB.2B2A4B2A18B2.2A$A2.ABAB.9B.17B3.A$2.2A.A3B9.19B.A.
2A$5.AB2A3.A6.3B.12B2A.A2.A$2.2ABA.AB2.A.A10.11B.A.2A$2.A2.A.A.A2.A
14.4B3.B.A$3.A.A2.A.2A17.B5.2A$4.A.A.A19.3B$6.A.A18.B2AB$6.2A20.2A!
I like 2-glider collisions as an active region to feed silk because they are small and can be made with clearances that are easy to understand (and this became of the motivation to collect a full set of H-to-2-glider-collision conduits to connect with)
:cursed:

User avatar
get_Snacked
Posts: 328
Joined: August 20th, 2022, 10:51 pm
Location: mushroom kingdom

Re: Silk discussion thread

Post by get_Snacked » December 3rd, 2024, 7:35 pm

which nvcc, cuda, and driver versions are compatible for usage of Silk? is there somewhere i can check?

Post Reply