Skip to content
Snippets Groups Projects
Commit 37c9c81e authored by Moe Jette's avatar Moe Jette
Browse files

Add comment asking for contributions from the user community

parent 49e8460e
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,12 @@ const char plugin_type[] = "job_submit/defaults"; ...@@ -100,6 +100,12 @@ const char plugin_type[] = "job_submit/defaults";
const uint32_t plugin_version = 100; const uint32_t plugin_version = 100;
const uint32_t min_plug_version = 100; const uint32_t min_plug_version = 100;
/*****************************************************************************\
* We've provided a simple example of the type of things you can do with this
* plugin. If you develop another plugin that may be of interest to others
* please post it to slurm-dev@lists.llnl.gov Thanks!
\*****************************************************************************/
/* This example code will prevent users from setting an accounting frequency /* This example code will prevent users from setting an accounting frequency
* of less than 30 seconds in order to insure more precise accounting. * of less than 30 seconds in order to insure more precise accounting.
* Also remove any QOS value set by the user in order to use the default value * Also remove any QOS value set by the user in order to use the default value
......
...@@ -99,6 +99,12 @@ const char plugin_type[] = "job_submit/logging"; ...@@ -99,6 +99,12 @@ const char plugin_type[] = "job_submit/logging";
const uint32_t plugin_version = 100; const uint32_t plugin_version = 100;
const uint32_t min_plug_version = 100; const uint32_t min_plug_version = 100;
/*****************************************************************************\
* We've provided a simple example of the type of things you can do with this
* plugin. If you develop another plugin that may be of interest to others
* please post it to slurm-dev@lists.llnl.gov Thanks!
\*****************************************************************************/
extern int job_submit(struct job_descriptor *job_desc) extern int job_submit(struct job_descriptor *job_desc)
{ {
/* Log select fields from a job submit request. See slurm/slurm.h /* Log select fields from a job submit request. See slurm/slurm.h
......
...@@ -99,6 +99,12 @@ const char plugin_type[] = "job_submit/partition"; ...@@ -99,6 +99,12 @@ const char plugin_type[] = "job_submit/partition";
const uint32_t plugin_version = 100; const uint32_t plugin_version = 100;
const uint32_t min_plug_version = 100; const uint32_t min_plug_version = 100;
/*****************************************************************************\
* We've provided a simple example of the type of things you can do with this
* plugin. If you develop another plugin that may be of interest to others
* please post it to slurm-dev@lists.llnl.gov Thanks!
\*****************************************************************************/
/* Test if this user can run jobs in the selected partition based upon /* Test if this user can run jobs in the selected partition based upon
* the partition's AllowGroups parameter. */ * the partition's AllowGroups parameter. */
static bool _user_access(uid_t run_uid, struct part_record *part_ptr) static bool _user_access(uid_t run_uid, struct part_record *part_ptr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment