Move SLURM controller to apex #162

Manually merged
rarias merged 6 commits from slurm-on-apex into master 2025-08-29 12:56:20 +02:00
Owner

Fixes #157

This makes it possible for users to directly interact with slurm without having to access hut, so we can restrict hut for services only. It also makes it easier to access fox directly from the login.

Tested with hostname, as MPI won't work until I install the OmniPath cabling again:

apex% srun -N2 hostname
owl2
owl1
Fixes #157 This makes it possible for users to directly interact with slurm without having to access hut, so we can restrict hut for services only. It also makes it easier to access fox directly from the login. Tested with `hostname`, as MPI won't work until I install the OmniPath cabling again: ``` apex% srun -N2 hostname owl2 owl1 ```
rarias added 5 commits 2025-08-28 12:01:08 +02:00
rarias requested review from abonerib 2025-08-28 12:01:08 +02:00
abonerib reviewed 2025-08-28 17:45:10 +02:00
abonerib left a comment
Collaborator

LGTM just left some comments are mostly nitpicks.

If the firewall rules work, and you have tested it I think we can merge it.

LGTM just left some comments are mostly nitpicks. If the firewall rules work, and you have tested it I think we can merge it.
@@ -1,33 +1,10 @@
{ config, pkgs, lib, ... }:
Collaborator

config and pkgs are unnused

`config` and `pkgs` are unnused
rarias marked this conversation as resolved
@@ -0,0 +1,115 @@
{ config, pkgs, lib, ... }:
Collaborator

lib is also unnused

`lib` is also unnused
rarias marked this conversation as resolved
@@ -0,0 +1,115 @@
{ config, pkgs, lib, ... }:
let
suspendProgram = pkgs.writeScript "suspend.sh" ''
Collaborator

We could use writeShellScript so it adds the shebang and lints it?

We could use `writeShellScript` so it adds the shebang and lints it?
rarias marked this conversation as resolved
rarias force-pushed slurm-on-apex from 0b0f3a77a8 to d3889b3339 2025-08-29 12:45:21 +02:00 Compare
rarias manually merged commit d3889b3339 into master 2025-08-29 12:56:20 +02:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/jungle#162