Thanks you for your contribution. This change will be in version 14.11.6 when released, likely around April 23. The commit is here:
https://github.com/SchedMD/slurm/commit/1c9ff75e8a29226a909dabf3110421cb4be5a7f1

Quoting Samuel Senoner <samuel.seno...@tuwien.ac.at>:
Hi,

could you please add following patch on the repository for plugins/job_submit/lua/job_submit_lua.c :



@@ -509,6 +509,10 @@
         lua_pushnumber (L, job_desc->group_id);
     } else if (!strcmp(name, "licenses")) {
         lua_pushstring (L, job_desc->licenses);
+        } else if (!strcmp(name, "mail_type")) {
+                lua_pushnumber (L, job_desc->mail_type);
+        } else if (!strcmp(name, "mail_user")) {
+                lua_pushstring (L, job_desc->mail_user);
     } else if (!strcmp(name, "max_cpus")) {
         lua_pushnumber (L, job_desc->max_cpus);
     } else if (!strcmp(name, "max_nodes")) {


I diffed it with a old copy, so maybe the line numbers are wrong, anyway it's in _job_req_field


best regards,

Samuel Senoner

--
Samuel Senoner
Zentraler Informatikdienst VSC
Technische Universität Wien
Wiedner Hauptstraße 8-10, 1040 Wien

phone: +43 1 58801 420759
email: samuel.seno...@tuwien.ac.at


--
Morris "Moe" Jette
CTO, SchedMD LLC
Commercial Slurm Development and Support

Reply via email to