Add OmpSs-2 simple example

This commit is contained in:
2026-02-04 11:53:01 +01:00
parent 150bdae46e
commit 7e55e255f9
6 changed files with 163 additions and 0 deletions

36
ompss2/flake.nix Normal file
View File

@@ -0,0 +1,36 @@
{
inputs.jungle.url = "git+https://jungle.bsc.es/git/rarias/jungle";
outputs = { self, jungle }:
let
nixpkgs = jungle.inputs.nixpkgs;
customOverlay = (final: prev: {
# Example overlay, for now empty
});
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
# Apply jungle overlay to get our BSC custom packages
jungle.outputs.bscOverlay
# And on top apply our local changes to customize for cluster
customOverlay
];
};
in {
devShells.x86_64-linux.default = pkgs.mkShell {
pname = "ompss2-devshell";
# Include these packages in the shell
packages = with pkgs; [
clangOmpss2Nodes
nodes
nosv
ovni
# Optional: Add wxparaver to open .prv traces (needs a working $DISPLAY)
# wxparaver
];
# The dependencies needed to build these packages will be also included
inputsFrom = with pkgs; [
];
};
};
}