Repository navigation
[stat-gui] Browse Slurm and Flux jobs from the local Attach dialog - #93
Conversation
Ok. I don't have much experience on Flux. We can also add additional hint paths like
We could change that. I just kept how the existing UI was showing this.
Actually, I had this option in the base implementation like remote attach UI of debuggers :). Then I thought about additional options/configs of SSH jumphost etc and then kept it to minimal. But, it's straightforward and we a keep this on TODOs list. |
|
I think the flux user interface is more intuitive than the slurm on right now. User's would probably prefer to think in terms of jobs, not resource manager process IDs. Let me know if that's something you want to address in this PR or a new one, I'm OK either way. Also, it sounds like checking the return code of If everything is for future consideration, then I can merge this when you're ready. |
Ack, I will check.
Sounds good. Any specific preference for fields to chow? And, if we have multiple srun steps, we list those and provide an option for user to choose? |
|
For fields, perhaps JobName, NTasks, and NodeList. And it would be good to show all slurm job steps and let the user choose the exact one they want. |
@lee218llnl : In terms of the user interface, I will shortly push this interface.
|
a46cf4a to
8216156
Compare
|
@lee218llnl - I updated flux selection with So once CI passes and if looks ok to you, lets merge this. |
|
by the way @lee218llnl - this is also ready. (I will create UI one separately). Could you create some additional labels that we can assign to PRs? E.g. |
- Share one Running Jobs picker between the native and SSH dialogs for search, selection, and refresh. - Resolve Slurm launchers and manage the Flux debug helper for native attach, detach, and reattach.
…lations - Select the installed scheduler directly when only flux or squeue is available and use flux uptime when both exist. - Report the selected scheduler in server health and reuse it for remote job browsing and sampling.
8216156 to
a98764c
Compare
|
I added the requested labels. The only other one I could think of is "pending-external" for example when a PR is blocked by a external dependence like MRNet, DynInst, cuda-gdb, etc. This PR looks good to me and I will take a look at the slurm job step PR soon. |


Summary
This follows up on the review suggestion in #90 to bring the Running Jobs dropdown to the local STAT GUI.
Details
opened and keeps the current selection on Refresh Jobs while that job is still running.
stat-guion the cluster and open Attach. Auto checks forsqueuefirst and falls back to Flux whensqueueis unavailable.Notes
@lee218llnl - locally this is working for me but on 2 small nodes. Curious if this works.