Icarus 3.3 Quick Start: Difference between revisions
→Using the NCCS progress CVS code repository: Updates for new NCCS web structure |
→CVS Errors: Add permission error section |
||
(2 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
$ cd $HOME/.ssh | $ cd $HOME/.ssh | ||
$ ssh-keygen -t rsa | $ ssh-keygen -o -a 100 -b 3072 -t rsa | ||
The commands below assume that your shell is <code>csh</code>. Since the scripts to build and run GEOS-5 tend to be written in the same, you shouldn't bother trying to import too much into an alternative shell. If you prefer a different shell, it is easiest just to open a <code>csh</code> process to build the model and your experiment. | The commands below assume that your shell is <code>csh</code>. Since the scripts to build and run GEOS-5 tend to be written in the same, you shouldn't bother trying to import too much into an alternative shell. If you prefer a different shell, it is easiest just to open a <code>csh</code> process to build the model and your experiment. | ||
Line 37: | Line 37: | ||
==== CVS Errors ==== | ==== CVS Errors ==== | ||
If the CVS checkout doesn't work for you, there are many possibilities. If the error says something about "keyupload", then the key upload either hasn't taken hold yet (can take 5-10 minutes to work after uploading the key), or, perhaps, the wrong key was uploaded. | If the CVS checkout doesn't work for you, there are many possibilities. | ||
===== Keyupload ===== | |||
If the error says something about "keyupload", then the key upload either hasn't taken hold yet (can take 5-10 minutes to work after uploading the key), or, perhaps, the wrong key was uploaded. | |||
===== Access denied for this host ===== | |||
If you see something like "access denied for this host", then your best bet is to contact NCCS. Per a response from NCCS to a user that had something similar happen, they need to add the CVS hosts to an LDAP entry. | If you see something like "access denied for this host", then your best bet is to contact NCCS. Per a response from NCCS to a user that had something similar happen, they need to add the CVS hosts to an LDAP entry. | ||
===== Failed to create lock/permission denied ===== | |||
If you see something like: | |||
cvs checkout: failed to create lock directory for `/cvsroot/esma/CVSROOT' (/cvsroot/esma/CVSROOT/#cvs.history.lock): Permission denied | |||
cvs checkout: failed to obtain history lock in repository `/cvsroot/esma' | |||
cvs checkout: Updating src | |||
cvs checkout: failed to create lock directory for `/cvsroot/esma/esma/src/Applications/GEOSdas' (/cvsroot/esma/esma/src/Applications/GEOSdas/#cvs.lock): Permission denied | |||
cvs checkout: failed to obtain dir lock in repository `/cvsroot/esma/esma/src/Applications/GEOSdas' | |||
cvs [checkout aborted]: read lock failed - giving up | |||
this means you don't have a home directory on progress. Try doing: | |||
$ ssh progress.nccs.nasa.gov | |||
You'll enter your PASSCODE and password and then it'll seem like the terminal is "stuck". Just hit Ctrl-C. Now try the CVS command again. | |||
=== Compiling the Model === | === Compiling the Model === | ||
Line 73: | Line 96: | ||
This will build the model. It will take about 30 minutes. If this works, it should create a directory under <code>GEOSagcm</code> called <code>Linux/bin</code>. In here you should find the executable: <code>GEOSgcm.x</code> . | This will build the model. It will take about 30 minutes. If this works, it should create a directory under <code>GEOSagcm</code> called <code>Linux/bin</code>. In here you should find the executable: <code>GEOSgcm.x</code> . | ||
== Setting up a Run == | == Setting up a Run == |