this post was submitted on 04 Oct 2024
14 points (100.0% liked)

Linux

48178 readers
1403 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi, I'm trying to get SCALE to work but I'm so confused by what they mean by PATH and I'm stuck.

https://github.com/spectral-compute/scale-docs/blob/master/docs/manual/how-to-use.md

I'm at the CMAKE step.

This is the official guide I'm following. I do understand what they mean by SCALE_PATH though as that is clearly explained but PATH is just very vague to me or I'm just misunderstanding it completely.

you are viewing a single comment's thread
view the rest of the comments
[–] Strit@lemmy.linuxuserspace.show 7 points 1 month ago (2 children)

PATH is a shell variable that defines where stuff can be executed from without writing their absolute path.

So the export PATH command just adds the scale stuff to the path.

[–] WereCat@lemmy.world 2 points 1 month ago

Thanks, I'm still not sure I completely understand but I think this iis how it's supposed to be

[–] WereCat@lemmy.world 2 points 1 month ago (1 children)

Well, I progressed quite a bit and learned a lot more than I knew until now but I give up. This is way over my head, I'll stick to using ROCM for now. Thanks for pointing me in the right direction at least.

[–] bigbuckalex@lemmy.zip 2 points 1 month ago (1 children)

Sorry to tell you to RTFM, but little obstacles like this will be WAY easier to deal with if you just commit some time to learning the basics. I'd recommend linuxjourney.com, if you take the time to fully understand everything there you will know more than 99% of people here about this stuff

[–] WereCat@lemmy.world 1 points 1 month ago

I'm fine with RTFM but I had no idea PATH is a global variable and I assumed it's telling me to specify path to something. So I had no idea I need to RTFM because I did not RTFM to understand that I need to RTFM. After the first reply pointed me the right direction I managed to make sense of it. Though english is not my first language and some of the terms are just over my head so I had to RTFM with dictionary which took a lot of time for me to finally understand because I was doing another thing wrong on top of that which specifically was

I had to do ~/SCALE_PATH instead of the confusing example of $(SCALE_PATH} as trying nvcc --version did absolutely nothing even though the path was correct

I've been on Linux since April so I've stumbled a lot but got many things to work, it just takes me a lot of time to get trough it and I've really stumbled on this one. Getting ROCM to work was a breeze and most recently getting PyTorch with ROCM to work for AI generative models on AMD. I've also finally started to tinker with toolbox a lot more and finally understand the benefits of it.