| Summary: | Question on 20.11 release notes regarding SPANK plugins | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Felix Abecassis <fabecassis> |
| Component: | Documentation | Assignee: | Marshall Garey <mgarey> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | CC: | fabecassis, lyeager |
| Version: | 20.11.5 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| See Also: | https://bugs.schedmd.com/show_bug.cgi?id=12309 | ||
| Site: | NVIDIA (PSLA) | Slinky Site: | --- |
| Alineos Sites: | --- | Atos/Eviden Sites: | --- |
| Confidential Site: | --- | Coreweave sites: | --- |
| Cray Sites: | --- | DS9 clusters: | --- |
| Google sites: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | NoveTech Sites: | --- |
| Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Tzag Elita Sites: | --- |
| Linux Distro: | --- | Machine Name: | |
| CLE Version: | Version Fixed: | ||
| Target Release: | --- | DevPrio: | --- |
| Emory-Cloud Sites: | --- | ||
|
Description
Felix Abecassis
2021-04-06 16:07:11 MDT
Yes, Slurm APIs referes to the functions found in the slurm.h file, specifically the ones starting with "slurm". For example, the function "slurm_init()" is a Slurm API that needs to be called before any other Slurm API. So, Look out for SPANK plugins calling any function called "slurm_*" and make sure those are recompiled. The sentence you referred to in RELEASE_NOTES isn't specific to 20.11. It's always in RELEASE_NOTES. "If using SPANK plugins that use the Slurm APIs, they should be recompiled when upgrading Slurm to a new major release." The parts of RELEASE_NOTES that are specific to each version: * Everything below that sentence (starting with "NOTE") * The version numbers in the part discussing what versions are compatible with the latest release, since obviously they will change on every release Although you man not need to recompile SPANK plugins that don't call "slurm_*" functions, I recommend recompiling them anyway on every major version upgrade. > So, Look out for SPANK plugins calling any function called "slurm_*" and make sure those are recompiled. Well, except for the SPANK logging functions :) https://github.com/SchedMD/slurm/blob/slurm-20-11-5-1/slurm/spank.h#L412-L431 Thanks for the answer, I didn't realize there was SPANK plugins out there using the slurm.h API in addition to the spank.h API. Closing as INFOGIVEN. |