Browsing folders
The Folders page browses a server one directory at a time and opens any folder of yours like a job, so finished calculations stay one click away.
In short
- Folders lets you walk a server's directories and open a folder in the job pane, with its Structure and Files tabs.
- A folder's name opens it like a job; the arrow at the end of its row goes into it.
- Calculation folders carry the code's tag and the kind of calculation.
- You can only open folders you own, and HiveBoard reads one directory per request, never a whole tree.
The Folders page browses a server’s directories and opens any folder of yours the way a job opens: in the same pane, with the same Structure and Files tabs. It is how you look at a calculation that has left the queue. A finished job drops out of the queue, and later out of the scheduler’s accounting records, but its folder is still there.
Folders only reads. Browsing never writes anything on the server.
Getting there
- Folders in the top bar, or g then f.
- Folders in a server’s header in Connections, or Browse folders on the server’s right-click menu (on its chip in the top bar, or in the Connections list).
- Browse folders on the Jobs page when the queue is empty, and in the job pane when a job number cannot be found.
With one server in use, the page opens at your home folder there. With several, it starts on a list of them, each opening at your home folder. Servers that are set aside, or switched off in the Jobs page’s servers filter, are not listed.
Moving around
- Go into a folder: click the arrow at the end of its row, double-click the row, or press Enter on it.
- Go back: click any folder in the trail at the top;
~stands for your home folder. - Home goes to your home folder; Up goes up one level. At a server’s top, with several servers, Up and Servers go back to the list of servers.
- Type a path — the button at the end of the bar, or Ctrl+L (⌘+L on a Mac) — opens a box: type a full path and press Open or Enter.
When the window is wide enough, a column on the left lists the servers and Places: Home, and the folders you recently opened like a job on that server (the last eight are remembered).
Files are listed after the folders, with their size and date. To read one, open the folder and use its Files tab.
Opening a folder like a job
- Click a folder’s name: it opens in the job pane.
- Open this folder, under the listing, opens the folder you are in.
- Click elsewhere on a folder’s row to pick it. On a wide window a panel then describes it — what HiveBoard recognised in it, when it was modified, its path, and which files a folder of that code holds — with Open as a job.
The pane shows the same tabs as for a job, except Output: a folder has no scheduler log to name. Its Setup tab says it is a folder opened on its own, not a job in the queue.
A folder is not a job, so there is nothing to cancel or continue, and Cancel job, Continue and Delete are not offered for it. The server refuses them too, even with job control on.
Calculation folders stand out
A sub-folder that holds a calculation carries the code’s tag and the kind of calculation, as in the job list’s Code column. HiveBoard recognises it from the folder’s fingerprint — its file names and the top of the files that could be an input or an output (see How codes are recognised). Only sub-folders you own are looked into, and at most 60 per listing; a folder beyond that still lists and opens, without a tag until you open it. A folder nothing recognises can still be opened, for its files.
Only your own folders
Opening a folder needs you to own it. HiveBoard asks the server who owns it
(stat -c %U) and compares the answer with your login name there. Unlike a
job, there is no exception for someone else’s folder: the
foreign_job_files setting does not apply here. You can walk through a
shared parent folder, but not open a colleague’s work — the page then says
You can only open your own folders. If HiveBoard cannot confirm your
login name or the folder’s owner, it does not open the folder.
The note above the listing says the same, with your login name: “Only zoe’s own folders can be opened.”
Light on the cluster
Each listing is one directory, read in one request — never a recursive walk, which is what gets an SSH session reset on a monitored cluster. The look for calculations goes only into sub-folders you own, so browsing a shared folder does not become a burst of refused reads.
A server that waits for you to sign in is not asked at all: the page offers Sign in to Ember (with that server’s name) instead, because HiveBoard never signs in by itself.
Check yourself
2 quick questions on this page. Nothing is sent anywhere.
-
Which folders can you open like a job?
- Only folders you own on that server
- Any folder you have permission to read
- Only the folders of jobs still in the queue
- Your own and those of your highlighted users
Show the answer
Only folders you own on that server Opening a folder needs the server to say you own it; there is no exception for colleagues' folders.
-
What does the arrow at the end of a folder's row do?
- Goes into the folder
- Opens it like a job
- Downloads it as an archive
- Shows who owns it
Show the answer
Goes into the folder The arrow goes into the folder; the folder's name opens it like a job.
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.