TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Nix(OS) for HPC?

2 pointsby HMHover 3 years ago
Recently I helped a friend getting some scientific software running on an HPC system a little on the smaller side. The software is written in C++ and uses cmake for building. And to be honest, the experience was rather subpar.<p>All HPC systems I have worked on have been using Lmod [1] to manage the environment and enable building with say Intel&#x27;s compiler or some specific MPI version.<p>Now one of the concrete problems I hit was the following: Loading the latest version of cmake using Lmod pulls in the latest version of gcc&#x27;s libstdc++ as cmake is dynamically linked against that. But if you try to build said software with the Intel toolchain which pulls an older version of libstdc++ into the environment, suddenly cmake breaks with a rather cryptic symbol not found error.<p>This is what got me thinking: On HPC systems you typically need to have lots of libraries&#x2F;software with oftentimes many and conflicting versions installed, so your users can use what they need. I have not yet tried Nix(OS) myself, but what I described does very much sound like the problem it is intended to solve.<p>Thus my question: Has anyone tried Nix(OS) on an HPC system, how did it go? Otherwise, are there (better) alternatives to Lmod?<p>[1]: https:&#x2F;&#x2F;lmod.readthedocs.io

2 comments

arisbe__over 3 years ago
I can&#x27;t answer your question as I am not informed about the subject, but I can add that I am aware that Guix&#x2F;GuixSD is used for some HPC (see <a href="https:&#x2F;&#x2F;hpc.guix.info&#x2F;about&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hpc.guix.info&#x2F;about&#x2F;</a>). Perhaps Nix&#x2F;NixOS is as well.<p>If you don&#x27;t get an answer here try <a href="https:&#x2F;&#x2F;nixos.org&#x2F;community&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;nixos.org&#x2F;community&#x2F;index.html</a>.
评论 #29301273 未加载
zekriocaover 3 years ago
Why wouldn’t any container system work? Many such systems these days support unprivileged containers and near zero overhears, which are basically the main concerns in HPC.
评论 #29301439 未加载