The Files tab
The Files tab is a file manager for a job's folder: browse it, read any file in a viewer, and download a file, a selection or the whole folder.
In short
- The Files tab lists the job's folder and its subfolders, and never goes outside it.
- Click a file to read it in a viewer that loads lines as you scroll, so a very large output opens at once.
- Download one file, a folder, a selection or the Whole folder; archives come in the formats the server has.
- Delete is offered only on your own jobs, on a server with job control on, and always asks first.
A job’s files
The Files tab: what each file in a job’s folder is, downloading a selection or the whole folder as an archive, and reading a file in the viewer.
The Files tab is a file manager for the job’s folder. You can move through its subfolders, read any file, and download what you need. Everything it does is confined to the job’s folder: it cannot go above it.
The list
At the top is the path: a folder icon with the last two parts of the job’s folder, then any
subfolder you have gone into. Click a part to go back to it. Click a folder’s name to go in;
the .. row at the top takes you up one level.
Besides the tick boxes and the buttons at the end of each row, the table has four columns:
| Column | What it shows |
|---|---|
| Name | The file or folder |
| What it is | What the job’s code uses it for |
| Size | Its size; folders show — |
| Modified | When it last changed, on the server |
What it is comes from the code’s own description of its folder. For a VASP job, for example:
| File | What it is |
|---|---|
INCAR | Calculation settings |
POSCAR | Starting geometry |
CONTCAR | Latest geometry — what a continuation starts from |
OSZICAR | One line per electronic and ionic step |
OUTCAR | Full output |
XDATCAR | Every ionic step |
Each visit reads one directory, with one listing command. The list is read when you open the tab or a folder; to see new files, open the folder again.
Reading a file
Click a file’s name to open it in the viewer. Its head shows the name, the size and the number
of lines. Lines are fetched 500 at a time as you scroll, so a 25 MB OUTCAR of 600,000 lines
opens at once and fills in as you go. The foot says how far you are, such as Showing 500 /
600000 lines — scroll for more, and end of file when you reach it.
Numbers are coloured in every file. In INCAR and KPOINTS the keys are coloured too and
comments are greyed. In other files, except logs and geometry files, text after a # is greyed
as a comment. Download in the viewer saves the file; Close or Esc closes the
viewer.
Downloading
| What | How | The file you get |
|---|---|---|
| One file | The arrow on its row | The file itself |
| One folder | The arrow on its row | An archive of it |
| A selection | Tick rows, then Download selected | One archive of them |
| Everything | Whole folder | An archive of the job’s folder |
Archives are named after what they hold: Whole folder for pt111-co-relax gives
pt111-co-relax.tar.gz when the format is tar.gz, and a selection of several items gives
pt111-co-relax-selection.tar.gz. One download takes at most 200 selected items; for more,
download the whole folder.
Archive as picks the format. It lists only what the server can make: zip, tar.gz, tar.xz,
tar.zst and tar, each only if the server has the tools for it (zip, tar, gzip, xz,
zstd).
Downloads are streamed. The server runs cat for a file, or zip or tar writing to its
output for an archive, inside the job’s folder, and HiveBoard passes the bytes straight to your
computer. Nothing is staged or written on the cluster.
Large files
A code’s description can mark some files as large; for VASP these are WAVECAR, CHGCAR and
vasprun.xml. Downloading one from its row asks first, with its size: “It is copied through
HiveBoard to this computer, which can take a while and a lot of disk.” Press Download it to
go on. Whole folder and Download selected include such files without asking.
Selecting
Each row has a box to tick; the box in the header ticks every item in the folder you are in. Ticks stay as you move between subfolders of the same job, so one selection can span several. Once something is ticked, a bar says how many, with Download selected, Clear, and Delete selected where deleting is allowed.
Deleting
Delete appears only on your own jobs, on a server where job control is on. It always asks first, listing what will go, and says it cannot be undone. It can never remove the job’s own folder or anything outside it. See Deleting files from a job’s folder.
When the folder cannot be listed
The tab says Can’t list this folder, with the reason in plain words — the folder is not there any more, or you do not have permission to read it — and Try again.
Check yourself
2 quick questions on this page. Nothing is sent anywhere.
-
Which archive formats does the Archive as menu offer?
- Only those the server has the tools for
- Always zip and tar.gz
- Whatever your own computer can open
- Only zip
Show the answer
Only those the server has the tools for HiveBoard checks which of zip, tar, gzip, xz and zstd the server has, and lists only the formats it can make.
-
Where is an archive put together when you press Whole folder?
- On the server, streamed straight to your computer
- In a temporary file on the cluster, then copied
- On hiveboard.dev
- In your browser, file by file
Show the answer
On the server, streamed straight to your computer The archive is made by zip or tar writing to its output on the server, and streamed through HiveBoard; nothing is staged on the cluster.
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.