fleimgruber

Results 167 comments of fleimgruber

Thanks for mentioning, a good idea! I tried debugging in VS Code which tells me to install LLDB extensions. After that LLDB fails with version `GLIBC_2.18' not found. Slurm is...

In the meantime, I would try "printf-debugging", but written to a file because stdout will be drawn with TUI main loop already. I have this template: ```rust let path =...

For me it only works with ```rust let cmd = Command::new("squeue") .args(&self.squeue_args) .arg("--array") .arg("--noheader") .arg("--Format") .arg(&output_format) .output(); println!("{:?}", cmd); ``` which prints a string with the expected comma-separated fields.

Ok, I could further narrow it down to this check: https://github.com/kabouzeid/turm/blob/f104c7c646880f3881a99fa183ce5165cbf8c5b3/src/job_watcher.rs#L67 which always evaluates to `true` so it always returns None and never the `Job`.

And the actual cause I think is that: https://github.com/kabouzeid/turm/blob/f104c7c646880f3881a99fa183ce5165cbf8c5b3/src/job_watcher.rs#L65 does not split at `###turm###` because it is not included in the output of `squeue`. It seems that the expectation with...

So as mentioned in OP, it actually is a compatibility issue with Slurm 18.08. Do you see another way to do the string post-processing? E.g. split on a tab or...

I went ahead and implemented my suggested approach from https://github.com/kabouzeid/turm/issues/17#issuecomment-1768644298 in #20