From 3d7bb118606ab338f56e7d9954d1cd0938d14f48 Mon Sep 17 00:00:00 2001
From: Lucas Nussbaum <lucas.nussbaum@inria.fr>
Date: Tue, 25 Feb 2025 19:49:22 +0100
Subject: [PATCH] [musa] change max_walltime to 6h / 24h / 48h

---
 .../sites/sophia/clusters/musa/nodes/musa-1.json       |  2 +-
 .../sites/sophia/clusters/musa/nodes/musa-2.json       |  2 +-
 .../sites/sophia/clusters/musa/nodes/musa-3.json       |  2 +-
 .../sites/sophia/clusters/musa/nodes/musa-4.json       |  2 +-
 .../sites/sophia/clusters/musa/nodes/musa-5.json       |  2 +-
 .../sites/sophia/clusters/musa/nodes/musa-6.json       |  2 +-
 input/grid5000/sites/sophia/clusters/musa/musa.yaml    | 10 +++++++++-
 7 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-1.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-1.json
index 7b0891ad483..1fe334adad1 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-1.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-1.json
@@ -296,7 +296,7 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 604800,
+    "max_walltime": 21600,
     "queues": [
       "admin",
       "production"
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-2.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-2.json
index 999ba92171c..f12de964b99 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-2.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-2.json
@@ -296,7 +296,7 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 604800,
+    "max_walltime": 21600,
     "queues": [
       "admin",
       "production"
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-3.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-3.json
index aacb9d0cd5e..460ae0d05c6 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-3.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-3.json
@@ -296,7 +296,7 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 604800,
+    "max_walltime": 86400,
     "queues": [
       "admin",
       "production"
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-4.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-4.json
index b665fc2f27d..9f7556e7ba1 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-4.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-4.json
@@ -296,7 +296,7 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 604800,
+    "max_walltime": 86400,
     "queues": [
       "admin",
       "production"
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-5.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-5.json
index 76577ac6f76..09c6cbe5667 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-5.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-5.json
@@ -296,7 +296,7 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 604800,
+    "max_walltime": 172800,
     "queues": [
       "admin",
       "production"
diff --git a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-6.json b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-6.json
index 4f850a9d1b1..376414baf9f 100644
--- a/data/grid5000/sites/sophia/clusters/musa/nodes/musa-6.json
+++ b/data/grid5000/sites/sophia/clusters/musa/nodes/musa-6.json
@@ -296,7 +296,7 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 604800,
+    "max_walltime": 172800,
     "queues": [
       "admin",
       "production"
diff --git a/input/grid5000/sites/sophia/clusters/musa/musa.yaml b/input/grid5000/sites/sophia/clusters/musa/musa.yaml
index 4333b375260..61d47818dcb 100644
--- a/input/grid5000/sites/sophia/clusters/musa/musa.yaml
+++ b/input/grid5000/sites/sophia/clusters/musa/musa.yaml
@@ -8,6 +8,15 @@ queues:
   - admin
   - production
 nodes:
+  musa-[1-2]:
+    supported_job_types:
+      max_walltime: 21600
+  musa-[3-4]:
+    supported_job_types:
+      max_walltime: 86400
+  musa-[5-6]:
+    supported_job_types:
+      max_walltime: 172800
   musa-[1-6]:
     chassis:
       manufactured_at: 2024-12-09
@@ -15,7 +24,6 @@ nodes:
     supported_job_types:
       deploy: true
       besteffort: true
-      max_walltime: 604800
     processor:
       microarchitecture: Zen 4
       clock_speed: 2_900_000_000
-- 
GitLab