Skip to content

Portal: sessions

Portal is your desk on the CANFAR science platform: the platform's load, your storage, your sessions (Jupyter notebooks, desktops, CARTA, Firefly, and contributed applications), the images they run, and your batch jobs. It needs you to be signed in. Open it from its Home tile, or Go ▸ Portal (⌘5).

Portal

  1. Platform Load: how loaded CANFAR's CPUs, memory and GPUs are now.
  2. Launch Session: the launch form.
  3. Open: a running session, in your browser.
  4. Renew: extends a session's lifetime.
  5. Events: what the platform did with the session, and its logs.
  6. Delete: stops the session and deletes it.
  7. Canfar Images: the images you can launch.
  8. Recent Launches: what you launched before, to launch again.

The cards at the top

Each card has the same reload button at its top right. It turns into a small spinner while the card reloads, and its foot says when the card was last updated, such as Updated 16:04:05. While a card reloads, its figures stay, dimmed, and nothing on it moves. With Reduce motion on (System Settings ▸ Accessibility ▸ Display), nothing spins or runs.

  • Platform Load: three rings, CPU, RAM and GPU, each with how much of it is in use inside, such as 39%, and below how much is free, such as 1,836 of 3,000 cores free. A ring turns orange above 70% and red above 90%. GPU stays grey, with Not reported, until CANFAR reports its GPUs; it fills in by itself at the next refresh once CANFAR does. While it refreshes, each ring spins, with a small spinner in place of its percentage. Below the rings, how many instances run.
  • Storage: how much of your VOSpace quota you use, as a bar and as Used, Usage and Quota. It warns Storage nearly full. Its reload button reads the quota again, after an upload or a delete: the bar runs back to the start, then fills to your usage when the answer comes. See Storage.
  • Batch Jobs: how many of your jobs are running, pending, completed or failed, refreshed every 45 seconds; its foot says when the next one is (· next in 32 s). Jobs & History… opens them: see Batch jobs.

When a card cannot load, it says why, with Try Again and a button that copies the message; what it showed before stays.

Your sessions

Active Sessions lists your sessions, refreshed by itself (it counts down to the next refresh), or now with its refresh button. Each card shows:

  • the session's name, its image, and its status (pending, running, failed…). A session ends at its expiry time; CANFAR then lists it as failed until it is deleted, and its card says Expired;
  • when it started and when it expires;
  • its CPU and RAM, and GPU when it has one: what it was given, or, for a flexible session (FLEX), what it is using now (in use).

Its buttons:

  • Open opens the session in your browser.
  • Renew extends its lifetime.
  • Events shows Events / Logs: the platform's events for the session (scheduling, pulling the image, errors), and the container's Logs, with Copy.
  • Delete stops the session and deletes it, after asking. Unsaved work in it is lost. A session that has ended (expired, failed or completed) holds no work: deleting it only clears its card.

Verbinal sends a notification when a session you launched is ready, or fails to start.

Events / Logs

Launching a session

The launch form

  1. Click Launch Session.
  2. Session Type: Notebook, Desktop, CARTA, Firefly or Contributed.
  3. Project and Container Image: the image to run. A long list opens with a Search field to narrow it.
  4. Session Name: Verbinal suggests one; the button beside it suggests another.
  5. Resources: Flexible, where CANFAR gives the session what it can, or Fixed, where you choose the CPU Cores and the RAM (GB). Use a GPU asks for one GPU for the session, and makes the resources Fixed; it is greyed while CANFAR offers no GPUs.
  6. Click Launch Session.

A progress window follows the launch and closes by itself when the session is running; the session then appears in Active Sessions. If it fails, the window says why.

  • The star beside a field makes its value your default for the next launch (Set as default …); click it again to clear it. Settings ▸ Portal has the same defaults.
  • The form says when the list of images was fetched (Images cached …); Refresh fetches it again.
  • The magnifying glass beside Container Image opens Image Discovery, to find an image by what it has installed.
  • If a launch would replace an entry of Recent Launches with the same name, Verbinal asks: Replace or Skip.
  • From the keyboard: ⌃⇥ goes to the form's next tab (Standard, Advanced, Headless), and ⌃⇧⇥ to the one before, from any field. Tab moves between the text fields. To reach every control with Tab, the menus, buttons and checkboxes too, turn on Keyboard navigation in System Settings ▸ Keyboard, as for every Mac app.

A custom image

The Advanced tab

The Advanced tab launches an image by its full name: the Container Image URL, and, for a private image, its Registry Authentication (optional) (Username and Secret). Its resources are those of the Standard tab, but for GPUs: with Fixed, its GPUs count runs through the counts CANFAR offers, as for a batch job, where Standard has Use a GPU. It is greyed while CANFAR offers none. Then Launch (Custom Image).

The Headless tab launches batch jobs: see Batch jobs.

Images

The Canfar Images card lists the images you can launch, by session type: the chips at the top (Default, Popular, Added, then each type) filter them, with how many each holds, and Filter… finds one by name.

  • The reload button at the top right fetches the catalogue again. When it cannot be loaded, the card says why at the bottom, with Try Again, and keeps showing the images it had.
  • A star marks your default image for that session type, and a clock one you launched recently.
  • The buttons on a row use the image in the launch form, or show what it has installed.
  • The count at the top right (… of … discovered) and More Inspection… open Image Discovery; Find in Registry… adds an image the catalogue does not list.

Recent launches

Recent Launches keeps what you launched: name, type, image, resources and date. Relaunch launches it again as it was; Remove removes it from the list; Filter… finds one; Clear empties the list.

What an assistant can do here

It can read the platform load, your sessions and their events and logs, the images and your recent launches; open the launch form and fill it; launch, renew and open sessions; and delete them, which waits for you unless you allowed it. Deleting a session that has already ended, such as an expired one, applies at once: it stops no work. It can remove a launch from Recent Launches, or empty the list, and clear the image list kept on this Mac (Settings ▸ Portal ▸ Clear Cache); each is a kind of change you set. It launches only with an image from the list.