...
** Even for those who are familiar with git, section 7 may be useful to review for how to generate ssh-keys on perlmutter**:
https://swcarpentry.github.io/git-novice/07-github.html
...
- Using your NERSC account or assigned training account, ssh onto perlmutter
- Create a github account and generate ssh keys to connect local git on perlmutter and github
- Clone E3SM model code into a local directory on perlmutter with the following commands.
mkdir ~/E3SM_code
mkdir ~/E3SM_code/master_240430
cd ~/E3SM_code/master_240430
git clone git@github.com:E3SM-Project/E3SM.git ./
**If you encounter the following error message while cloning the the repository:Cloning into ‘.'...
Warning: Permanently added ‘github.com,140.82.114.4' (ECDSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository
Then you likely haven’t or had issues setting up your ssh-keys. See the instructions above under Intro to Git or the following page: https://dhaine.github.io/2014-11-06-fmv/novice/git/05-sshkeys.html
Text editors to make code modifications
...