How to get access to JASMIN:
Get a CEDA account: start.
Sign up for a JASMIN login account: login.
Create an SSH key pair: ssh-key-linux.
Upload your public key to our website: registering your ssh key.
Mail CEDA support to say that you have uploaded your public key ready for your JASMIN login account to be activated.
Logging on to JASMIN:
ssh -A -X email@example.com
To access FCM/Rose/Cylc you need to be on the
ssh jasmin-sci2.ceda.ac.uk #or jasmin-sci1.ceda.ac.uk ssh jasmin-cylcWhen you log onto the
jasmin-cylcserver you will be asked for your Met Office Science Repository Service (MOSRS) password, please enter it. If you get your password wrong try again using:
mosrs-cache-passwordto re-enter your password.
Running directly on JASMIN:
jasmin-sci2 or sci1, edit your
# Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs export PATH=$PATH:$HOME/bin HOST=$(hostname) if [[ $HOST = "jasmin-sci2.ceda.ac.uk" || $HOST = "jasmin-cylc.ceda.ac.uk" || $HOST = "jasmin-sci1.ceda.ac.uk" ]]; then # Rose/cylc on jasmin-sci & Lotus nodes export PATH=/apps/contrib/metomi/bin:$PATH fiOn
~/.bash_profilefile at the top:
# Provide access to FCM, Rose and Cylc PATH=$PATH:/apps/contrib/metomi/bin # Ensure .bashrc is sourced in login shells # (only add this if it is not already done in your .bash_profile) [[ -f ~/.bashrc ]] && . ~/.bashrcAt the bottom:
[[ $- != *i* ]] && return # Stop here if not running interactively [[ $(hostname) = "jasmin-cylc.ceda.ac.uk" ]] && . mosrs-setup-gpg-agent # Enable bash completion for Rose commands [[ -f /apps/contrib/metomi/rose/etc/rose-bash-completion ]] && . /apps/contrib/metomi/rose/etc/rose-bash-completionNow, whenever you login to
jasmin-cylcyou should be prompted for your Met Office Science Repository Service password.
A further setup for JASMIN and MOSRS requires an update to your
~/.subversion/serversfile. Please add the following:
[groups] metofficesharedrepos = code*.metoffice.gov.uk [metofficesharedrepos] # Specify your Science Repository Service user name here username = myusername store-plaintext-passwords = noCheck you
~/.metomi/rose.confand add the following if missing:
[rosie-id] prefix-default=u prefix-location.u=https://code.metoffice.gov.uk/svn/roses-u prefix-username.u=username #username is all in lower case prefix-ws.u=https://code.metoffice.gov.uk/rosie/u [rose-stem] automatic-options=SITE=jasminThis can be checked by running:
Remote running JASMIN from a desktop to get GUI's:
Helpful commands for the JASMIN with no GUI's:
tail -f ~/cylc-run/SUITE_NAME/log/suite/log#to follow the progress of a suite while it is running
rose suite-shutdown --name=SUITE_NAME -- --now#to shutdown you suite
cylc scan -c#to see what suites you have running
cylc trigger SUITE_NAME TASK_NAME:failed#to trigger failed task(s), not you can use
*within the TASK_NAME to pattern match part of the full task name to trigger multiple tasks