Icarus 1.0 Quick Start: Difference between revisions
→Setting up a Run: Don't use DSA keys |
|||
Line 70: | Line 70: | ||
== Setting up a Run == | == Setting up a Run == | ||
=== Passwordless Logins === | |||
First of all, to run jobs on the cluster you will need to set up passwordless <code>ssh</code> (which operates within the cluster, between the nodes running the job). To do so, run the following from your '''discover''' home directory: | First of all, to run jobs on the cluster you will need to set up passwordless <code>ssh</code> (which operates within the cluster, between the nodes running the job). To do so, run the following from your '''discover''' home directory: | ||
cd .ssh | cd .ssh | ||
ssh-keygen -t | ssh-keygen -t rsa | ||
cat | cat id_rsa.pub >> authorized_keys | ||
Similarly, transferring the daily output files (in monthly tarballs) requires passwordless authentication from '''discover''' to '''dirac'''. While in <code>~/.ssh</code> on '''discover''', run | Similarly, transferring the daily output files (in monthly tarballs) requires passwordless authentication from '''discover''' to '''dirac'''. While in <code>~/.ssh</code> on '''discover''', run | ||
ssh-keygen -t | ssh-keygen -t rsa | ||
Then, log into '''dirac''' and cut and paste the contents of the <code>id_rsa.pub</code> file on '''discover''' into the <code>~/.ssh/authorized_keys</code> file on '''dirac'''. Problems with <code>ssh</code> should be referred to NCCS support. | |||
==== DSA Keys ==== | |||
Note: Due to evolution of security, it is recommended to not use DSA keys. NAS currently doesn't not allow them, and RSA and ED25519 keys are considered "better" anyway. | |||
=== Setting up a model run === | |||
To set the model up to run, cd to <code>GEOSagcm/src/Applications/GEOSgcm_App</code> and run: | To set the model up to run, cd to <code>GEOSagcm/src/Applications/GEOSgcm_App</code> and run: |