Skip to content

Fix SPINDLE_DEBUG + SPINDLE_TEST in SPANK plugin#146

Merged
mplegendre merged 1 commit intollnl:develfrom
ParaToolsInc:spank-debug-log
Mar 13, 2026
Merged

Fix SPINDLE_DEBUG + SPINDLE_TEST in SPANK plugin#146
mplegendre merged 1 commit intollnl:develfrom
ParaToolsInc:spank-debug-log

Conversation

@nchaimov
Copy link
Collaborator

This fixes a bug where the log daemons would not start correctly when Spindle was launched through the SPANK plugin if both SPINDLE_DEBUG and SPINDLE_TEST were set.

While there is existing code to handle environment forwarding, it did not set environment variables seen by slurmstepd, which is where Spindle is started on the compute nodes. The TMPDIR, SPINDLE_DEBUG, and SPINDLE_TEST environment variables are now read from the srun/local environment and use to set the corresponding variables in the slurm_spank_task_init callback. This has to happen before any debug messages are logged.

@mplegendre mplegendre merged commit e509de4 into llnl:devel Mar 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants