The Output tab
The Output tab shows the last 250 lines of a job's output file, read again every 15 seconds, with Find, Follow, Wrap and a Whole file view.
In short
- The Output tab shows the last 250 lines of the file the scheduler writes the job's output to, usually slurm-<job number>.out.
- It is read again every 15 seconds while the tab is open, and says when it was last read.
- Find marks matches in those lines, Follow keeps the newest line in view, Wrap wraps long lines, and Whole file opens the file from its first line.
- A folder opened on its own has no Output tab.
The Output tab shows the last lines of the job’s output file, so you can see what the program is printing without signing in to the cluster. It shows the last 250 lines and reads them again every 15 seconds while the tab is open.
Which file it shows
It shows the file the scheduler records as the job’s standard output — for Slurm, often
slurm-<job number>.out in the job’s folder. The line above the text names it and says when it
was last read, as Last lines of slurm-419122.out · read at and the time.
Once a job is old enough that the scheduler no longer records where its output went, HiveBoard
tries slurm-<job number>.out and says so: (best guess — the scheduler no longer records this
job’s log location).
A code’s own output files, such as VASP’s OUTCAR, are in the
Files tab, where the viewer opens any file.
The controls
| Control | What it does | Starts |
|---|---|---|
| Find in these lines… | Marks every match and counts them | Empty |
| Follow | Keeps the newest line in view as the file grows | On |
| Wrap | Wraps long lines | Off |
| Whole file | Opens the file from its first line | — |
Find looks in the lines on the tab, whatever their case, and says how many it found, such as 3 matches. Whole file opens the file in the same viewer as the Files tab, which loads lines as you scroll, so a long log opens at once.
How it stays current
While the tab is open, HiveBoard reads the last 250 lines again every 15 seconds, and the read at time changes. If one reading fails, the last good copy stays on screen with its time, rather than the text vanishing.
When there is nothing to show
- A job that has not started: No output yet — “This job has not started, so it has written no output.”
- An empty file: Nothing written yet, with when the job started.
- A file that cannot be read: Could not read and the reason, or No log file found when the location was a guess, with Open Files to look for it yourself.
A folder opened from the Folders page has no Output tab: no scheduler log belongs to it.
Check yourself
2 quick questions on this page. Nothing is sent anywhere.
-
Which file does the Output tab show?
- The file the scheduler writes the job's standard output to
- The code's main output file, such as OUTCAR
- HiveBoard's own connections.log
- The newest file in the job's folder
Show the answer
The file the scheduler writes the job's standard output to The tab shows the scheduler's record of where the job's output goes; a code's own output files are in the Files tab.
-
How much of the file does the tab show?
- The last 250 lines; Whole file opens all of it
- The whole file, always
- The first 250 lines
- Only the lines that changed since you last looked
Show the answer
The last 250 lines; Whole file opens all of it The tab reads the last 250 lines; Whole file opens the file in the viewer from line 1.
Try it in the app
On your own computer, with HiveBoard open. Tick them off as you go.
Related
Written for HiveBoard 0.1.7, the version on the download page. Examples use a made-up cluster (Ember) and person (zoe). Something here not what you see? Report it from the app.