Accessing code for Programming Lab #3 (CSE 260, Winter 2014)

Getting access to the starter code

We've provided you with serial starter code that implements the particle simulation.

As in the previous assignment, check out the starter code from the SVN repository residing on Bang.

  1. Check out the provided code from within your home directory on either Bang or Carver. To do this, you'll need a password, which will be sent to you after you've filled out the Google form mentioned in the Moodle forum (Only groups that changed need to fill out this form):
    svn co --username your_AD svn://ccom-bang-login.ucsd.edu/SVN/A3/Provided
    

    where your_AD is your active directory login ID.

  2. Next, check out your development repository directory (Your group ID will also have been mailed to along with your repository password)
    svn co svn://ccom-bang-login.ucsd.edu/SVN/A3/Turnin/YOUR_GROUP_ID Turnin
    
  3. Add the provided code to your development repository. (Do not add the provided multicore code as you will be running that code but not modifying it). This task will be performed only once and should be done by one team member.
    cp Provided/* Turnin
    cd ./Turnin
    svn add *
    svn commit -m "import the provided code"
    

To avoid having inconsistent copies different machines make sure that you keep your repository up to date before you log out or interrupt a login session. You can check on the status of your files with the svn status command. Commit any file with the 'M' tag (modified but not committed). Similarly, do not to forget to do an svn update to ensure you have the most recent changes you made on another machine, or that a teammate made.

The provided Makefile sets up the appropriate flags for the compiler via an included "arch" file located in $(PUB)/Arch/arch.gnu-4.7_c++11.generic.

The Makefile produces a target called nbody. Do not change the name of this target as our tester relies on it.

You may specify various command line flags on the make command line, or, alternatively, you may specify them in the Makefile. We've added commented out lines that enable you to do this. The options are as follows.


Scott B. Baden Fri   [Sun Mar 2 12:49:24 PST 2014]