- 20 Dec, 2011 9 commits
-
-
Danny Auble authored
-
Danny Auble authored
'SoftwareError' state.
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
on.
-
Danny Auble authored
-
Danny Auble authored
sync on threads instead of holding up the machine for potential blocks that have stuck jobs on them.
-
- 19 Dec, 2011 7 commits
-
-
Danny Auble authored
-
Danny Auble authored
-
Morris Jette authored
The slurmctld code does not filter from possible use the midplanes with completing jobs, but let the select/bluegene plugin be responsible for avoiding use of individual cnodes with completing jobs.
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
Behavior of srun --multi-prog modified so that any program arguments specified on the command line will be appended to the program arguments specified in the program configuration file.
-
- 17 Dec, 2011 3 commits
-
-
Morris Jette authored
-
Mark A. Grondona authored
When importing an exported shell function, the bracket count code didn't handle negative return value from _bracket_cnt(), so a shell function (or a shell variable starting with '(') would loop until the end of the env output. Since the test for no open bracket wasn't handled anyway, remove this and clean up _bracket_cnt() code (which now returns negative if there are more closing than opening brackets). Also, remove the unneded local integer bracket_cnt from the while loops and only continue processing while the bracket tally is > 0. Note: There are still many unhandled corner cases in this code.
-
Mark A. Grondona authored
src/common/env.c:env_array_user_default() tries to import a "default" user environment by parsing the output of something like su - <user> -c "/bin/env" ( or "slurmstepd getenv") (or an equivalent) when the job is run with --get-user-env. There is some code that tries to detect and import exported bash shell functions, which usually have the form func=() { ... } into the job environment. However, one of the many problems with the code is that the test for bounds overflow: if ((strlen(value) + strlen(line)) > (sizeof(value) - 1)) break; useis sizeof(value) and value is a char *. This means that all multiline shell functions are truncated, and the following error appears in users batch script output: /bin/sh: func: line 1: syntax error: unexpected end of file /bin/sh: error importing function definition for `func' This patch fixes the bounds test. Similar cut-and-paste code in _load_env_cache() was also fixed. However, it should be noted that there are many other potential cases where shell functions will not be properly imported by this code. (For example, quoted unbalanced brackets used in the function) Someday this should be fixed.
-
- 16 Dec, 2011 2 commits
-
-
Danny Auble authored
-
Danny Auble authored
source dir.
-
- 15 Dec, 2011 14 commits
-
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
lock.
-
Danny Auble authored
adding/removing columns.
-
Morris Jette authored
-
Morris Jette authored
Prevent resetting a held job's priority when updating other job parameters. Patch from Alejandro Lucero Palau, BSC.
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Morris Jette authored
-
- 14 Dec, 2011 5 commits
-
-
Morris Jette authored
Conflicts: doc/html/team.shtml
-
Morris Jette authored
Patch from John Thiltges, University of Nebraska-Lincoln.
-
Danny Auble authored
-
Morris Jette authored
-
Danny Auble authored
-