From 37c9c81eb5fc33c1795a612ee24dfe4ff52ea931 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Fri, 16 Apr 2010 18:47:30 +0000 Subject: [PATCH] Add comment asking for contributions from the user community --- src/plugins/job_submit/defaults/job_submit_defaults.c | 6 ++++++ src/plugins/job_submit/logging/job_submit_logging.c | 6 ++++++ src/plugins/job_submit/partition/job_submit_partition.c | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/src/plugins/job_submit/defaults/job_submit_defaults.c b/src/plugins/job_submit/defaults/job_submit_defaults.c index 1e12043316a..e0335eb8c9f 100644 --- a/src/plugins/job_submit/defaults/job_submit_defaults.c +++ b/src/plugins/job_submit/defaults/job_submit_defaults.c @@ -100,6 +100,12 @@ const char plugin_type[] = "job_submit/defaults"; const uint32_t plugin_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 * 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 diff --git a/src/plugins/job_submit/logging/job_submit_logging.c b/src/plugins/job_submit/logging/job_submit_logging.c index b15ece6d815..f67fa30d2c6 100644 --- a/src/plugins/job_submit/logging/job_submit_logging.c +++ b/src/plugins/job_submit/logging/job_submit_logging.c @@ -99,6 +99,12 @@ const char plugin_type[] = "job_submit/logging"; const uint32_t plugin_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) { /* Log select fields from a job submit request. See slurm/slurm.h diff --git a/src/plugins/job_submit/partition/job_submit_partition.c b/src/plugins/job_submit/partition/job_submit_partition.c index 822ccc378ed..68bb9457f8d 100644 --- a/src/plugins/job_submit/partition/job_submit_partition.c +++ b/src/plugins/job_submit/partition/job_submit_partition.c @@ -99,6 +99,12 @@ const char plugin_type[] = "job_submit/partition"; const uint32_t plugin_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 * the partition's AllowGroups parameter. */ static bool _user_access(uid_t run_uid, struct part_record *part_ptr) -- GitLab