Cylc 8 GUI on Puma

I note that the GUI for cylc 7 has been replaced with a web-UI for cylc 8, though with no rose-edit replacement (Cylc 8.6 Caveats — Cylc 8.6.0 documentation).

To use a web-based UI there are some instructions for port-forwarding (Cylc 8 on PUMA2 and ARCHER2). Is this possible for puma, given we access this via the archer2 login node? If so has anyone done this, and would be willing to share the steps here?

Hi Doug,

Yes, those instructions work for using the cylc GUI on PUMA2. However, we’re actually just in the process of updating some of these pages and the Cylc GUI on PUMA2 section is one of them to update to make more user friendly.

Please try the following:

Setup ~/.ssh/config file on your local desktop:

# PUMA2 
Host puma2
User <username> 
IdentityFile ~/.ssh/<your-archer-ssh-key>
ProxyJump archer2 

# ARCHER2 
Host archer2 
Hostname login.archer2.ac.uk 
IdentityFile ~/.ssh/<your-archer-ssh-key>
ForwardX11 No 
ControlMaster auto 
ControlPath /tmp/ssh-socket-%r@%h-%p 
ControlPersist yes

What we’re aiming for here is to be able to type ssh puma2 on your local machine and land direct on PUMA2.
Then setup an alias on your local machine:

alias puma-ui='PORT=$(jot -r 1 10000 65000); ssh -t -L ${PORT}:localhost:${PORT} puma2 "bash -l -c \"export CYLC_VERSION=8; cylc gui --no-browser --Application.log_level=WARN --port-retries=0 --port=${PORT}\""'

I have a mac so use jot as my random number chooser, but you may need to use something else eg. shuf
Once that’s all set up you just run puma-ui and then cut and past the resulting URL into your local web browser.

Cheers,
Ros.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.