Quick-start guide to setting up a virtual desktop (VDI) session using the Australian Research Environment (ARE) to run the ACCESS-NRI CMIP7-Hackathon exercises.
Pre-workshop preparation
- In order to get the most out of the Hackathon, you will require a NCI account. If you do not yet have a NCI account, you can sign up on the MyNCI website.
- To run the exercises, access to specific projects on Gadi is required. To help things run as smoothly as possible on the day, please log in to the MyNCI website and join the following projects:
nf33
,xp65
,fs38
,oi10
,al33
,rr3
,rt52
,zz93
andct11
prior to attending the Hackathon. Please note it can take 1-2 days to receive membership approvals.
Open ARE/VDI on Gadi
Go to the Australian Research Environment website and login with your NCI username and password. If you don’t have an NCI account, you can sign up for one at the MyNCI website.
Start VDI App
Click on Virtual Desktop
under Featured Apps to configure a new VDI instance. This option is also available under the All Apps section at the bottom of the page and the Interactive Apps dropdown located in the top menu.
Configure VDI session
You will now be presented with the main VDI instance configuration form. Please complete only the fields below - leave all other fields blank or to their default values.
- Walltime: The number of hours the VDI instance will run. For the hackathon, please insert a walltime of
4
hours.
- Compute Size: Select
Medium (4 cpus, 18G mem)
from the dropdown menu.
- Project: Please enter
nf33
. This will allocate SU usage to the hackathon project.
- Storage: This is the list of project data storage locations required to complete the hackathon exercises. In ARE, storage locations need to be explicitly defined to access these data from within a VDI instance. Please copy and paste the following string in its entirety into the storage input field:
scratch/nf33+gdata/nf33+gdata/xp65+gdata/fs38+gdata/oi10+gdata/al33+gdata/rr3+gdata/rt52+gdata/zz93+gdata/ct11
-
Click
Advanced options ...
-
PBS flags: The
xp65
conda environment is a containerised environment that requires theSINGULARITY_OVERLAYIMAGE
environment variable to be defined. Please copy and paste the following string in its entirety into the PBS flags input field:
-v SINGULARITY_OVERLAYIMAGE=/g/data/xp65/public/apps/med_conda/envs/access-med-0.3.sqsh
- Click
Launch
to start your VDI instance.
Launch VDI session
Once you have clicked Launch
the browser will redirect to the ‘interactive sessions’ page where you will see your VDI instance details and current status which will initially look something like this:
Once the VDI instance has started (this usually takes around 30 seconds), this status window should update and look something like the following, reporting that the instance has started and the time remaining. More detailed information on the instance can be accessed by clicking the Session ID
link.
Additionally there are extra streaming performance related controls here for both Compression
and Image Quality
. Generally the default settings here work fine, but if you are having trouble you can adjust these parameters.
Click Launch VDI Desktop
. This opens the VDI instance in a new browser window where you can navigate to the location of the cloned tutorial files.
Depending on which browser you are using, a prompt can appear in the browser at VDI startup stating that ARE is requesting access to your computer clipboard. This is optional, but allowing this access can make transferring copied text and files between your computer and the VDI instance much easier!
Setup Hackathon ESMValTool environment and run recipes
To finalise the system setup, we must run the hackathon setup scripts. The setup script loads the required ESMValTool-workflow dependencies, verifies that your NCI account has access to the required projects on Gadi and that their respective storage locations are mounted, clones the CMIP7-Hackathon Github repository, and automatically runs each of the hackathon ESMValTool recipes as PBS jobs on Gadi.
To do this within VDI, from the top menu we must first open Terminal
by clicking on the small computer screen icon shown in red below:
Enter the following two commands (one after the other). The first command loads some necessary dependencies needed to run ESMValTool, and the second command loads the required ACCESS-NRI ESMValTool-workflow module.
module use /g/data/xp65/public/modules
module load esmvaltool
then finally:
check_hackathon
You will see a range of checks and processes print to the screen, which may take up to 1 minute to complete. Once you see the “YOU ARE ALL SET!!!” message, everything is setup and ready to go.