- 12 Dec, 2016 7 commits
-
-
Tim Wickberg authored
Commented out by commit 86beed44.
-
Tim Wickberg authored
Move two functions to static within print.c and slightly alter types to avoid casts with list_for_each calls. Also fixes leak of a ListIterator in print_steps_array().
-
Tim Wickberg authored
-
Tim Wickberg authored
Remove log_oom calls - xmalloc/xrealloc already do this for us and call abort(), so this is dead code. Fix a few function declaration formats while here.
-
Tim Wickberg authored
Covert bitstring.c to use it instead of BITSTR_SINGLE_FMT and BITSTRING_RANGE_FMT and remove those. Use within task/affinity as well so that builds with USE_64BIT_BITSTR enabled will pass.
-
Tim Wickberg authored
Missed the extra comma this introduces; looking at alternate approaches. This reverts commit 58cd45ae.
-
Tim Wickberg authored
Use within dist_tasks.c when printing a bitoff_t to fix compile with USE_64BIT_BITSTR enabled.
-
- 09 Dec, 2016 3 commits
-
-
Tim Wickberg authored
Would only print for affinity before. Change parse method to strstr() to no longer rely on specific position of plugin name in the config option. Bug 3294.
-
Morris Jette authored
-
Morris Jette authored
Provide limited support for the MemSpecLimit configuration parameter without the task/cgroup plugin.
-
- 08 Dec, 2016 9 commits
-
-
Morris Jette authored
-
Morris Jette authored
Revise commit e6ef1f0c The root cause of the failure is a bug in HWLOC that has since been fixed in HWLOC version 1.11.5.
-
Tim Wickberg authored
-
Tim Wickberg authored
If the second call to getgrouplist() found additional groups, ngroups will be overwritten with this new larger value, while the gids list would be truncated. (ngroups is a value-result arg.) This will then lead to _gids_cache_lookup() returning the wrong number of groups including invalid parts of memory, which are likely to include some zeros. Those zeros could then make it to the setgroups() call and thus give the user access to the root group. Especially as setgroups will succeed as long as the array does not contain -1 as a gid. Bug 3320.
-
Tim Wickberg authored
-
Danny Auble authored
-
Morris Jette authored
-
Morris Jette authored
task/cgroup - Change error message if CPU binding can not take place to better identify the root cause of the problem. Specifically, if the hwloc_get_obj_below_by_type() function call completely fails that is likely due to task/affinity not being configured, so cpusets are not configured. Previous message was "task/cgroup: task[%u] infinite loop broken while trying to provision compute elements using %s (bitmap:%s)" The new message is "task/cgroup: hwloc_get_obj_below_by_type() failing, task/affinity plugin also required"
-
Dominik Bartkiewicz authored
uint32_t needs %u on 32-bit platforms. Noticed by clang/travisci.
-
- 07 Dec, 2016 9 commits
-
-
Morris Jette authored
Test would fail if more than one task per core and SelectTypeParamers included CR_ONE_TASK_PER_CORE
-
Danny Auble authored
Bug 3258
-
Danny Auble authored
This reverts commit 55cb7973.
-
Danny Auble authored
This reverts commit 817c2ca4. # Conflicts: # NEWS
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
-
Danny Auble authored
-
- 06 Dec, 2016 12 commits
-
-
Morris Jette authored
-
Morris Jette authored
The test is still failing for me (along with a bunch of others), but this change at least gets the test started.
-
Morris Jette authored
-
Danny Auble authored
a slurmctld restart or reconfig, as they aren't really error messages. Bug 3258
-
Danny Auble authored
Bug 3258
-
Danny Auble authored
-
Morris Jette authored
-
Morris Jette authored
Done jost to run "git push" again after internal github error on previous push: remote: Resolving deltas: 100% (4/4), completed with 4 local objects. remote: Unexpected system error after push was received. remote: These changes may not be reflected on github.com! remote: Your unique error code: bdecb7b0f321368fe1f037a81a6e9c2c
-
Morris Jette authored
This restores the socket count check at node registration for non-KNL systems (at least systems without NodeFeaturesPlugins type that includes "knl"). This is a refinement of commit 1ce9a7c4
-
Tim Wickberg authored
-
Tim Wickberg authored
Note that this does not protect against all possible problems here. The setgroups() call in Linux at least is willing to set any gid_t value except -1 on a group, so calls will not always fail on corrupted group lists. Bug 3320.
-
Tim Wickberg authored
-