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: [email protected]

Reply via email to