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 darkphoton directory tree, use the commands:
cd <DIR>
svn co https://accserv.lepp.cornell.edu/svn/trunk/src/darkphoton
This will create the directory <DIR>/darkphoton
svn update
cd <DIR>/darkphoton
mk # Produces production libraries and/or executables
Or use "mkd" instead of "mk" if you want to create the debug versions of the libraries and/or executables.
Production libraries and executables are put in the directory:
<DIR>/production/bin
and debug libraries and executables are put in:
<DIR>/debug/bin
ramp_test: The most complete executable(for analyzing acceleration and extraction from the synchrotron)
toy: Is a useful tool for experimenting with BMAD commands and learning about beam optics
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.