-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure: magma #393035
Comments
The NixOS Hydra doesn’t build with CUDA support enabled, so that’s why it doesn’t exist there. I’ll take a look at this later today to see if I can reproduce. Any idea if your builds occur in a tmpfs-backed directory or on disk? I have a fuzzy recollection of the default Nix configuration using a build directory on a tmpfs mount (which is limited to half the amount of RAM)… but I’m on my phone so who knows 🤷♂️ Also, did you specify any |
Ah yes, good catch - indeed they occur in tmpfs (not by default, but I've configured that myself). So now the 50GB+ RAM usage and "no space left on device" both make sense. My tmpfs was set to 16GB, though. I will try increasing it to 32GB and building again, will report back.
If you mean Off topic question if I may: how can I avoid building from source in this case? I do have the following in my
Is it just because I'm using unstable and it's not in the cache yet? In either case, it's always fun to see my CPU at 100% load on all cores, that is a rare sight :D |
The issue was that my build was happening in tmpfs and I ran out of memory. Increasing my tmpfs size and setting |
Nixpkgs version
Steps to reproduce
Build
magma-2.9.0
I have
cudaSupport
set totrue
in my nixpkgs configCan Hydra reproduce this build failure?
I was not able to find a Hydra job for
magma-2.9.0
. I could find one instaging-next
, but it was last run in February for2.7.2
and it was manually canceled: https://hydra.nixos.org/job/nixpkgs/staging-next/magma.x86_64-linuxLink to Hydra build job
No response
Relevant log output
Additional context
It says "No space left on device", but I have a couple of hundred GB free.
Not sure if this is relevant, but my RAM usage goes up to 50GB+ during the build (I have enough)
System metadata
"x86_64-linux"
Linux 6.13.7, NixOS, 25.05 (Warbler), 25.05.20250319.2a725d4
yes
yes
nix-env (Nix) 2.24.12
/nix/store/aymywl6wcxvxfj804gck5gsli32pv7q1-source
Notify maintainers
@ConnorBaker @NixOS/cuda-maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: