Compare commits

..

41 Commits

Author SHA1 Message Date
e461c86851 Bind mount /home as /nfs/home in apex and owls
Fixes: rarias/jungle#232
2026-03-24 17:02:03 +01:00
0140b887bb Add licence to oneapi update.hs
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:22 +01:00
3f4532cc6d Add meta to oneapi packages
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:22 +01:00
f6df325056 Log missing deps on update.hs without Debug.Trace
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:22 +01:00
9f9f7b0d6e Add error handling to oneapi update script
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:21 +01:00
f15b272c41 Save full version in hpckit packages
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:21 +01:00
2d90a92e69 Fix PoCL SYCL tests
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:21 +01:00
70023b719d Update Intel 2023 derivation to use new TOML
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:21 +01:00
67a2ac460b Only save relevant packages from intel repo
Refactored the parsing and dependency resolution logic into a single
Haskell script.

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:21 +01:00
54d5d5806b Add stdenv to llvm-intel passthru
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:21 +01:00
a514090dec Refactor intel-oneapi into deb and open subfolders
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:20 +01:00
f41bdf88bd Use explicit version instead of wildcard in intel
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:20 +01:00
95b412ddc1 Conditionally enable cuda on llvm-intel
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:20 +01:00
19a028dd95 Add stdenv and tests for llvm-intel compiler
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:20 +01:00
96baa371ef Add cudatoolkit to PATH
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:20 +01:00
d28bb762fd Disable zerocallusedregs in llvm-intel
Doesn't work with neither spirv nor nvptx

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:20 +01:00
6c4ce0d913 Enable libdevice in llvm-intel
This requires a wrapper stub to set up the flags,
since libdevice is built using the built compiler.

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:20 +01:00
64cb958400 Wrap llvm-intel
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:19 +01:00
e3fc37f320 Add llvm-intel
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:19 +01:00
88fd9cb410 Add tests for Intel OCL
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:19 +01:00
3caa55e676 Add test for sycl-ls with PoCL and Intel OCL
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:19 +01:00
194789bc89 Add intel.icd to hpckit compiler
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:19 +01:00
f480be0a27 Add test to run sycl applications with PoCL
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:19 +01:00
d5def005fe Provide sycl-ls and sycl-trace on wrapped oneapi compiler
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:19 +01:00
20be729e24 Use PoCL as SYCL runtime
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:18 +01:00
88e857921c Add GROMACS
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:18 +01:00
1ccf074400 Add OpenCL Conformance Tests to PoCL
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:18 +01:00
0a53c18d6b Use POCL_CACHE_DIR instead of writableHome...Hook
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:18 +01:00
1ad15c5ac4 Add tests for PoCL with and without using icd
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:18 +01:00
dfbaa6df97 Add PoCL passthru test that sets doCheck
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:18 +01:00
abca9183b0 Add clinfo test for PoCL
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:18 +01:00
87741307ee Add PoCL
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:17 +01:00
3681e4385a Add libgcc to intel packages wrapper
Fixes missing lib when compiling some SYCL benchmarks:
ld: cannot find -lstdc++fs: No such file or directory

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:17 +01:00
17a4f3c164 Add passthru in ompss2 wrapper for icpx compat
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:17 +01:00
a996277610 Remove wrapper flags when clang called from intel
When using `icpx -fsycl -fsycl-host-compiler=clang++`, the inner
compiler will use the flags set in the icpx wrapper and it will break.

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:17 +01:00
cbd7466f59 Add oneMath
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:17 +01:00
b1a66a6262 Use json for Intel 2023 instead of awk + ifd
This reuses the existing json from the new 2024-25
intel packages instead of parsing the raw data from
the apt output and doing IFD.

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:17 +01:00
a203e533e0 Add TASYCL 2.1.0
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:16 +01:00
d0f0fad636 Add test for icpx with ompss-2 as host compiler
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:16 +01:00
946a0a559b Add SYCL test compilation
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:16 +01:00
982cbd4182 Add intelPackages_202{4,5} and make 2025 the default
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2026-03-23 16:19:16 +01:00
5 changed files with 32 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
../module/ceph.nix ../module/ceph.nix
../module/hut-substituter.nix ../module/hut-substituter.nix
../module/slurm-server.nix ../module/slurm-server.nix
../module/nfs-home-bind.nix
./nfs.nix ./nfs.nix
./wireguard.nix ./wireguard.nix
]; ];

View File

@@ -0,0 +1,8 @@
{
# Alias nfs home
fileSystems."/nfs/home" = {
device = "/home";
fsType = "none";
options = [ "bind" ];
};
}

View File

@@ -9,6 +9,7 @@
../module/slurm-firewall.nix ../module/slurm-firewall.nix
../module/debuginfod.nix ../module/debuginfod.nix
../module/hut-substituter.nix ../module/hut-substituter.nix
../module/nfs-home-bind.nix
]; ];
# Select the this using the ID to avoid mismatches # Select the this using the ID to avoid mismatches

View File

@@ -9,6 +9,7 @@
../module/slurm-firewall.nix ../module/slurm-firewall.nix
../module/debuginfod.nix ../module/debuginfod.nix
../module/hut-substituter.nix ../module/hut-substituter.nix
../module/nfs-home-bind.nix
]; ];
# Select the this using the ID to avoid mismatches # Select the this using the ID to avoid mismatches

View File

@@ -1,3 +1,24 @@
-- Copyright (c) 2026 Barcelona Supercomputing Center (BSC)
-- SPDX-License-Identifier: MIT
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-- copies of the Software, and to permit persons to whom the Software is
-- furnished to do so, subject to the following conditions:
--
-- The above copyright notice and this permission notice shall be included in
-- all copies or substantial portions of the Software.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-- SOFTWARE.
{-# LANGUAGE LambdaCase #-} {-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}