Skip to content
Snippets Groups Projects
Commit c0bf968a authored by Danny Auble's avatar Danny Auble
Browse files

Merge remote-tracking branch 'origin/slurm-2.3'

parents f140e93d 8e5da472
No related branches found
No related tags found
No related merge requests found
......@@ -253,6 +253,8 @@ documents those changes that are of interest to users and admins.
-- Add support for switches parameter to the job_submit/lua plugin. Work by
Par Andersson, NSC.
-- Fix to job preemption logic to preempt multiple jobs at the same time.
-- Fix minor issue where uid and gid were switched in sview for submitting
batch jobs.
* Changes in SLURM 2.3.4
========================
......
......@@ -716,7 +716,7 @@ int _print_partition(sinfo_data_t * sinfo_data, int width,
char *tmp;
tmp = xstrdup(sinfo_data->part_info->name);
if (sinfo_data->part_info->flags & PART_FLAG_DEFAULT) {
if ( (strlen(tmp) < width) || (width == 0) )
if (strlen(tmp) < width)
xstrcat(tmp, "*");
else if (width > 0)
tmp[width-1] = '*';
......
......@@ -523,8 +523,8 @@ extern void create_create_popup(GtkAction *action, gpointer user_data)
"More fields will be made available later.");
job_msg = xmalloc(sizeof(job_desc_msg_t));
slurm_init_job_desc_msg(job_msg);
job_msg->group_id = getuid();
job_msg->user_id = getgid();
job_msg->group_id = getgid();
job_msg->user_id = getuid();
job_msg->work_dir = xmalloc(1024);
if (!getcwd(job_msg->work_dir, 1024))
goto end_it;
......
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