Difference between revisions of "Accessdev"
Line 19: | Line 19: | ||
== UM 10+ / ACCESS 2 (Rose + Cylc) == | == UM 10+ / ACCESS 2 (Rose + Cylc) == | ||
− | 1. | + | 1. '''Join the ACCESS group''' |
− | 2. Setup a GPG password cache | + | Go to https://my.nci.org.au/mancini/project/access/join and follow the instructions there |
+ | |||
+ | 2. '''Request a [[MOSRS]] account''' | ||
+ | |||
+ | Email cws_help@nci.org.au and ask for a MOSRS account | ||
+ | |||
+ | 3. '''Setup a GPG password cache''' | ||
On Acessdev run | On Acessdev run | ||
Line 28: | Line 34: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
to setup a GPG agent (a program that stores your passwords) | to setup a GPG agent (a program that stores your passwords) | ||
+ | |||
+ | 4. '''Run 'mosrs-auth' ''' | ||
Then log out and back in again, and run | Then log out and back in again, and run | ||
Line 33: | Line 41: | ||
mosrs-auth | mosrs-auth | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | to save your password into the agent. | + | to save your MOSRS password into the agent. The password will be saved for 24 hours, so you'll need to run it again each day, however it's generally only required to check out a new configuration, not to run one that's already downloaded. |
− | + | 5. '''Setup SSH connections''' | |
To be able to see the status of jobs Rose+Cylc needs to be able to SSH to and from Gadi | To be able to see the status of jobs Rose+Cylc needs to be able to SSH to and from Gadi | ||
− | + | Run the script '/g/data/hh5/public/apps/nci_scripts/accessdev-gadi-setup' on accessdev to have this set up automatically for you | |
+ | |||
+ | == UM 7 & 8 / ACCESS 1 (UMUI) == | ||
+ | |||
+ | 1. '''Join the ACCESS group''' | ||
+ | |||
+ | Go to https://my.nci.org.au/mancini/project/access/join and follow the instructions there | ||
+ | |||
+ | 2. '''Setup a GPG password cache''' | ||
+ | |||
+ | If you have a [[MOSRS]] account then simply run the command 'mosrs-setup' | ||
+ | |||
+ | Otherwise, add the following to the end of the file '~/.bash_profile': | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | [ -f ~/.gpg-agent-info ] && source ~/.gpg-agent-info | ||
+ | if [ -S "${GPG_AGENT_INFO%%:*}" ]; then | ||
+ | export GPG_AGENT_INFO | ||
+ | else | ||
+ | eval $( gpg-agent --daemon --allow-preset-passphrase --batch --max-cache-ttl 43200 --write-env-file ~/.gpg-agent-info ) | ||
+ | fi | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | 3. '''Run 'access-auth' ''' | ||
+ | |||
+ | Log out and back in again, and run | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | access-auth | ||
+ | </syntaxhighlight> | ||
+ | to save your NCI password into the agent. The password will be saved for 24 hours, so you'll need to run it again each day, however it's generally only required to check out the model source code, so only when you're building the model. | ||
+ | |||
+ | 4. '''Setup SSH connections''' | ||
+ | |||
+ | To be able to submit jobs UMUI needs to be able to SSH to Gadi | ||
+ | |||
+ | Run the script '/g/data/hh5/public/apps/nci_scripts/accessdev-gadi-setup' on accessdev to have this set up automatically for you | ||
[[Job submission troubleshooting]] | [[Job submission troubleshooting]] | ||
[[Category: Unified Model]] | [[Category: Unified Model]] |
Revision as of 00:43, 23 January 2020
https://accessdev.nci.org.au (Accessdev) is the control server for submitting UM jobs
Contents
Getting Connected
To connect to Accessdev you will need to be a member of the NCI ACCESS group.
You can then connect to Accessdev with
ssh USER@accessdev.nci.org.au
replacing USER with your own NCI username.
Getting Set Up
There are different setup requirements depending on if you are wanting to run newer versions of the UM or the CMIP5-era ACCESS 1 models
UM 10+ / ACCESS 2 (Rose + Cylc)
1. Join the ACCESS group
Go to https://my.nci.org.au/mancini/project/access/join and follow the instructions there
2. Request a MOSRS account
Email cws_help@nci.org.au and ask for a MOSRS account
3. Setup a GPG password cache
On Acessdev run
mosrs-setup
to setup a GPG agent (a program that stores your passwords)
4. Run 'mosrs-auth'
Then log out and back in again, and run
mosrs-auth
to save your MOSRS password into the agent. The password will be saved for 24 hours, so you'll need to run it again each day, however it's generally only required to check out a new configuration, not to run one that's already downloaded.
5. Setup SSH connections
To be able to see the status of jobs Rose+Cylc needs to be able to SSH to and from Gadi
Run the script '/g/data/hh5/public/apps/nci_scripts/accessdev-gadi-setup' on accessdev to have this set up automatically for you
UM 7 & 8 / ACCESS 1 (UMUI)
1. Join the ACCESS group
Go to https://my.nci.org.au/mancini/project/access/join and follow the instructions there
2. Setup a GPG password cache
If you have a MOSRS account then simply run the command 'mosrs-setup'
Otherwise, add the following to the end of the file '~/.bash_profile':
[ -f ~/.gpg-agent-info ] && source ~/.gpg-agent-info
if [ -S "${GPG_AGENT_INFO%%:*}" ]; then
export GPG_AGENT_INFO
else
eval $( gpg-agent --daemon --allow-preset-passphrase --batch --max-cache-ttl 43200 --write-env-file ~/.gpg-agent-info )
fi
3. Run 'access-auth'
Log out and back in again, and run
access-auth
to save your NCI password into the agent. The password will be saved for 24 hours, so you'll need to run it again each day, however it's generally only required to check out the model source code, so only when you're building the model.
4. Setup SSH connections
To be able to submit jobs UMUI needs to be able to SSH to Gadi
Run the script '/g/data/hh5/public/apps/nci_scripts/accessdev-gadi-setup' on accessdev to have this set up automatically for you