GEOS-5 Checkout and Build Instructions: Difference between revisions

Line 18: Line 18:
The above command is generally valid.  You ought to be able to execute it and checkout some code.  If you don't have your ''ssh keys'' setup on '''sourcemotel''' then you should be prompted for your '''sourcemotel''' password.  The assumption here is that your username on '''sourcemotel''' is the same as on the machine you are checking the code out on.  If not, modify the command like this:
The above command is generally valid.  You ought to be able to execute it and checkout some code.  If you don't have your ''ssh keys'' setup on '''sourcemotel''' then you should be prompted for your '''sourcemotel''' password.  The assumption here is that your username on '''sourcemotel''' is the same as on the machine you are checking the code out on.  If not, modify the command like this:


  % cvs -d :ext:SOURCEMOTEL_USERNAME@c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma co -r ams-GEOSdas-2_1_6-3 GEOSagcm
  % cvs -d :ext:SOURCEMOTEL_USERNAME@c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma co -r GEOSagcm-Eros_7_25 GEOSagcm


Here's a short cuts.  So that you don't have to type in the ''-d :ext:c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma'' business all the time, you can add the following lines to your, e.g., ''.cshrc'' file:
Here's a short cuts.  So that you don't have to type in the ''-d :ext:c-sourcemotel.gsfc.nasa.gov:/cvsroot/esma'' business all the time, you can add the following lines to your, e.g., ''.cshrc'' file:
Line 29: Line 29:
If you set that up, you should be able now to type in:
If you set that up, you should be able now to type in:


  % cvs co -r ams-GEOSdas-2_1_6-3 GEOSagcm
  % cvs co -r GEOSagcm-Eros_7_25 GEOSagcm


Enter your password when prompted and the code should check out.
Enter your password when prompted and the code should check out.