Ticket 16505 - Lua submission script
Summary: Lua submission script
Status: RESOLVED INFOGIVEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: Accounting (show other tickets)
Version: 21.08.8
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: Director of Support
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2023-04-11 20:41 MDT by Michael Weiner
Modified: 2023-05-12 08:26 MDT (History)
1 user (show)

See Also:
Site: Cleveland Clinic
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Michael Weiner 2023-04-11 20:41:00 MDT
In our previous cluster we had begun working on a lua script to control job submission based on various factors. I am moving forward on a new cluster and need a refresher as to how exactly do i get that script to be utilized by slurm?

Michael
Comment 1 Benny Hedayati 2023-04-12 05:14:41 MDT
Hi,

The following documentation:

https://slurm.schedmd.com/job_submit_plugins.html

Gives an overview of how to use job submit filter with Slurm.

This page:

https://funinit.wordpress.com/2018/06/07/how-to-use-job_submit_lua-with-slurm/

Also gives a summary on the subject.

If you need more clarification please let me know.

Thanks
Comment 2 Benny Hedayati 2023-04-12 09:25:24 MDT
Also, here is a sample script to get you started:

https://github.com/SchedMD/slurm/blob/master/contribs/lua/job_submit.lua

Furthermore, if here is some documentation on cli_filter.lua which can also be uselful:

https://slurm.schedmd.com/cli_filter_plugins.html

Thanks
Comment 3 Michael Weiner 2023-04-12 12:10:39 MDT
Thank you for the helpful links. I will review and get back to you.

Michael
________________________________
From: bugs@schedmd.com <bugs@schedmd.com>
Sent: Wednesday, April 12, 2023 11:25 AM
To: Weiner, Michael <weinerm@ccf.org>
Subject: [EXT] [Bug 16505] Lua submission script


CAUTION CYBER RISK: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender, expected to receive this content and trust that it’s safe. If you determine that the email isn’t from a trusted source, you can delete the email, submit it via the BlueFish button in Outlook for investigation or forward the email as an attachment to phishtanktriage@ccf.org<mailto:phishtanktriage@ccf.org?subject=Report%20a%20Suspicious%20Email> if you don’t have the Bluefish button or are on a mobile device.

________________________________

Comment # 2<https://bugs.schedmd.com/show_bug.cgi?id=16505#c2> on bug 16505<https://bugs.schedmd.com/show_bug.cgi?id=16505> from Benny Hedayati<mailto:benny@schedmd.com>

Also, here is a sample script to get you started:

https://github.com/SchedMD/slurm/blob/master/contribs/lua/job_submit.lua<https://github.com/SchedMD/slurm/blob/master/contribs/lua/job_submit.lua>

Furthermore, if here is some documentation on cli_filter.lua which can also be
uselful:

https://slurm.schedmd.com/cli_filter_plugins.html<https://slurm.schedmd.com/cli_filter_plugins.html>

Thanks

________________________________
You are receiving this mail because:

  *   You reported the bug.


Please consider the environment before printing this e-mail

Cleveland Clinic is currently ranked as the No. 2 hospital in the country by U.S. News & World Report (2017-2018). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you.
Comment 4 Benny Hedayati 2023-04-13 05:08:43 MDT
Hi,

No problem and take your time.

Thanks
Comment 5 Benny Hedayati 2023-05-02 02:22:53 MDT
Hi,

Were you able to resolve your issue?  Can I be of further assistance?  If not, can we go ahead and close this ticket?

Thanks
Comment 6 Benny Hedayati 2023-05-12 08:26:17 MDT
Hi,

I'm gonna go ahead and close this ticket as infogiven.  If you have any further questions, please don't hesitate to re-open.

Thanks