-
- Downloads
Patch based upon 08:node-select-ops-typedef.diff patch from Geritt.
There were quite a few changes due to slurm changes from pre11 to pre12 and i also removed some void** function arguments. select/cray: share the select_ops symbol table This removes code duplication from the select/cray plugin, by * sharing the (almost completely identical) declaration of the select_opts struct; * and also the slurm_select_context_t struct; * moving typedefs from .c into .h; * adjusting header-includes and renaming as required. Further changes: * added the missing 'plugin_id' to the symbol list in other_select.c (otherwise the symbols would be shifted, causing segfault); * __select_jobinfo_t_defined is already set in slurm.h(.in), hence no longer repeated in node_select.h; * removed unused forward declarations to destroy the context.
Showing
- src/common/node_select.c 8 additions, 110 deletionssrc/common/node_select.c
- src/common/node_select.h 91 additions, 0 deletionssrc/common/node_select.h
- src/plugins/select/cray/other_select.c 10 additions, 102 deletionssrc/plugins/select/cray/other_select.c
- src/plugins/select/cray/other_select.h 3 additions, 2 deletionssrc/plugins/select/cray/other_select.h
- src/plugins/select/cray/select_cray.c 3 additions, 2 deletionssrc/plugins/select/cray/select_cray.c
Loading
Please register or sign in to comment