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 dsa
  ssh-keygen -t rsa
  cat id_dsa.pub >>  authorized_keys
  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 dsa
   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.


Then, log into  '''dirac''' and cut and paste the contents of the <code>id_rsa.pub</code> and <code>id_dsa.pub</code> files on '''discover''' into the  <code>~/.ssh/authorized_keys</code> file on  '''dirac'''.  Problems with <code>ssh</code> should be referred to NCCS support.
=== 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: