Quick fix for switch plugin initialization now that the slurmd_step process
is exec'ed. This implementation is not ideal, because for switch/federation the slurmd_step process needs to read in and parse the federation.conf file every time the slurmd_step is exec'ed. Added "switch_g_slurmctld_init", "switch_g_slurmd_init", and "switch_g_slurmd_step_init" calls to the switch API. NOTE: The "switch_g_slurmctld_init" function is not yet called anywhere in the slurmctld, but it also is not yet needed by any switch plugin.
Showing
- src/common/switch.c 31 additions, 1 deletionsrc/common/switch.c
- src/plugins/switch/elan/switch_elan.c 15 additions, 0 deletionssrc/plugins/switch/elan/switch_elan.c
- src/plugins/switch/federation/federation.c 99 additions, 32 deletionssrc/plugins/switch/federation/federation.c
- src/plugins/switch/federation/federation.h 0 additions, 1 deletionsrc/plugins/switch/federation/federation.h
- src/plugins/switch/federation/switch_federation.c 16 additions, 2 deletionssrc/plugins/switch/federation/switch_federation.c
- src/plugins/switch/none/switch_none.c 14 additions, 0 deletionssrc/plugins/switch/none/switch_none.c
- src/slurmd/slurmd.c 1 addition, 0 deletionssrc/slurmd/slurmd.c
- src/slurmd/slurmd_step.c 1 addition, 0 deletionssrc/slurmd/slurmd_step.c
Loading
Please register or sign in to comment