cd < DIR >
svn co
https://accserv.lepp.cornell.edu/svn/<REPOS_PATH>.
To find the correct < REPOS_PATH >, use the repository web viewer. For example. to make a local copy of the bmad library, use the commands:
cd <DIR>
svn co https://accserv.lepp.cornell.edu/svn/trunk/src/g-2
This will create the directory <DIR>/g-2
svn update
cd <DIR>/g-2
mk # Produces production libraries and/or executables
Or use "mkd" instead of "mk" if you want to the debug versions of the libraries and/or executables.
Production libraries and executables are put in the directory:
<DIR>/production
and debug libraries and executables are put in:
<DIR>/debug
The executable is: g2_tracking
cp /home/dlr/.bashrc_g2 .bashrc
Before you do this you might want to rename your own .bashrc file so that it is not overwritten and then combine the two.