Skip to content

Fix SPINDLE_DEBUG + SPINDLE_TEST in SPANK plugin#146

Open
nchaimov wants to merge 1 commit intollnl:develfrom
ParaToolsInc:spank-debug-log
Open

Fix SPINDLE_DEBUG + SPINDLE_TEST in SPANK plugin#146
nchaimov wants to merge 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.

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.

1 participant